Hi
I have a requirement to display a total in the center of a doughnut chart. I'm using Ultrachart 16.2. I've uploaded an example.
Any help greatly appreciated.
Regards
James O'Doherty
Solutions and Database Architect
Hi Milko
Many thanks for quick response and great sample code.
James
Hello James,
If I understand you correctly, you are using UltraChart and your ChartType is set to DoughnutChart. What you need is to show some custom text in the middle of your chart. There is no direct way to add such label to UltraChart. What you can do is handle FillSceneGraph event of the chart and add a Text primitive. Attached is a small sample project demonstrating this approach.
Please check my sample and let me know if this is what you are looking for, or if I am missing something.