Interface FunctionPlotOptions

Hierarchy

  • FunctionPlotOptions

Properties

annotations?: FunctionPlotAnnotation[]

The annotations displayed in the graph

coordinateSystem?: "polar" | "cartesian"

The coordinate system used to render the chart. Defaults to cartesian.

The functions to plot

disableZoom?: boolean

True to disable panning and zoom

grid?: boolean

True to display a grid

height?: number

The chart height (set on the svg element)

id?: string

For internal usage

lastCoordinateSystem?: "polar" | "cartesian"

Last rendered coordinate system, preserved when callers mutate options.

plugins?: any[]

Plugin configuration (WIP)

polar?: PolarOptions

Polar coordinate system configuration.

target: string | HTMLElement

A css selector or DOM node of the parent element that will contain the graph

The tip configuration

title?: string

The chart title

width?: number

The chart width (set on the svg element)

The x-axis configuration

xDomain?: [number, number]

The x-axis domain, internally state used to preserve the x-domain across multiple calls to function plot

The y-axis configuration

yDomain?: [number, number]

The y-axis domain, internally state used to preserve the y-domain across multiple calls to function plot

Generated using TypeDoc