radius property allows you to set the Pie/Doughnut chart’s (outer) radius. Value can either be in pixels (number – ex: 100) or percent (string – ex: “80%”). Percent values are relative to the plot area’s size. By default, a pie/doughnut chart’s size(radius) changes in order to best fit the indexLabels. This can lead to charts of different sizes in the same page. In order to override this behavior and set equal sizes to all pie/doughnut charts in a page, you can use radius property.
var chart = new CanvasJS.Chart("container", { . . data: [{ type: "pie", radius: "90%", }, ] . . }); chart.render();
Also See:
Server Side Technologies |
Front End Technologies |
Contact |
|
---|---|---|---|
ASP.NET MVC Charts | JavaScript Charts | FAQs | |
PHP Charts | jQuery Charts | Sales Enquiries | |
Spring MVC Charts | React Charts | Support Forum | |
JSP Charts | Angular Charts | Careers | |
JavaScript StockCharts | |||
Privacy Policy © fenopix