echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Feature] How to increase the gap between y-axis Ticks in case of large no. of values on y Axis ?

Open stuti24sinha opened this issue 3 years ago • 1 comments

What problem does this feature solve?

In case of large no. of values on y axis, the gap between axis ticks reduce. Because of this the axis label names are being cut. Echarts

What does the proposed API look like?

yAxis: { axisTicks { gap: } }

Property eg. gap, within AxisTicks in yAxis to add a custom gap length

stuti24sinha avatar Sep 05 '22 10:09 stuti24sinha

I made a function that receives the labels to be displayed on the axis and obtained the space occupied by the label according to its position, font and font size

Eloyts97 avatar Sep 12 '22 11:09 Eloyts97