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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Pie Chart to Donut Chart and add boundary to the bar chart

tguo
4-Participant

Pie Chart to Donut Chart and add boundary to the bar chart

WeChat Image_20170601165817.png

Can this pie chart be possibly changed to a kind of donut chart, by Thingworx composer?

WeChat Image_20170601165941.png

I also want to draw a upper boundary in this bar chart, how? Like draw a line in 30000.0.

WeChat Image_20170601165831.png

1 ACCEPTED SOLUTION

Accepted Solutions
jamesm1
5-Regular Member
(To:tguo)

Here is a D3 Pie Chart Widget that has a donut feature via setting the inner radius. Note that this widget is provided as an example and is not officially supported; it also may conflict with other widget extensions that use the D3 library.

View solution in original post

5 REPLIES 5
ankigupta
5-Regular Member
(To:tguo)

Tiantian Guo​,

Per my understanding Donut like Pie chart is not available out of the box.

You will have to create your own custom extension for this feature.

tguo
4-Participant
(To:ankigupta)

Ok. Understand it is needed a plug-in to change pie chart to donut chart.

And for the bar chart? Is it possible to draw some threshold line in bar chart?

Ankit Gupta

ankigupta
5-Regular Member
(To:tguo)

Tiantian Guo​,

There is no out of the box option to set the Threshold in the bar chart. You will have to customize the extension to add this feature.

jamesm1
5-Regular Member
(To:tguo)

Here is a D3 Pie Chart Widget that has a donut feature via setting the inner radius. Note that this widget is provided as an example and is not officially supported; it also may conflict with other widget extensions that use the D3 library.

yea it can be achieved through customisation of these widgets and i have done this.

Top Tags