Skip to main content

Annotations

When composing charts with VictoryChart, annotations can be added to your chart using VictoryAnnotation. This guide will cover the basic usage of VictoryAnnotation and its props.

Labels

Use VictoryLabel as a child of VictoryChart to add arbitrary labels. Labels can be positioned with the x and y props, or with datum when used within VictoryChart or VictoryGroup.

Live View
Loading...
Live Editor

Lines & Markers

Victory doesn't have specific components for annotations. Instead, use standard components such as VictoryLine and VictoryScatter to add lines and markers to your chart.

Live View
Loading...
Live Editor

Like this project? You'll love working with us.

Contact us to learn more about our full range of services and offerings.

Learn More