Home › forums › Using CanvasJS › Spline chart line out of chart area issue
Tagged: Spline chart
This topic contains 3 replies, has 2 voices, and was last updated by avishka 1 year, 1 month ago.
My question is about this issue. Was this fixed where you don’t have to use the workaround?
As of now, the only available option to make the complete spline chart visible when the data include zero as y-values, is to set the axisY minimum and maximum accordingly as shown in the workaround. However, we will reconsider this use-case for our future releases.
Priyanka M S
Thank you very much for getting back @priyanka.
I am currently generating the maximum height dynamically based on the maximum value in the data. However this workaround causes a slight issue when displaying many types of data in the same chart. Usually by clicking on the legends you can isolate one or few types of data and the height would adjust automatically based on what is being shown. This is incredibly useful, when you have smaller data points which cannot be observed as accurately when larger data points are being show in the chart. This feature is lost because I am hard-coding the height.
I certainly would like to hear from the team once this has been dealt with.
Thank you again,
The previous post didn’t get posted properly before.
Sorry about the two replies.
You must be logged in to reply to this topic.