Skip to content

Documentation / @ripl/charts / CartesianSetup

Interface: CartesianSetup

Defined in: charts/src/core/cartesian.ts:141

Declares which optional cartesian components a chart wants constructed.

Properties

PropertyTypeDescriptionDefined in
crosshair?booleanWhether to construct a crosshair for this chart.charts/src/core/cartesian.ts:154
crosshairAxisDefault?CrosshairAxisDefault axis the crosshair tracks when the consumer hasn't specified one.charts/src/core/cartesian.ts:156
grid?objectWhich grid-line directions to render (horizontal and/or vertical).charts/src/core/cartesian.ts:147
grid.horizontal?booleanWhether to draw horizontal grid lines.charts/src/core/cartesian.ts:149
grid.vertical?booleanWhether to draw vertical grid lines.charts/src/core/cartesian.ts:151
xAxisAlignment?ChartXAxisAlignmentWhich edge the x-axis is aligned to (top or bottom).charts/src/core/cartesian.ts:143
yAxisAlignment?ChartYAxisAlignmentWhich edge the y-axis is aligned to (left or right).charts/src/core/cartesian.ts:145