Interface INumberChartParams

Hierarchy

  • INumberChartParams

Properties

colors?: {
    color: string;
    percent: number;
}[]

Type declaration

  • color: string
  • percent: number
gradient?: boolean
maxFillColor?: string
maxValue?: number
maxValueAttrPath?: string
minFillColor?: string
minValue?: number
minValueAttrPath?: string
textSuffix?: string
title?: string
type: "BAR" | "BATTERY" | "THERMOMETER" | "NEEDLE_GAUGE"

The kind of chart to draw.

Bar = rectangle that fills up based on the value. Battery = rectangle that fills up based on the value, but has a battery shape. Thermometer = rectangle that fills up based on the value, but has a thermometer shape. Needle Gauge = a gauge that fills up based on the value. Similar look to a speedometer.

value?: number
valueAttrPath: string

Generated using TypeDoc