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 2 years, 2 months ago.
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.
Sorry this feature is not available, as of now.
And if i change some things in canvasjs.min.js?
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.
But is there an automatic way to do it? To color the spline area only when exceed to a y value.
You must be logged in to reply to this topic.