Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(core) Fix setting xaxis when both chart aggregation and split series
Summary: - Symptoms where that Split Series could end up being turned off for no good reason. Also both x axis and split series could be mixed up. - Problems was caused by call to `setGroupByColumns` which modifies the sections viewFields. Diff fixes it by adjustin slightly the ordering of function call in `_setXAxis()`. - Problem of mixing up x axis and split series was fixed by being careful on the order of columns passed to the `setGroupByColumns` which then determine the ordering of the view fields. Test Plan: Includes new test cases Reviewers: jarek Reviewed By: jarek Differential Revision: https://phab.getgrist.com/D3365
- Loading branch information