pissang edited a comment on pull request #13314:
URL: 
https://github.com/apache/incubator-echarts/pull/13314#issuecomment-695879944


   https://echarts-bench-from-uplot.glitch.me/uplot-smoothing.html
   
   I tried it and seems a bit different from my Catmull-Rom spline 
implementation. Haven't dig into it and not sure if it's because I draw the 
spline with interpolated points and yours are bezier curves.
   
   But it looks similar to our original bezier curve implementation without 
limiting min, max value. The problem is the curve will exceed the extremes. For 
example under the 0 baseline or exceed the max value(if the max value has some 
meaning like 100 percent. 
   
   
![image](https://user-images.githubusercontent.com/841551/93729676-1cb05200-fbf8-11ea-869b-f46e90dda42a.png)
   
   If we limiting the curve between global min, max extremes.
   
https://echarts-bench-from-uplot.glitch.me/uplot-smoothing-limit-extrema.html  
   
   It's becomes almost the same as the result in this PR before optimization.
   
   
![image](https://user-images.githubusercontent.com/841551/93729893-e9ba8e00-fbf8-11ea-8723-4e41fd0dab09.png)
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to