Interface QuickChartNodeParameters

Source
interface QuickChartNodeParameters {
    chartOptions?: {
        backgroundColor?: string;
        devicePixelRatio?: number;
        format?: "pdf" | "png" | "svg" | "webp";
        height?: number;
        horizontal?: boolean;
        width?: number;
    };
    chartType?: | "line"
    | "bar"
    | "doughnut"
    | "pie"
    | "polarArea";
    data?: string;
    datasetOptions?: {
        backgroundColor?: string;
        borderColor?: string;
        fill?: boolean;
        label?: string;
        pointStyle?: | "circle"
        | "line"
        | "star"
        | "cross"
        | "crossRot"
        | "dash"
        | "rect"
        | "rectRot"
        | "rectRounded"
        | "triangle";
    };
    labelsArray?: string;
    labelsMode?: "manually"
    | "array";
    labelsUi?: { labelsValues: { label?: string }[] };
    output?: string;
}

Properties§

Source§

readonly chartOptions?: {
    backgroundColor?: string;
    devicePixelRatio?: number;
    format?: "pdf" | "png" | "svg" | "webp";
    height?: number;
    horizontal?: boolean;
    width?: number;
}

Default: {}

Source§

readonly chartType?: "line" | "bar" | "doughnut" | "pie" | "polarArea"

The type of chart to create Default: "bar"

Source§

readonly data?: string

Data to use for the dataset, documentation and examples here

Source§

readonly datasetOptions?: {
    backgroundColor?: string;
    borderColor?: string;
    fill?: boolean;
    label?: string;
    pointStyle?:
        | "circle"
        | "line"
        | "star"
        | "cross"
        | "crossRot"
        | "dash"
        | "rect"
        | "rectRot"
        | "rectRounded"
        | "triangle";
}

Default: {}

Source§

readonly labelsArray?: string

The array of labels to be used in the chart

Source§

readonly labelsMode?: "manually" | "array"

Default: "manually"

Source§

readonly labelsUi?: { labelsValues: { label?: string }[] }

Labels to use in the chart Default: {} Type options: {"multipleValues":true,"sortable":true}

Source§

readonly output?: string

The binary data will be displayed in the Output panel on the right, under the Binary tab Default: "data"