VictoryBar
info
For examples of VictoryBar
in action, visit the Bar Chart examples.
Inherited Props
VictoryDatableProps
VictoryMultiLabelableProps
VictoryCommonProps
Component Props
alignment
type: "start" | "middle" | "end"
The alignment
prop specifies how bars should be aligned relative to their data points. This prop may be given as "start", "middle" or "end". When this prop is not specified, bars will have "middle" alignment relative to their data points.
Live View
Loading...
Live Editor
<VictoryChart theme={VictoryTheme.clean}> <VictoryBar alignment="start" /> </VictoryChart>