cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Pie Chart

leeejw717
12-Amethyst

Pie Chart

I have a few questions about the pie chart.

 

1. The data for my piechart is dynamic. Is there any way to set colors for the dynamic data?

2. Is there any way to get the legends with their values displayed next to the chart?

ACCEPTED SOLUTION

Accepted Solutions
PaiChung
22-Sapphire I
(To:leeejw717)

4 REPLIES 4
PaiChung
22-Sapphire I
(To:leeejw717)

Perhaps James' widget posted here: https://community.ptc.com/t5/ThingWorx-Developers/label-above-pie-chart/m-p/540169

could be a solution.

leeejw717
12-Amethyst
(To:PaiChung)

Thank you!

 

I'm having trouble getting started with this pie widget. How do I implement this pie widget into my Thingworx mashup?

Hi,

 

Please let us know what kind of issue you have with PieWidget?

 

Usually, this widget is acting as any other chart. You need to drag it on your mashup, have a service getting some data for pie chart and bind service data with Data of Pie Widget.

Choose 'LabelField' and 'ValueField' in pie chart properties, save it and done, Pie Chart will show data you need.

 

Thank you,

Raluca Edu

I'm not sure if you're looking for something like this here

https://community.ptc.com/t5/IoT-Tech-Tips/How-to-use-a-custom-color-schema-in-Pie-Charts/m-p/558654

 

I'm using custom styles and states to determine the color of a segment in the pie chart.

Works quite well after setting it up...

Announcements


Top Tags