npm.nicfv.com

    Interface DataOptions

    Configuration settings for plotting data.

    interface DataOptions {
        advanced: boolean;
        color: string;
        gradient: PaletteName;
        legend: boolean;
        line: boolean | Datum;
        name: string;
        pointRadius: number;
        relHumType: "percent" | "float";
        time: { end: number; now: number; start: number };
    }
    Index

    Properties

    advanced: boolean

    Defines whether or not to show advanced state variables.

    color: string

    Determine the solid color hex-code for time-independent plots.

    gradient: PaletteName

    Determines the color gradient for time series plots.

    legend: boolean

    Optionally show this point in the legend.

    line: boolean | Datum

    Determines whether or not to connect points with a line. If a Datum is provided, will draw a line from that point.

    name: string

    Adds a name to a point or data series to be shown in the tooltip. Must be set to create an entry in the legend.

    pointRadius: number

    The point radius, in pixels.

    relHumType: "percent" | "float"

    The relative humidity measurement type, in percent [0-100] or float [0.0-1.0]

    time: { end: number; now: number; start: number }

    Set the timespan for this time-dependent data series.

    Type declaration

    • Readonlyend: number

      The timestamp for the last data point.

    • Readonlynow: number

      The timestamp for the current data point.

    • Readonlystart: number

      The timestamp for the first data point.

    MMNEPVFCICPMFPCPTTAAATR