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

[charts] Support "off the charts" chart values #15714

Open
TheOneTheOnlyJJ opened this issue Dec 3, 2024 · 5 comments
Open

[charts] Support "off the charts" chart values #15714

TheOneTheOnlyJJ opened this issue Dec 3, 2024 · 5 comments
Labels
component: charts This is the name of the generic UI component, not the React module! new feature New feature or request waiting for 👍 Waiting for upvotes

Comments

@TheOneTheOnlyJJ
Copy link

TheOneTheOnlyJJ commented Dec 3, 2024

Summary

A new way of presenting extreme data should be supported, allowing chart data to be rendered "outside" the chart.
To make this possible, specialized graphical elements must be added, like the dotted line and its interruption below.

Examples

offTheCharts
Imagine, for example, how small the visible line variance from the chart above would become if the peak value were represented in a standard fashion.

Motivation

When such extreme data has to be displayed, simply scaling the chart to fit it linearly will cause the non-extreme data to become inaccessible to the viewer.

Search keywords: off the charts chart values customization new feature

@TheOneTheOnlyJJ TheOneTheOnlyJJ added new feature New feature or request status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Dec 3, 2024
@JCQuintas
Copy link
Member

This seems quite complex to do in our current library.

An alternative is to provide the entire data to the graph and have zoom filtering enabled, as well as a custom component to allow the user to pick only slices of the data

@michelengelen michelengelen changed the title Support "off the charts" chart values [charts] Support "off the charts" chart values Dec 3, 2024
@michelengelen
Copy link
Member

@JCQuintas should we still explore this?

@JCQuintas
Copy link
Member

I would be interested in seeing what @alexfauquette has to say, but I suppose this is a very niche use-case.

@JCQuintas JCQuintas added the component: charts This is the name of the generic UI component, not the React module! label Dec 3, 2024
@alexfauquette
Copy link
Member

For me the best we could do is the following. Allowing to specify some gaps in the a x/y axes.

image

@TheOneTheOnlyJJ
Copy link
Author

This is satisfactory, especially if #15477 will allow marking such extreme values to highlight them. This issue may even make more sense bundled with #15477.

@michelengelen michelengelen removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Dec 4, 2024
@alexfauquette alexfauquette added the waiting for 👍 Waiting for upvotes label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: charts This is the name of the generic UI component, not the React module! new feature New feature or request waiting for 👍 Waiting for upvotes
Projects
None yet
Development

No branches or pull requests

4 participants