You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by Benjamin Besse <be...@aquassay.com> on 2021/03/15 09:40:20 UTC

Possibility to set specific timezone for time axis

Hello Everyone,

I have an important question/feature asking for Echarts.

In our case, we have to works with many timezones to show our time series in specific client timezone. This timezone is different than the default system/browser timezone.

If I understand how Echarts works, we only manipulate dates in UTC or in system timezone. In that case, the axes interval, labels, … are wrong in our case.

I fix the problem of dates format in specific timezone using xAxis.axisLabel.formatter but I have already a problem to set correct intervals using correct timezone. Your options works only with category axis.

This is really important for us.

I made an issue here : https://github.com/apache/echarts/issues/14453 <https://github.com/apache/echarts/issues/14453>

Thank you in advance for your help

Best regards

--
BENJAMIN BESSE
Développeur Fullstack Senior | Fullstack Developper Senior 
T. +33 (0)5 87 03 80 59
E. benjamin.besse@aquassay.com <ma...@aquassay.com>
A. 31 rue du Châtenet 87410 Le Palais-sur-Vienne


Re: Possibility to set specific timezone for time axis

Posted by Ovilia <ov...@gmail.com>.
Hi Benjamin,

Thank you for your detailed issue. I marked it as a new feature.
If you are interested in making a pull request for it by yourself,
maybe this feature can be fixed sooner. If so, please let us know
and we will further discuss it with you.

Thanks

*Ovilia*


On Tue, Mar 16, 2021 at 3:07 AM Benjamin Besse <be...@aquassay.com>
wrote:

> Hello Everyone,
>
> I have an important question/feature asking for Echarts.
>
> In our case, we have to works with many timezones to show our time series
> in specific client timezone. This timezone is different than the default
> system/browser timezone.
>
> If I understand how Echarts works, we only manipulate dates in UTC or in
> system timezone. In that case, the axes interval, labels, … are wrong in
> our case.
>
> I fix the problem of dates format in specific timezone using
> xAxis.axisLabel.formatter but I have already a problem to set correct
> intervals using correct timezone. Your options works only with category
> axis.
>
> This is really important for us.
>
> I made an issue here : https://github.com/apache/echarts/issues/14453 <
> https://github.com/apache/echarts/issues/14453>
>
> Thank you in advance for your help
>
> Best regards
>
> --
> BENJAMIN BESSE
> Développeur Fullstack Senior | Fullstack Developper Senior
> T. +33 (0)5 87 03 80 59
> E. benjamin.besse@aquassay.com <ma...@aquassay.com>
> A. 31 rue du Châtenet 87410 Le Palais-sur-Vienne
>
>