echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Feature] dataZoom.slider disabled

Open Airkro opened this issue 2 years ago • 4 comments

What problem does this feature solve?

For now, we can't disable the slider, we can only hide it.

But in many cases, the slider can be a significant part of the view, peoples don't want to hide it, disable it is enough.

What does the proposed API look like?

{
	"dataZoom": [
		{
			"type": "slider",
			"disabled": true
		}
	]
}

Airkro avatar May 25 '23 03:05 Airkro

Demo Code - workaround to disable dataZoom functionality. It does not visually downplay the dataZoom control. On toggle it switches back to latest (saved) zoom range.

helgasoft avatar May 25 '23 18:05 helgasoft

@helgasoft not work at all...

Airkro avatar May 26 '23 03:05 Airkro

This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

github-actions[bot] avatar May 25 '25 21:05 github-actions[bot]

bump

Airkro avatar May 26 '25 02:05 Airkro