--- import DefaultLayout from '@shared/layouts/DefaultLayout.astro' import Chart from '@components/demo/Chart.astro' import Card from '@ui/Card.astro' import CardBody from '@ui/CardBody.astro' import CardTitle from '@ui/CardTitle.astro' import CardSubtitle from '@ui/CardSubtitle.astro' import DocsLink from '@ui/DocsLink.astro' ---
Two y-axes Plot values with different units together. Bind each axis to a series with the yaxis.seriesName chart option and move the second one to the right with opposite.
Threshold line Draw a target or a limit across the plot with annotations.yaxis, so a reader sees at a glance which points miss it.
Marker lines Mark the moment something happened with annotations.xaxis — a release, a campaign, an incident.
Brush and zoom The small chart below picks the range shown above. Point it at the main chart id with chart.brush and render the main chart first.
Synced charts Charts that share a chart.group name follow one another — hover or zoom on one and the rest do the same.