-
Notifications
You must be signed in to change notification settings - Fork 189
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
[Question]: Export Time series data from line chart #1400
Comments
Any update on this? |
I can confirm this is the case for me as well. Also when one hovers over the time series line chart the tooltip only shows the day even if the granularity of the data is minute, hour, etc. The behavior can be seen on the demo page here: https://codesandbox.io/s/5v1s9b?file=/App.svelte |
After a bit more digging it appears the problem lies in two places: For the tabular data modal / export feature referenced by @jmarenin the following line needs to be fixed: For the issue with the tooltip: and I will see if I have some bandwidth this week to submit a PR. |
If anyone has any thoughts as to the proper representation of the date please let me know. ScaleType is called "TIME" so rationally it should probably reflect an actual date + time format such as :
While the above is nicely formatted for humans it isn't a great datetime format for machines as say epoch or
|
@theiliad This issue is approaching 1 year and we still don't have TIME level precision in chart tooltips or tabular data modal / csv exports making carbon charts meaningless for time series data. If carbon charts should only ever be used to represent day level data without time precision I think we should update the Carbon Design System documentation and tutorial and be explicit about it. |
I'm interested in this too. |
This'll soon be address by our |
You can also use |
Question for Carbon
I am currently trying to export the data that I am graphing on the carbon design line chart. However, when I export the data, instead of exporting the timestamp value such as '2022-06-23T17:50:00' it instead exports as 'June 24, 2022'. Is there any way to change this?
Code of Conduct
The text was updated successfully, but these errors were encountered: