Home › forums › Using CanvasJS › Doughnut chart
Tagged: Doughnut chart
How can i show all count at center of doughnut chart?
You can use title to display the total value. Setting the align property of title to center will display the title at the center of the doughnut.
Please take a look at this jsfiddle.
thanks Indranil Deo
error: Cannot read property ‘set’ of undefined @indranil
The error was being thrown as the set method was being used on title without defining it in chart options.
Please take a look at this updated jsfiddle. Also, please take a look at set property for more information.
@indranil. Thanks! Problem was in, i used old version of canvas.js.
You must be logged in to reply to this topic.