cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
JakeG
Level: Powered On

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 Staff CarlosFigueira
Power Apps Staff

Re: Powerapp Chart Question

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 Staff CarlosFigueira
Power Apps Staff

Re: Powerapp Chart Question

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
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,796)