Chart

Generate chart image files from a CSV data source

CSV

Input .csv format file. Click 'PICK' to select a file path or enter a filename to use a file within the workspace. %FILENAME% variable is also supported.

In the Chart module, when parsing CSV data, the general column headers are used as the x-axis coordinates for plotting the chart. The numerical values in each data row corresponding to the column headers are used as the y-axis coordinates for plotting the chart. Please note that only numerical data types will be used for chart plotting, and other data types such as text will be ignored.

Special column headers prefixed with '_chart' will be treated by the module as chart configuration parameters, for example:

  • _chartLabel represents the title of the data column

  • _chartType represents the chart type for that data row, with the options being: bar, line, area

  • _chartColor represents the chart color for that data row, in CSS color notation. For example: red, #00ff55

Output Image

In training mode, pressing 'TEST' will trigger the module to draw the chart and output it as 'output.png' to the workspace:

--

We are dedicated to improving our content. Please let us know if you come across any errors, including spelling, grammar, or other mistakes, as your feedback is valuable to us! 🤖️⚡️

Last updated