Prevent data label in JavaScript Chart control
18 Nov 20181 minute to read
To prevent the chart data label when the data value is 0, follow the given steps:
Step 1:
Get the point value and check whether the args.point.y value is zero or not by using the textRender event. If the value is zero, then set the args.cancel to true.
The output will appear as follows,