Documentation / @ripl/charts / CartesianSetup
Interface: CartesianSetup
Defined in: charts/src/core/cartesian.ts:141
Declares which optional cartesian components a chart wants constructed.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
crosshair? | boolean | Whether to construct a crosshair for this chart. | charts/src/core/cartesian.ts:154 |
crosshairAxisDefault? | CrosshairAxis | Default axis the crosshair tracks when the consumer hasn't specified one. | charts/src/core/cartesian.ts:156 |
grid? | object | Which grid-line directions to render (horizontal and/or vertical). | charts/src/core/cartesian.ts:147 |
grid.horizontal? | boolean | Whether to draw horizontal grid lines. | charts/src/core/cartesian.ts:149 |
grid.vertical? | boolean | Whether to draw vertical grid lines. | charts/src/core/cartesian.ts:151 |
xAxisAlignment? | ChartXAxisAlignment | Which edge the x-axis is aligned to (top or bottom). | charts/src/core/cartesian.ts:143 |
yAxisAlignment? | ChartYAxisAlignment | Which edge the y-axis is aligned to (left or right). | charts/src/core/cartesian.ts:145 |