cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Resolver I
Resolver I

Pie chart in a component

Hey guys!  I'm having a bit of trouble getting a pie chart to work in a component.

My component's name is "PieChart"

I've got an table input property set up  called "Items".

Inside my component, I have the Items property of my pie chart set to PieChart.Items)

And in the custom Items property in the component, I have a sample table:

 

Table(
    {Parameter: "String", Value: 1}, 
    {Parameter: "String", Value: 1},
    {Parameter: "String", Value: 1},
    {Parameter: "String", Value: 1},
    {Parameter: "String", Value: 1}
)

 

 

When I add the component to a screen and give it my table, it's blank.  
Screen Shot 2020-05-01 at 1.33.11 PM.png

1 ACCEPTED SOLUTION

Accepted Solutions

Solved, 

You aren't supposed to put a sample table in the Items property of the component.  Thanks for the help @RezaDorrani 🙂

View solution in original post

6 REPLIES 6
Dual Super User II
Dual Super User II

@Connor551 

 

Try adding it on an empty screen

 

If it works, then check to see if the component on your current screen is behind another control

 

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Thanks,
Reza Dorrani, MVP
YouTube
Twitter

It's still blank unfortunately.

@Connor551 

 

In component with the default Items setup - you see the chart.

 

Then try the same default settings on the screen first. If that works.

 

Then you need to check your Items property values

 

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Thanks,
Reza Dorrani, MVP
YouTube
Twitter

With the sample table in the component it's actually blank as well.

Screen Shot 2020-05-01 at 1.45.15 PM.pngScreen Shot 2020-05-01 at 1.45.07 PM.png

Solved, 

You aren't supposed to put a sample table in the Items property of the component.  Thanks for the help @RezaDorrani 🙂

View solution in original post

@Connor551 

 

image.png

 

Make sure the pie chart settings are as above for testing

 

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Thanks,
Reza Dorrani, MVP
YouTube
Twitter

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (98,429)