Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hi all,
I am currently using ThingWorx 9.3.4. I have a requirement where I am using a pie chart that shows records of 24 things. The pie chart displays the distribution of all things, but the legend shows only 10 pieces of data. If I increase the height of the widget, the legend shows all the data. However, I cannot increase the height of my widget. How can I get all the information in the legend?
Thank you!
Solved! Go to Solution.
Hi @PEHOWE, thank you for the time, ShowHideLegend property is not available within THW 9.3.4, instead of that we have ShowLegend which is already enabled. Changing the legendPosition as Top also didn't help as the legend only consumed all the space and there was no space for the pie chart. However, we have decided to increase the height of the pie chart, so by doing this we are able to see all the 24 things in legend!
Thank you!
Hi @MM_9023322.
There may not be a solution to this short of allowing adequate space if you wish to display all 24 things in 1 chart. If it makes sense for your use case, you could split it into multiple charts.
Regards.
--Sharon
Hi @slangley,
Thank you for the response, but no we cannot use two different widgets, we want a single widget itself!
Thank you!
@MM_9023322 ,
I tried to create what you described. There are 2 properties which you can adjust which may help.
These might give you a better result.
Hi @PEHOWE, thank you for the time, ShowHideLegend property is not available within THW 9.3.4, instead of that we have ShowLegend which is already enabled. Changing the legendPosition as Top also didn't help as the legend only consumed all the space and there was no space for the pie chart. However, we have decided to increase the height of the pie chart, so by doing this we are able to see all the 24 things in legend!
Thank you!