Setting Axis center to non-zero, custom value #2308
Labels
Issue: Accepted
The submitted issue has been confirmed by the Victory core team
Type: Enhancement ✏️
An enhancement or feature proposal that will be addressed after the next release
Questions
I'm working on a Quadrant chart that involves
I'm trying to set my axis center to 100, 100 instead of 0,0
For discussions about features or questions about how to use Victory, please start a new discussion rather than opening an issue.
Bug Reports
Checklist
I have read through the FAQ and Guides
I am using the latest version of Victory
I've searched open issues to make sure I'm not opening a duplicate issue
The Problem
I'm not able to shift the center to 100, 100 instead of 0,0.
I'm attaching the expected result v/s the one that's getting generated
On the left side of the graph, X-axis should start from 100 (at center) and go to 90
Similarly on Y-axis, bottom side, center should start from 100 and end at 90
Reproduction
`
<VictoryAxis
tickValues={[-90, 100, 110]}
domain={{x : [-90, 110]}}
/>
<VictoryAxis
dependentAxis
tickValues={[-90, 100, 110]}
domain={{y : [-90, 110]}}
/>
`
Current Issue
End Goal
The text was updated successfully, but these errors were encountered: