esnet / esnet/react-timeseries-charts
Multiple rows of multi axis charts don't allign
- 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
Assessment
This issue has not been assessed yet.