Hi, I have this Pie Chart in my project:
My problem is than the slice of "Closed Won" i can´t see this slice. My question is if anybody have an idea about how to fix it and if there is any option to force that values less than 5000 (example) or value equal 0, force the slice to a percentage and show this part.
Thanks a lot
In OutSystems, when working with pie charts, especially when slices are too small, they might not be visible or easily distinguishable. Here are a few ways to address this issue and ensure that all slices are visible:
1. Customize the Pie Chart to Show Small Slices
You can customize the Highcharts configuration (which OutSystems uses for its charts) to ensure that small slices are displayed. One approach is to use the dataLabels and tooltip options to ensure small slices are highlighted.
2. Set a Minimum Size for Pie Slices
Highcharts allows you to set a minimum size for pie slices. You can configure this in the advanced format of the chart options.
3. Combine Small Slices into a Single Slice
If you have multiple small slices, you might want to combine them into a single "Others" slice for better visibility.
Implementing the Solution
Step-by-Step Guide
Customize Chart Options:
Add the Configuration for Small Slices:
Hi Manikandan This is my Json:
Where I should include it?
Hi @David Bejar
1.You need to take dependency on Piechart_v1 of outsystemcharts.
2.In that Chart you able to find advancedformat Property>>HighchatJSOn.
3.You able add your Custom JS code.
Hope it helps
Best Regards
Thanks
Karnika.K.
set these options directly in the chart json .