Class Axis

A class used to create labels and an X/Y axis for the chart

Hierarchy

  • Axis

Constructors

Properties

axisLabels: [string, string]

Duo of axis labels

d3Container: AxisSelection

d3 object for axis container

height: number = 0

The current calculated height of the chart

padding: Padding = ...

The padding for the chart within the container

scaleX?: ScaleBand<string> | ScalePoint<string>

Scale object for the x axis

scaleY?: ScaleLinear<number, number, never>

Scale object for the y axis

tooltip?: Tooltip

Chart's tooltip object

truncateSize?: number = 15

Amount to truncate axis labels to

width: number = 0

The current calculated width of the chart

Methods

Generated using TypeDoc