Home forums Feature Requests & Feedback Change part of the colored area in splineArea chart

This topic contains 4 replies, has 2 voices, and was last updated by  jproduction 5 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #11418

    jproduction
    Member

    Hi i have a chart in which i have drew a splineArea. But when the values of the y-axis is negative the colored area is only between the curve of the chart and the y-axis=0. I would like that the part colored is always under the curve of the chart, even if the values are negative.
    Thanks.

    #11420

    Vishwas R
    Keymaster

    Sorry this feature is not available, as of now.

    #11422

    jproduction
    Member

    And if i change some things in canvasjs.min.js?

    #11428

    Vishwas R
    Keymaster

    You can use Range Spline Area chart along with minimum to do so, check this example. And also you can change the code in our library (canvasjs.js), you can look into renderRangeSplineArea to modify Spline-Area chart.

    #11495

    jproduction
    Member

    But is there an automatic way to do it? To color the spline area only when exceed to a y value.

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

You must be logged in to reply to this topic.