Home Forums Chart Support Using multiple value from json to create Pie Chart Reply To: Using multiple value from json to create Pie Chart

#23610

@joejoejoe,

Number of slices (data points) in the pie chart are based on the number of dataPoints that you pass. Passing just ‘Percentbelum and Percentsudah’ in the chart-options should work fine in your case. Please take a look at gallery example on Rendering Chart in PHP with Data from database.

If this doesn’t help you fulfill your requirements, kindly share sample project with sample database over Google-Drive or Onedrive, so that we can look into it and help you out.


Vishwas R
Team CanvasJS