ant-design-charts icon indicating copy to clipboard operation
ant-design-charts copied to clipboard

Standalone Slider

Open John0x opened this issue 1 year ago • 2 comments

Hey, is it possible to use the Slider as a standalone component? Couldn't find anything on it in the docs.

Basically the slider without the line chart, so that I can use it to select a timeframe for other charts, globally.

John0x avatar Jul 17 '22 16:07 John0x

@pearmini @visiky @antv/components ?

lxfu1 avatar Jul 19 '22 02:07 lxfu1

To elaborate on the use case: Imagine an admin dashboard with a lot of charts that refer to the same timeframe. Grafana dashboards do this a lot, for example. Instead of having to set the time frame for each chart individually (by having a Slider on each of them), it would be way more ergonomic to just have on Slider on the top of the page which controls the time frame globally for that page.

John0x avatar Jul 25 '22 08:07 John0x

hi @John0x how did you solve your issue? I'm trying to achieve something similar to what you're trying to achieve :)

enriqueqs avatar Jan 06 '23 15:01 enriqueqs

hi @John0x how did you solve your issue? I'm trying to achieve something similar to what you're trying to achieve :)

Had to switch to a typical date-range selector

John0x avatar Jan 07 '23 11:01 John0x

@antv/gui

lxfu1 avatar Feb 14 '23 09:02 lxfu1