Home › forums › Using CanvasJS › Spline tension
This topic contains 5 replies, has 2 voices, and was last updated by Shashi Ranjan 7 months, 1 week ago.
I’d like to change the way spline are curved (i want them less smoothed), but I didn’t find a parameter for that.
Is it possible ?
We don’t have this feature as of now but we may consider this in future releases.
Is it something I can update by myself with the Single Developer License and source code provided ?
Sometimes splines show “falses values” (over 33° here) : https://jsfiddle.net/mbz8pnxy/
We are looking for something more like http://jsfiddle.net/9nuL2qhk/ (same datas, other chart engine)
Yes, it is possible to achieve the above requirement by editing the source code. Once you have purchased the license please let us know and we will help you out with editing the source code.
We have a licence now, and the source code.
I tried to change spline defaultTension from 2 to 4, it’s better but not really perfect.
defaultTension 2 :
defaultTension 4 :
We are showing percentages so the curve must not exceed the value of 100 …
Having something good is probably more difficult than just changing defaultTension value.
Any tips ?
You can try editing the function renderBezier() in the source code with few combinations. We are also trying it at our end, once we get an appropriate solution we will get back to you.
You must be logged in to reply to this topic.