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

label above pie chart

SOLVED
svisveswaraiya
Peridot

label above pie chart

Hi,

I have a pie chart bound with data (e.g i have Bound production count of 3 machines in pie chart but I am able to view which count belongs to which machine only using mouse hover which is very difficult to understand each and every time on opening the page and also will be difficult if machine number increases.

I wanted to display the label (machine name) above pie chart according to its data.

Please provide some solutions as We are doing a development project.

 

 

Thanks,

V Shalini.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: label above pie chart

You can use the attached pie chart widget, which behaves in the way you describe. It's based on this charting library: http://d3pie.org

 

Note that similar to widgets available under Thingworx Labs on the Marketplace, this widget is not officially supported. In addition, this is kind of a work in progress and has a few known issues:

 

1. Selections don't work correctly when using the widget sort or group options. If you want to sort the data, please do so in the service not the widget

2. The bounce effect is not working in this version

 

Otherwise it should work like most widgets, and as a few other nice options not found in the default pie chart. If you have any questions or run into any issues, please let me know (although I can't guarantee a fix.)

 

View solution in original post

5 REPLIES 5

Re: label above pie chart

Since I don't see an option right now to make that possible, unfortunately that would have to be done custom.

Re: label above pie chart

Hi PaiChung,

Thanks for your reply,

Should I write a custom java service and trigger it on mashup loaded?

 

Thanks,

V shalini.

Re: label above pie chart

I think it is best you create a full custom widget.

I've actually seen one created, and it might become part of core, although that probably will take a while.

Re: label above pie chart

You can use the attached pie chart widget, which behaves in the way you describe. It's based on this charting library: http://d3pie.org

 

Note that similar to widgets available under Thingworx Labs on the Marketplace, this widget is not officially supported. In addition, this is kind of a work in progress and has a few known issues:

 

1. Selections don't work correctly when using the widget sort or group options. If you want to sort the data, please do so in the service not the widget

2. The bounce effect is not working in this version

 

Otherwise it should work like most widgets, and as a few other nice options not found in the default pie chart. If you have any questions or run into any issues, please let me know (although I can't guarantee a fix.)

 

View solution in original post

Re: label above pie chart

Hi Jamesm,

The chart is working well and satisfying my requirement.

Thanks a lot.

Announcements

Check out the upcoming Expert Session: Understanding ThingWorx Navigate Licensing in Community "Customer Events" section.