Skip to content

Documentation / @ripl/charts / CartesianSetup

Interface: CartesianSetup ​

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

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:270
crosshairAxisDefault?CrosshairAxisDefault axis the crosshair tracks when the consumer hasn't specified one.charts/src/core/cartesian.ts:272
grid?objectWhich grid-line directions to render (horizontal and/or vertical).charts/src/core/cartesian.ts:263
grid.horizontal?booleanWhether to draw horizontal grid lines.charts/src/core/cartesian.ts:265
grid.vertical?booleanWhether to draw vertical grid lines.charts/src/core/cartesian.ts:267
xAxisAlignment?ChartXAxisAlignmentWhich edge the x-axis is aligned to (top or bottom).charts/src/core/cartesian.ts:259
yAxisAlignment?ChartYAxisAlignmentWhich edge the y-axis is aligned to (left or right).charts/src/core/cartesian.ts:261