Skip to content

Quick Chart

Node: quickChart · Full type: n8n-nodes-base.quickChart · Version: 1

Parameters

Parameter Type Default Details
chartType options "bar" bar, doughnut, line, pie, polarArea
labelsMode options "manually" manually, array
labelsUi fixedCollection {} required; groups: labelsValues
labelsArray string "" required
data json "" required
output string "data" required
chartOptions collection {} keys: backgroundColor, devicePixelRatio, format, height, horizontal, width
datasetOptions collection {} keys: backgroundColor, borderColor, fill, label, pointStyle

labelsUi children:

labelsValues group:

Parameter Type Default Details
label string ""

chartOptions children:

Parameter Type Default Details
backgroundColor color ""
devicePixelRatio number 2
format options "png" png, pdf, svg, webp
height number 300
horizontal boolean false
width number 500

datasetOptions children:

Parameter Type Default Details
backgroundColor color ""
borderColor color ""
fill boolean true
label string ""
pointStyle options "circle" circle, cross, crossRot, dash, line, rect, rectRot, rectRounded, ... (10 total)

Example

NODE "quickChart" AS "Quick Chart" {
  labelsArray: {{ $json.labelsArray }},
  data: "{}",
  output: {{ $json.output }}
}