TinyBase logoTinyBase β

ChartBindingProps

The ChartBindingProps type describes the props that bind a chart to Cell values in TinyBase data.

{
  xCellId: Id;
  yCellId: Id;
  sortCellId?: Id;
  descending?: boolean;
  offset?: number;
  limit?: number;
}
TypeDescription
xCellIdId

The Id of the Cell that provides each data point's x value.

yCellIdId

The Id of the Cell that provides each data point's y value.

sortCellId?Id

The Id of the Cell used to sort the charted rows.

descending?boolean

Whether the charted rows should be sorted in descending order.

offset?number

The number of sorted rows to skip before charting.

limit?number

The maximum number of sorted rows to chart.

Since

v8.5.0