private createWidgetWithoutUnits()

in source/lib/kdf-monitoring.ts [38:50]


    private createWidgetWithoutUnits(
        title: string,
        metric: cw.IMetric | cw.IMetric[],
        label?: string,
        min?: number,
        max?: number
    ): cw.GraphWidget {
        return new cw.GraphWidget({
            title,
            left: Array.isArray(metric) ? metric : [metric],
            leftYAxis: { showUnits: false, label, min, max }
        });
    }