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

Adding '%' character after the value of the Pie Chart Widget's tool tip

SOLVED
John_H
Regular Member

Adding '%' character after the value of the Pie Chart Widget's tool tip

In one of the mashups in my company's Thingworx application, we show a percentage as the pie slice's value:

pie-graph-tool-tip.png

The users would like to see '58.8%' for the value, but my team is struggling to find a way to append that. The ValueFormat property appears to only control the numeric formatting. We haven't been able to find the HTML that appears for it so that we might try some Custom CSS magic.

 

Can this be done with the widget?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Adding '%' character after the value of the Pie Chart Widget's tool tip

Hello @John_H 

 

If you only need to show % sign after your data you can enter the "0000.0 %" in the ValueFormat .

 

Please feel free to revert in case it doesn't resolve your query.

 

Thanks

Om Dukiya

View solution in original post

3 REPLIES 3

Re: Adding '%' character after the value of the Pie Chart Widget's tool tip

Hello @John_H 

 

If you only need to show % sign after your data you can enter the "0000.0 %" in the ValueFormat .

 

Please feel free to revert in case it doesn't resolve your query.

 

Thanks

Om Dukiya

View solution in original post

Re: Adding '%' character after the value of the Pie Chart Widget's tool tip

Thank you to @odukiya and @emscur . I don't know why that did not work for us before.

Re: Adding '%' character after the value of the Pie Chart Widget's tool tip

Hi @John_H,

 

This can be achieved by setting the ValueFormat to 0.0%. The screenshots below show this functionality:

 

 

ValueFormat propertyValueFormat property   Mashup during runtimeMashup during runtime

 

I hope you find this information helpful.

 

Thanks,

Emmanuel

Announcements

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