View Full Version : Sencha Bar Chart: Setting Fixed Width of Bar results improper label rendering

18 Nov 2013, 12:03 AM
Hi, I am using Sencha 4.2 Chart library. In which by default chart was fitting into panel's width and resizing bar's width/thickness based on number of bars but I want the width of bar should be of 25px fixed irrespective of number of bars on chart. I can achieve this by following setting:
style: {
size: 25
But the bottom labels are not rendering properly. All labels are fitting to the panel according to the width of panel but bars do not align with the labels.


Please Help,

18 Nov 2013, 10:34 AM
This was an issue in 4.1.x and an override was given. It seems to be broken in 4.2.1 (override does not work).

In 4.2.2, it seems to be corrected again.

You can create a test case using our fiddle: