echarts icon indicating copy to clipboard operation
echarts copied to clipboard

Need a way to set custom axisLabel & axisTick for Gauge charts [Feature]

Open jainsuneet opened this issue 4 years ago • 4 comments

What problem does this feature solve?

Currently the Gauge chart from Echarts only allow to configure splitNumber but I need a way to only show certain axisLabels and axisTicks like the example below, I tried to use formatter in axisLabel but I can only filter the labels not limit the ticks.

Ur416

What does the proposed API look like?

I need a way to only show certain axisLabels and axisTicks

Cdbek image

jainsuneet avatar Jan 26 '22 14:01 jainsuneet

Looks like this example? https://echarts.apache.org/examples/zh/editor.html?c=gauge-grade

Ovilia avatar Jan 27 '22 05:01 Ovilia

Looks like this example? https://echarts.apache.org/examples/zh/editor.html?c=gauge-grade

@Ovilia In this example formatter is used on axisLabel to manually filter the labels but then the axisTick are still fully shown based upon the splitNumber. I need a way to limit both.

jainsuneet avatar Jan 27 '22 08:01 jainsuneet

any updates?

lorisantiagocm avatar Sep 02 '22 11:09 lorisantiagocm

any updates?

proxophy avatar Aug 16 '24 08:08 proxophy