Documentation / @ripl/charts / CartesianSetup
Interface: CartesianSetup ​
Defined in: charts/src/core/cartesian.ts:257
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:270 |
crosshairAxisDefault? | CrosshairAxis | Default axis the crosshair tracks when the consumer hasn't specified one. | charts/src/core/cartesian.ts:272 |
grid? | object | Which grid-line directions to render (horizontal and/or vertical). | charts/src/core/cartesian.ts:263 |
grid.horizontal? | boolean | Whether to draw horizontal grid lines. | charts/src/core/cartesian.ts:265 |
grid.vertical? | boolean | Whether to draw vertical grid lines. | charts/src/core/cartesian.ts:267 |
xAxisAlignment? | ChartXAxisAlignment | Which edge the x-axis is aligned to (top or bottom). | charts/src/core/cartesian.ts:259 |
yAxisAlignment? | ChartYAxisAlignment | Which edge the y-axis is aligned to (left or right). | charts/src/core/cartesian.ts:261 |