You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Plotting a simple bar chart of time series data using a VictoryStack fails to render correctly. Only a subset of the bars are rendered.
// this chart doesn't render all the bars
<VictoryChart scale={{ x: "time" }}>
<VictoryStack colorScale={"qualitative"}>
<VictoryBar barWidth={5} data={DSTChangeDay1} />
</VictoryStack>
</VictoryChart>
Plotting the same data without wrapping the Bar in a Stack works correctly.
// this works fine
<VictoryChart scale={{ x: "time" }}>
<VictoryBar barWidth={3} data={DSTChangeDay1} />
</VictoryChart>
### Steps to reproduce
```markdown
1. Go to [code sandbox](https://codesandbox.io/p/sandbox/multiple-axes-with-victorygroup-forked-m6dm4h?workspaceId=90ff9bfc-5f7c-41ee-be73-afe0ddcdced4)
2. Look at the first chart rendering correctly
3. Look at the second chart rendering a subset of the bars
Expected behavior
Stack should render all the bars. If we use a time series that does not include a Daylight Savings change, then it all works correctly.
Actual behavior
Not all bars are rendered for a Stack chart when using a time series where daylight savings time change happens
Is there an existing issue for this?
Code of Conduct
Victory version
37.3.2
Code Sandbox link
https://codesandbox.io/p/sandbox/stack-fails-to-plot-timeseries-m6dm4h?workspaceId=90ff9bfc-5f7c-41ee-be73-afe0ddcdced4
Bug report
Plotting a simple bar chart of time series data using a VictoryStack fails to render correctly. Only a subset of the bars are rendered.
Plotting the same data without wrapping the Bar in a Stack works correctly.
Expected behavior
Actual behavior
Changing the ordering fixes this for some reason!
https://codesandbox.io/p/sandbox/stack-fails-to-plot-timeseries-forked-njs2mt?workspaceId=90ff9bfc-5f7c-41ee-be73-afe0ddcdced4
Chart works with the point
at index 2
rendering problem occurs with the point
at index 3
Environment
The text was updated successfully, but these errors were encountered: