Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LineChartOptions

options specific to line charts

Hierarchy

Index

Properties

Optional accessibility

accessibility: boolean

boolean to enable accessibility mode

Optional animations

animations: boolean

boolean to disable animations (enabled by default)

Optional axes

Optional curve

curve: string | object

options for the curve of the line

Optional getFillColor

getFillColor: function

Optional function to generate the fill color based on datasetLabel, label, and/or value

Type declaration

    • (datasetLabel: any, label?: any, value?: any): string
    • Parameters

      • datasetLabel: any
      • Optional label: any
      • Optional value: any

      Returns string

Optional getStrokeColor

getStrokeColor: function

Optional function to generate the stroke color based on datasetLabel, label, and/or value

Type declaration

    • (datasetLabel: any, label?: any, value?: any): string
    • Parameters

      • datasetLabel: any
      • Optional label: any
      • Optional value: any

      Returns string

Optional grid

Optional height

height: string

Optionally specify a height for the chart

Optional legend

legend configuration

Optional points

points: object

options for the points

Type declaration

  • Optional fillOpacity?: number
  • radius: number

    sets the radius of the point

Optional resizable

resizable: boolean

boolean to prevent the container from resizing

Optional style

style: object

stylesheet options

Type declaration

  • Optional prefix?: String

    optional prefixing string for css classes (defaults to 'cc')

Optional theme

theme: ChartTheme

Optional function to generate the fill color based on datasetLabel, label, and/or value

Optional timeScale

timeScale: TimeScaleOptions

Optional tooltip

Optional width

width: string

Optionally specify a width for the chart

Generated using TypeDoc