My app has a simple pie chart which displays different on a PC to a iPhone.
On the PC the pie slices match the colours on the legend, on the phone the colours are different - the legend Colorset is SharePie.ItemColorSet so they should be the same.
PC Sreen
iPhone Screen
Colorset is the default - I went as far as deleting the Piechart component and starting again.
Data is from a SQL connector with the items on the cart being:
AddColumns(Filter('[dbo].[Shareholding]', ProjectID=Value(lblProjectID.Text)),"Percent",Text(Holding*100,"[$-en-US]0.0%"))
Piechart Colorset:
[RGBA(49, 130, 93, 1),RGBA(48,166,103, 1), RGBA(94,193,108,1), RGBA(246,199,144,1), RGBA(247,199,114,1), RGBA(247,180,91,1), RGBA(246,143,100,1), RGBA(212,96,104,1), RGBA(148, 110, 176, 1), RGBA(118, 154, 204, 1), RGBA(96, 197, 234, 1)]
Dataset:
ID Holding Holder
60 0.4 ABC
60 0.4 CDE
60 0.12 FGH
60 0.08 IJK
IOS
PC
Hi @StevenMoore,
I tested the Pie Chart from my side, both under Windows and the IOS device, and the color displays correctly.
The color changing seems to be odd to me, specially the changed colors are in no rules, mostly the color would be in a sequence as below:
[RGBA(49, 130, 93, 1),RGBA(48,166,103, 1), RGBA(94,193,108,1), RGBA(246,199,144,1), RGBA(247,199,114,1), RGBA(247,180,91,1), RGBA(246,143,100,1), RGBA(212,96,104,1), RGBA(148, 110, 176, 1), RGBA(118, 154, 204, 1), RGBA(96, 197, 234, 1)]
In your scenario, it should be the first four. If you have not modified the ItemColorSet property of the Pie Chart control.
Would you please share your sample data (items property of PieChart control), and the color formula (itemColorSet property of the PieChart control)?
I will make some further tests.
Regards,
Michael
WarrenBelz
98
Most Valuable Professional
MS.Ragavendar
64
stampcoin
48