Get Free Trial

how to redo dynamic chart layout?

Michael T asked on June 1, 2021

Axis labels with more text are also larger when the text weight is bold.
Attached is a picture showing that when the font-weight styling is added with the afterchartdraw callback, the result is that the spacing is slightly off, making the labels harder to read. 
It is possible to manually trigger chart layout to accommodate for this change? How would I do that?
thanks so much.

1 answer

Mykhailo Halaida Mykhailo Halaida Flexmonster June 3, 2021

Hi Michael,
Thank you for posting your question.
You don’t have much control over when the chart layout is triggered, so as a workaround, we’d suggest just making the font smaller.
See the following sample for illustration:
Please let us know if this helps.
Best regards,

This question is now closed