Hi Echart Dev Team,

I'm working on a chart that will have a dynamic number of y axis positioned
to the right. I want to be able to set the right offset for each axis to
avoid label overlap, but I would like to avoid setting a fixed number for
the offset to maximize the available space.

My first attempt was to try and use `echarts.registerVisual` function to
get the ComponentView and then get its width and height with
`view.group.getBoundingRect()`. Unfortunately, the method will execute
before the axis view has rendered, so the boundingRect will have width 0
and height 0. Do you guys have any suggestions on how I could proceed? Is
there a way that I listen for a render event on an component view or
perhaps some zRender event that I can try?

Thanks,

Jonathan

Reply via email to