verticalAxis

function verticalAxis<A extends Annotation, C extends Chart>(config: VerticalAxisConfig <A, C>): d3.Selection

This renders Annotations as vertical axes in a chart. This is intended to be used in conjunction with one of the plotting glyph modules. The vertical axes can be fixed in place, but they are configured to move during zoom events by default.

Type parameters

  • A: Annotation

  • C: Chart

Parameters

  • config: VerticalAxisConfig <A, C>

Returns: d3.Selection <SVGGElement, string, any, any>