Skip to main content
18-Opal
November 27, 2023
Solved

Bar Chart X Axis Labels show for alternative bar's.

  • November 27, 2023
  • 2 replies
  • 1296 views

Hi,

 

I placed a Bar widget on the mashup, passing the data to the Widget. On Runtime, I can only see the X-Labels for the alternative bar, not all the Bars. Why so?

 

Thingworx Version: 9.2.1

 

Thanks,

Best answer by pshashipreetham

Hi,

 

This was due to a Height/Width Issue of the Chart widget. If I Increase the Height/Width of the bar Chart Widget, then the Tick Labels on the X-axis show up for all the Bars in the Chart.

It's juts the Increase in the Height/Width.

 

Thanks,

2 replies

16-Pearl
November 28, 2023

Hello @pshashipreetham 

 

Have you tried setting the "HorizontalAxisMaxHeight" and "HorizontalAxisLabelsRotation" ?

 

Thanks

pshashipreetham18-OpalAuthorAnswer
18-Opal
November 30, 2023

Hi,

 

This was due to a Height/Width Issue of the Chart widget. If I Increase the Height/Width of the bar Chart Widget, then the Tick Labels on the X-axis show up for all the Bars in the Chart.

It's juts the Increase in the Height/Width.

 

Thanks,