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.

Type parameters

  • A: Annotation

  • C: Chart


  • config: VerticalAxisConfig <A, C>

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