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

D3 Pie chart with half circle

PM_9712905
4-Participant

D3 Pie chart with half circle

Is there a way to make d3 pie chart( donut chart) to show only half circle part? 

The reference image is given.

ACCEPTED SOLUTION

Accepted Solutions
yhan
17-Peridot
(To:PM_9712905)

Hi @PM_9712905 

 

The D3 pie chart is not available OOTB. I did some searching and find "Pie Chart to Donut Chart and add boundary to the bar chart" may meet your needs.

 

You can also refer ThingWorx Extension Development Guide chapter 8 for customized widget implementation.

 

Thanks,

/Yoyo

View solution in original post

4 REPLIES 4
yhan
17-Peridot
(To:PM_9712905)

Hi @PM_9712905,

 

Currently, there is no D3 Pie Chart Widget in ThingWorx OOTB that can load a half-ring Chart.  You need to customize D3 Pie Chart that has a half-ring feature via js as a ThingWorx extension, then import the extension to TWX.

 

Thanks,

/Yoyo

PM_9712905
4-Participant
(To:yhan)

@yhan Thanks for the quick reply. Can u pls provide link for the d3 chart and also guide for creating extension?

yhan
17-Peridot
(To:PM_9712905)

Hi @PM_9712905 

 

The D3 pie chart is not available OOTB. I did some searching and find "Pie Chart to Donut Chart and add boundary to the bar chart" may meet your needs.

 

You can also refer ThingWorx Extension Development Guide chapter 8 for customized widget implementation.

 

Thanks,

/Yoyo

slangley
23-Emerald II
(To:PM_9712905)

Hi @PM_9712905.

 

If you feel your question has been answered, please mark the appropriate response as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon

Announcements


Top Tags