Options
All
  • Public
  • Public/Protected
  • All
Menu

These options control the configuration of a plot object when it is created.

Hierarchy

  • PlotOptions

Index

Properties

Optional border

border: boolean

Optional controls

controls: boolean

Toggle whether the plot has controls. Full screen, zoom in, zoom out buttons.

Optional displayPoint

displayPoint: boolean

When set to true displays a point representing the output of the function for the current x-location of the user's mouse.

Optional grid

grid: boolean

When set to true displays a grid representing the current scale of the plot

Optional height

height: number

The height of the chart.

Optional labels

labels: boolean

If true displays axis labels.

Optional margin

margin: number

Margin

Optional originX

originX: number

Sets the x origin of the internal coordinate system relative to the top left corner of the plot.

Optional originY

originY: number

Sets the y origin of the internal coordinate system relative to the top left corner of the plot.

Optional scaleX

scaleX: number

Controls how much the plot is scaled in the x direction.

Optional scaleY

scaleY: number

Controls how much the plot is scaled in the y direction.

Optional title

title: string | Text

Set the plot title.

Optional width

width: number

The width of the chart

Optional x

x: number

The left-most x-position of the plot area

Optional y

y: number

The top-most y-position of the plot area

Optional zoomable

zoomable: boolean

When set to true allows the user to zoom in/out and pan using the mouse scroll event and clicking and dragging. Default value is false.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc