Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LineChartProps

Hierarchy

Index

Properties

className?: string
color?: string | ((v: number, index: number) => string)

value or value to color function

fill?: boolean

fill the line chart at the bottom

format?: string | ((v: number, index: number) => string)

label for value to label function

gradient?: boolean

use color gradient for stroke and fill

preFilter?: readonly (undefined | null | number)[]

value line before filtering

style?: CSSProperties
value?: readonly (undefined | null | number)[]

the value to render

Methods

  • scale(v: number): number
  • optional scale to convert the number in the 0..1 range

    Parameters

    • v: number

    Returns number

Generated using TypeDoc