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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (51,089)