Home Forums Chart Support Spline tension

Spline tension

Viewing 6 posts - 1 through 6 (of 6 total)
  • #23829

    Hello,

    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 ?

    Thanks,

    #23843

    @laurentt10,

    We don’t have this feature as of now but we may consider this in future releases.

    __
    Shashi Ranjan
    Team CanvasJS

    #23904

    Hi,

    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)

    Thanks,

    #23907

    @laurentt10,

    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.

    __
    Shashi Ranjan
    Team CanvasJS

    #23950

    Hello,

    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 ?

    Thanks,

    #23953

    @laurentt10,

    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.

    __
    Shashi Ranjan
    Team CanvasJS

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.