Skip to main content

LineSeries

Display

Data

point type must extend from SeriesPoint

Props

Like all other series, line series have Base props<br/> They also have many other props that we can class into following categories :

1. Markers

  • displayMarkers: displays scatter points markers<br /> type: boolean<br/> default: false
  • markerShape: shape of serie's markers<br /> type: Shape<br/> default: 'circle'
  • markerSize: size of serie's markers<br /> type: number<br/> default: 8
  • markerStyle: serie's markers style that can be dynamic or static<br /> type: CSSFuncProps<br/> default: {}

2. Point Label

  • pointLabel: serie's point label that can be dynamic or static, depending on kind of points<br /> type: LabelFuncProps<point><br/> default: ''
  • pointLabelStyle: serie's point label style, dynamic or static, depending on kind of points<br /> type: CSSFuncProps<point><br/> default: {}

3. ErrorBars

  • displayErrorBars: displays error bars in the series<br /> type: boolean<br/> default: false
  • errorBarsStyle: changes error bars' style<br /> type: SVGAttributes<SVGLineElement><br/>
  • errorBarsCapSize: changes size of error bars' cap<br /> type: number<br/>
  • errorBarsCapStyle: changes error bars cap's style<br /> type: SVGAttributes<SVGLineElement><br/>

4. Lines

  • lineStyle: styling of the serie's path dynamic or static, depending on series' id<br /> type: CSSFuncProps<{id}><br/> default: false