Home › Forums › Chart Support › Pie chart, add text in the middle? › Reply To: Pie chart, add text in the middle?
@crystalcode,
You can use title or subtitles to display text at center of the chart by setting its property verticalAlign to “center” and dockInsidePlotArea to true. Below is the code snippet for the same.
title:{ text: "Doughnut Chart", verticalAlign: "center", dockInsidePlotArea: true },
Please take a look at this JSFiddle for complete code.
____ Shashi Ranjan Team CanvasJS