web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Pie chart display issues
Power Apps
Unanswered

Pie chart display issues

(0) ShareShare
ReportReport
Posted on by 92

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 SreenPC SreeniPhone ScreeniPhone Screen

Categories:
I have the same question (0)
  • v-micsh-msft Profile Picture
    on at

    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

     

  • StevenMoore Profile Picture
    92 on at

    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

    IOSIOSPCPC

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard