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

How to Reduce width of bar in bar chart widget thingworx 9.1

bhavya
7-Bedrock

How to Reduce width of bar in bar chart widget thingworx 9.1

I want to reduce bar width in bar chart widget, i am currently using thingworx 9.1 version. I tried with all style properties but cant able to reduce bar width.

Please check attached images for reference

 

4 REPLIES 4
mnarang
17-Peridot
(To:bhavya)

I believe you are using a bar chart from custom chart widget extension package, in that I believe there is no property to alter the bar width. If you can use ptcs-barchart(OOTB) bar chart in ThingWorx 9.x, there is a property called external padding which can be used to alter the bar width.

bhavya
7-Bedrock
(To:mnarang)

Thank you for reply@mnarang 

 

i am using ptcschartbar in 9.1 version and i tried with external padding property but whole bar chart is decreasing, its not matching with my requirement

bhavya_0-1625750214253.png

My requirement 

bhavya_1-1625750276517.png

 

 

mnarang
17-Peridot
(To:bhavya)

Internal padding is increasing/decreasing the width of the bar, but the number of data points/bars remains the same on the chart. In your requirement number of data points/bars are also reduced.

Internal padding = 20

mnarang_0-1625751897679.png

 Internal Padding = 50

mnarang_1-1625751935423.png

Internal Padding = 80

mnarang_2-1625751974616.png

 

bhavya
7-Bedrock
(To:bhavya)

Hi @mnarang 

 

I tried with Internal padding but not worked, still no change in runtime

 

Top Tags