Sep 30, 2021, 11:09 AM
Pie chart: any build-in feature besides using AngleField for the description and the figure shown in the chart
Hello,
I have already created the Pie Chart using the SQLDatabaseSource as datasource, however, I am not familiar with the Piechart or other charts that can add other fields on the chart, Just like the screenshot below, I have use AngleField to display the department name already, but
1) I want to use if any build-in field or custom method to display the figures or/and the % on the chart, no need to use Tooltip to mouseover on the region of the Pie Chart.
2) Also, if the AngleField (department name) too long, how to configure to break into two lines and align center or even point outside of the Pie Chart if the potion is too small.
I tried to merge two data fields (department name and figure) as one on the SQLDataSource, however, I don't want to show the figures on the legend, only need to show the department name.
3) More, if i have the sum of total figures on SQL Datasource, but how to display on the center of the piechart (donut)? Or if you can suggest use the client javascript to sum up the total figures but just want to display the total sum on the Pie Chart center.
I have checked on the examples but still not many examples to illustrate the attributes or detail references.
Thanks for answering my question.
I have already created the Pie Chart using the SQLDatabaseSource as datasource, however, I am not familiar with the Piechart or other charts that can add other fields on the chart, Just like the screenshot below, I have use AngleField to display the department name already, but
1) I want to use if any build-in field or custom method to display the figures or/and the % on the chart, no need to use Tooltip to mouseover on the region of the Pie Chart.
2) Also, if the AngleField (department name) too long, how to configure to break into two lines and align center or even point outside of the Pie Chart if the potion is too small.
I tried to merge two data fields (department name and figure) as one on the SQLDataSource, however, I don't want to show the figures on the legend, only need to show the department name.
3) More, if i have the sum of total figures on SQL Datasource, but how to display on the center of the piechart (donut)? Or if you can suggest use the client javascript to sum up the total figures but just want to display the total sum on the Pie Chart center.
I have checked on the examples but still not many examples to illustrate the attributes or detail references.
Thanks for answering my question.
Last edited by josephmkchan; Sep 30, 2021 at 11:13 AM.