0 / 0
dvcharts properties
Last updated: Jan 18, 2024
dvcharts properties

Charts node iconWith the Charts node, you can launch the chart builder and create chart definitions to save with your flow. Then when you run the node, chart output is generated.

Example

dvcharts_node = modeler.script.stream().createAt("dvcharts", "Charts", 390, 262)
dvcharts_node.setPropertyValue("chart_definitions", [["pie", "Ricky", "{\"type\":\"pie\",\"title\":\"pt\",\"subtitle\":\"sub1\",\"footnote\":\"footnote1\",\"categoriesField\":\"Sex\",\"summaryMethod\":\"count\",\"valuesField\":\"Age\",\"pieStyle\":\"normal\",\"locale\":\"en\",\"showToolbox\":true,\"__version\":\"2.2\"}", ["Sex"]]])
Table 1. dvcharts properties
dvcharts properties Data type Property description
chart_definition list List of chart definitions, including chart type (string), chart name (string), chart template (string), and used fields (list of field names),
Generative AI search and answer
These answers are generated by a large language model in watsonx.ai based on content from the product documentation. Learn more