esnet / esnet/react-timeseries-charts

Multiple rows of multi axis charts don't allign

Open
#335 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
876
Forks
279
PR merge metrics
No merged PRs in 30d

Description

ChartContainer has 2 ChartRows.
Each ChartRow has one visible axis, and a set of hidden axes (multiple data sets with different axis ranges).
If the total number of YAxis objects in each row is not the same, the ChartRow will have offset YAxis drawings. If the rows have the same number of hidden YAxis objects, then the one visible YAxis on each row lines up.

The following code will cause the YAxis widget to
```javascript
this.handleChartResize(width)}
onTrackerChanged={(tracker) => this.setState({tracker})}
>
















```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.