Skip to main content

Notifications

Community site session details

Community site session details

Session Id : NMWW2jLWu4ZxD1cbuXrt73
Power Apps - Building Power Apps
Unanswered

Pie chart display issues

Like (0) ShareShare
ReportReport
Posted on 11 Aug 2017 15:49:27 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

  • StevenMoore Profile Picture
    92 on 14 Aug 2017 at 08:21:16
    Re: Pie chart display issues

    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

     

  • v-micsh-msft Profile Picture
    on 14 Aug 2017 at 06:24:42
    Re: Pie chart display issues

    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

     

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 98 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 64

#3
stampcoin Profile Picture

stampcoin 48

Overall leaderboard
Loading started