Type Alias PlotOpts

PlotOpts: {
    autoSizeCanvas?: boolean;
    capacity?: number;
    coalesce?: boolean;
    debug?: boolean;
    defaultSeriesColour?: string;
    defaultSeriesVariable?: string;
    digitsPrecision?: number;
    lineWidth?: number;
    plotSize?: Rect;
    seriesColours?: SeriesColours;
    showLegend?: boolean;
    style?: "connected" | "dots" | "none";
    textHeight?: number;
    x?: Axis;
    y?: Axis;
}

Plotter options

Type declaration

  • OptionalautoSizeCanvas?: boolean
  • Optionalcapacity?: number

    Number of items to keep in the circular array Default: 10

  • Optionalcoalesce?: boolean

    If true, sub-pixel data points are ignored

  • Optionaldebug?: boolean
  • OptionaldefaultSeriesColour?: string

    How many horizontal pixels per data point. If unspecified, it will scale based on width of canvas and capacity.

  • OptionaldefaultSeriesVariable?: string
  • OptionaldigitsPrecision?: number

    Default: 2

  • OptionallineWidth?: number

    Width of plotted line

  • OptionalplotSize?: Rect
  • OptionalseriesColours?: SeriesColours
  • OptionalshowLegend?: boolean
  • Optionalstyle?: "connected" | "dots" | "none"
  • OptionaltextHeight?: number
  • Optionalx?: Axis
  • Optionaly?: Axis