cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Powerapp Chart Question

Hello all,

 

I have been building some statistics into an app that I build a while ago and was wondering if it was possible to create/modify onSelect functionality for the wedges/bars of the charts. Ex: If I click on the wedge of a chart, I want something to happen. Is this possible? If so, how? Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Power Apps
Power Apps

You can reference the Selected property of the chart in a control outside of it. For example, in the app below:

ForumPost001.png

The Text property of the label is set to

PieChart1.Selected.City

If you want to show the name only after a user selects a wedge in the chart, then you can use the OnSelect property of the chart, and set a variable with the current selection.

View solution in original post

1 REPLY 1
Power Apps
Power Apps

You can reference the Selected property of the chart in a control outside of it. For example, in the app below:

ForumPost001.png

The Text property of the label is set to

PieChart1.Selected.City

If you want to show the name only after a user selects a wedge in the chart, then you can use the OnSelect property of the chart, and set a variable with the current selection.

View solution in original post

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 (12,694)