var chart = new CanvasJS.Chart("container", { . . data:[{ type : "pie", indexLabelMaxWidth: 20, indexLabelWrap: true // change to false }, ] . . }); chart.render();
Also See:
Comments 2
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
can i show label under y value ? Here 34kg under mango is right.. But the ‘mango’ will be change ‘pineapple’ means it is displaying wrong.
amutha,
Purpose of indexLabelMaxWidth is to limit the maximum width of a label and not to insert a line break. In order to get the requested behaviour you’ll need line break characters which are not supported yet.