cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JakeG
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
CarlosFigueira
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
CarlosFigueira
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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,647)