Example of HTML Highcharts donut chart without inner pie

HighchartsWeb DevelopmentFront End ScriptsJavascript

Provide the data as an array of two-element arrays. Set the innerSize and get the donut style.

The parameters would have −

...
data: [["Audi",4],["Benz",6],["Jaguar",9]],
innerSize: '30%',
...

The code snippet to set size −

series: [{
   name: Cars,
   data: [["Audi",4],["Benz",6],["Jaquar",9]],
   size: '50%',
   innerSize: '30%',
   showInLegend:true,
   dataLabels: {
      enabled: false
   }
}]
raja
Published on 05-Apr-2018 13:54:00
Advertisements