Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timestampのタイムゾーンが混在する時に、chartのグラフが日時順にならない #7

Open
j-yamada opened this issue Jun 17, 2020 · 0 comments

Comments

@j-yamada
Copy link

j-yamada commented Jun 17, 2020

DynamoDBから取得したデータに+09:00以外のタイムゾーンが存在すると、chartの折れ線が日時順にならない。

折れ線を引く順番はデータ配列順なのに対し、
timestamp軸はラズパイのタイムゾーン(日本)基準でプロットされ、その結果、
+09:00以外のタイムゾーンになっている点が+09:00基準の位置にずれて、
画像のようなグラフになる模様です。
chart_mixed_timezone_of_timestamp

chartに渡す前にうまく日時順にデータソート出来れば良いかと思われます。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant