Please take a look at this jsfiddle.
Similarly, you can position any custom DOM on top of the chart. Please take a look at the tutorial on positioning images on top of chart.
__
Priyanka M S
Team CanvasJS
Can you please share a sample project over google-drive or one-drive reproducing the issue you are facing, so that we can look into your code, understand the scenario better and help you out?
__
Priyanka M S
Team CanvasJS
We are looking into it and will get back to you at the earliest.
__
Priyanka M S
Team CanvasJS
Please take a look at this example in our gallery on dynamic updating of chart and legend text.
If this doesn’t solve your requirement, can you kindly share a jsfiddle or sample project(share over google-drive or one-drive) reproducing the issue you are facing, so that we can look into your code, understand the scenario better and help you out?
__
Priyanka M S
Team CanvasJS
Sorry for the delay!
The behavior of showing indexLabel beneath the graph for negative values is intentional, in order to avoid the overlapping of labels when there are too many dataPoints with negative and positive y-values and hence increase the readability.
__
Priyanka M S
Team CanvasJS
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
Team CanvasJS
minimum property sets the minimum of the axis i.e. values smaller than the minimum will be clipped and can’t be panned. viewportMinimum allows you to set the minimum of the viewport (the visible range of the axis)and zoom into a region programmatically. In both the instances, only a certain region of the chart is made visible and rendered. And hence there shouldn’t be performance impact.
__
Priyanka M S
Team CanvasJS
valueFormatString defines how values must be formatted before they appear on axisX, only. To format x-value and y-value that appear in toolTip or indexLabel, you can use xValueFormatString or yValueFormatString respectively.
__
Priyanka M S
Team CanvasJS
We are looking into it and will get back to you at the earliest.
__
Priyanka M S
Team CanvasJS
Can you kindly share a sample project over google-drive or one-drive reproducing the issue you are facing, so that we can look into your code, understand it better and help you out?
__
Priyanka M S
Team CanvasJS
Thanks for reporting. We will reconsider this behavior in our future releases.
__
Priyanka M S
Team CanvasJS
Please take a look at this sample project in react. However, you can try improvising it further.
__
Priyanka M S
Team CanvasJS