TinyBase logoTinyBase β

BaseXAxisProps

The BaseXAxisProps type describes props shared by all x-axis configurations.

{
  className?: string;
  title?: string;
  tickCount?: number;
}
TypeDescription
className?string

An optional string that will be added to the class attribute of the x-axis SVG group element.

title?string

An optional title to use for the x axis, defaulting to the x Cell Id, or to a combined title when multiple series use different x Cell Ids.

tickCount?number

An optional preferred number of ticks to render on a continuous x axis.

Since

v8.5.0