Files
gristlabs_grist-core/app/client/components
Cyprien P cecebded1f (core) Fix bar chart weirdness when x axis has redundant values
Summary:
Bar chart was a bit broken when there were redundant values on the X axis: the bars’s height maps to the sum of all the corresponding y values, when the data that shows up on hover is only the last one.

It seems that plotly does not support redundant values in the x axis and in all Plotly examples (implementation relies on plotly) x values only have unique values.

This diff, fixes by making sure x axis has unique values. If user actually wants to plot groups, they'll have to use a summary charts.

Test Plan: tested manually

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D3011
2021-09-01 20:58:29 +02:00
..
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2021-05-25 21:14:49 +02:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2021-07-01 18:38:21 +02:00
2020-10-02 13:24:21 -04:00
2021-06-29 15:29:56 +02:00
2021-06-29 15:29:56 +02:00
2021-07-01 18:38:21 +02:00
2021-06-17 19:12:16 +02:00
2020-10-02 13:24:21 -04:00
2021-06-29 15:29:56 +02:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2021-06-29 15:29:56 +02:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00
2020-10-02 13:24:21 -04:00