Home › forums › Using CanvasJS › How to remove data labels from Graph?
Tagged: remove data lables
This topic contains 4 replies, has 3 voices, and was last updated by arjunsonik 2 years ago.
Can anyone please tell how to remove data labels from graphs??
For removing labels from axis you can set valueFormatString as a white-space character. In case you are looking for something else a pictorial representation will help us to understand better.
I am using Doughnut chart, and i am not able to remove the data legends.
I used the same you specified but it did not work.
Here is an example for pie/doughnut charts without indexLabels. If your requirement is not to show legends, you can set showInLegend to false (defaults to false),if you have set it to true.
If this doesn’t fulfill your requirement, pictorial representation would help us to understand and help you out.
I removed the second parameter giving the legend text, which was my requirement.
Thanks @sanjoy and @vishwasr
You must be logged in to reply to this topic.