gristlabs_grist-core/app
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
..
client (core) Fix bar chart weirdness when x axis has redundant values 2021-09-01 20:58:29 +02:00
common (core) Subdomain can start from a number 2021-09-01 18:16:57 +02:00
gen-server (core) Update export CSV and Excel endpoints 2021-08-31 10:47:24 -07:00
plugin (core) Suggest correct table when converting to RefList 2021-08-20 23:04:48 +02:00
server (core) Update export CSV and Excel endpoints 2021-08-31 10:47:24 -07:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00