web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Tooltip and more value...
Power Apps
Answered

Tooltip and more values in Pie Chart

(0) ShareShare
ReportReport
Posted on by 997 Super User 2024 Season 1

Hi,

anonymous21_1-1656904184637.png

Can I do a tooltip in pie chart? When I move my cursor to a section in the pie chart, it will display the leave type.

Can I also do like 4/10 for the value in the pie chart?

 

Thank you

Categories:
I have the same question (0)
  • Krishna_R Profile Picture
    525 on at

    Hello @syhrh ,

    I believe we will not be able to achieve tool tip here. but the other way would be adding a column and to concatenate both the values

     

    First Approach:

    1. in the items property of pie chart

    Krishna_R_0-1656923431028.png

     

    2. and select the xLabel in columns section of pie chart.

     

    Second Approach: using select method

    1. add one text label, and inside text property pass the piechart.selected.LeaveType.
    Assuming LeaveType is your column name here, which will display the details of leave type

  • syhrh Profile Picture
    997 Super User 2024 Season 1 on at

    @Krishna_R 

    my piechart's item is like this:

    Table(
     {
     Col: "Annual Leave", Value: CurrentUserData.AnnualLeave
     },
     {
     Col: "Calamity Leave", Value: CurrentUserData.CalamityLeave
     },
     {
     Col: "Carry Forward Leave", Value: CurrentUserData.CarryForwardLeave
     },
     {
     Col: "Emergency Leave", Value: CurrentUserData.EmergencyLeave
     },
     {
     Col: "Hospitalization Leave", Value: CurrentUserData.HospitalizationLeave
     },
     {
     Col: "Maternity Leave", Value: CurrentUserData.MaternityLeave
     },
     {
     Col: "Paternity Leave", Value: CurrentUserData.PaternityLeave
     },
     {
     Col: "Sick Leave", Value: CurrentUserData.SickLeave
     },
     {
     Col: "Quarantine Leave", Value: CurrentUserData.QuarantineLeave
     }
     
    )

    So how to add column using the first approach?

     

    I don't think can use the second approach as the pie chart will be different for each user. So the leave type can be different thus making the pie chart looks different. But then, the text label has been put beside the value so it will move right.

  • Verified answer
    Krishna_R Profile Picture
    525 on at

    Hi @syhrh , either collection or table, adding a column approach remains same as shown below

     

    Krishna_R_0-1656929287145.png

     

  • syhrh Profile Picture
    997 Super User 2024 Season 1 on at

    @Krishna_R

    It works, thank you! Is there a way to make the label a bit bigger to show all the words like Calamity Leave: 3?

    anonymous21_0-1656936584010.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard