Home Forums Chart Support Get the real x axis width in pixel? Reply To: Get the real x axis width in pixel?

#29866

@xavcactus,

Sorry for the inconvenience caused. Chart bounds not being updated on resizing is a known bug and we will be fixing it in our upcoming version.

I would like to dynamically get the width of the plot area (Or the full X axis width, not the dataserie).

You can get the bounds of axisX as chart.axisX[0].get("bounds"); as mentioned in this documentation page.


Vishwas R
Team CanvasJS