About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Last updated: Feb 11, 2025
With 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"]]])
properties |
Data type | Property description |
---|---|---|
|
|
List of chart definitions, including chart type (string), chart name (string), chart template (string), and used fields (list of field names), |
Was the topic helpful?
0/1000