Hi,

If you wish to implement this, you need a xAxis with type 'value'. If the x
values are in seconds, then set `interval` to be 3600*24 for 1D. Call
`setOption` when users click on the tabs. The tabs should be implemented
using DOM.
There are two options to control how many labels are in an axis. `interval`
gives a precise control while `splitNumber` gives a recommendation. In your
case, `interval` should be used.

Thanks

*Ovilia*


On Wed, Mar 30, 2022 at 11:20 AM Richardson Petitbrun <richbru...@gmail.com>
wrote:

> How would I program to have tabs show up for different datasets for
> example 1D, 5D, 1M, 6M, 1Y, 5Y, Max. Similarly to that seen in the stock
> market historical chart?
>
> Is there a code you can share?
>
> Thank you.
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
> For additional commands, e-mail: dev-h...@echarts.apache.org

Reply via email to