npm.nicfv.com
    Preparing search index...

    Interface PumpchartOptions

    Configuration options for Pumpchart.

    interface PumpchartOptions {
        axisColor: string;
        axisWidth: number;
        curve: { pump: string; system: string };
        font: { name: string; size: number };
        gradient: PaletteName;
        padding: Point;
        pumpCurveColor: string;
        size: Point;
        speed: { max: number; operation: number; steps: number[] };
        systemCuveColor: string;
        timestamp: { start: number; stop: number };
        units: { flow: string; head: string; power: string; speed: string };
    }

    Hierarchy

    • ChartOptions
      • PumpchartOptions
    Index

    Properties

    axisColor: string

    The axis color (hexadecimal)

    axisWidth: number

    The axis thickness, in pixels

    curve: { pump: string; system: string }

    Defines the curves to render on Pumpchart h = f(q) using q as the function variable

    Type Declaration

    • Readonlypump: string

      The pump performance curve at 100% pump speed

    • Readonlysystem: string

      The system curve

    font: { name: string; size: number }

    The font used in this chart.

    Type Declaration

    • Readonlyname: string

      The name of the font family.

    • Readonlysize: number

      The size of the font, in pixels.

    gradient: PaletteName

    The gradient name for plotting time-series data

    padding: Point

    The padding of Pumpchart, in pixels.

    pumpCurveColor: string

    The hexadecimal color code for the pump performance curve(s)

    size: Point

    The outer size of this chart, in pixels.

    speed: { max: number; operation: number; steps: number[] }

    Values for speed in the units specified, used to generate pump performance curves

    Type Declaration

    • Readonlymax: number

      The maximum pump speed

    • Readonlyoperation: number

      The speed of optimal operation

    • Readonlysteps: number[]

      The intermediate performance curves to generate for different pump speeds

    systemCuveColor: string

    The hexadecimal color code for the system curve

    timestamp: { start: number; stop: number }

    Timestamps for colorizing time-series data

    Type Declaration

    • Readonlystart: number

      The starting timestamp

    • Readonlystop: number

      The ending timestamp

    units: { flow: string; head: string; power: string; speed: string }

    Units for various quantities

    Type Declaration

    • Readonlyflow: string

      Flow rate (e.g. gpm)

    • Readonlyhead: string

      Head pressure (e.g. ft)

    • Readonlypower: string

      Pump power (e.g. kW)

    • Readonlyspeed: string

      Pump speed (e.g. rpm)