cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Show Title value in pie Chart

Hello,

 

I would like to create a pie chart from a Sharepoint list. In this list there are different tasks stored to multiple persons with the work time. Now I would like to create for each person a pie chart with his tasks. This works for now.

But now I want to have the working time value displayed in the pie chart with the title. Is that possible? That would be helpful because at the end I have many tasks for each person, I hope that this helps to keep the overview.

 

Here is a screenshot that describes what I mean:

 

title_and_value.png

3 REPLIES 3
Highlighted
Super User
Super User

Re: Show Title value in pie Chart

@chhe 

Change the property of the chart called LabelPosition to this code

LabelPosition.Outside

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Highlighted
Helper III
Helper III

Re: Show Title value in pie Chart

Oh, I think I did not describe my wish well enough.

I want to display the title AND the worktime value both in the pie chart like in the Screenshot above.
Highlighted
Super User
Super User

Re: Show Title value in pie Chart

@chhe 
You must have one field containing both values to do that...  perhaps you could put this code in the Items property of the chart.

AddColumns(
    your_datasource_name,
    "CombinedField",
    TitleFieldName & HoursFieldName
)

 

Note: my solution assumes HoursFieldName is a text type value.  If its a number then use Text(HoursFieldName, "0") & " Hours" instead.

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,888)