wayland/wio-terminal-bar-chart@0.0.2

License: MIT

Nodes for drawing bar charts on the LCD screen of the Wio Terminal. Wraps https://github.com/Seeed-Studio/Seeed_Arduino_Histogram
NodeDescription
01-example
Patch to display a bar-chart.
02-example
Patch to demonstrate hiding axes. After 2 seconds of runtime the axes will be hidden. After a further 2 seconds the axes will return.
bar-chart
Create bar chart.
change-width
Change the width of the bar identified by Index. See patch: 05-example.
group-bars
Display bars in groups of size Num.
delete-bar
Delete bar identified by Index. See patch: 04-example.
hide-label
Hide the label of the bar identified by Index. See patch: 05-example.
change-param
Change parameters. Modify the Label, Value and Color of a bar identified by Index. See patch: 05-example.
reduce-size
Reduce size of bar-chart. See patch: 03-example.
set-text-size-color
Set the size and color of the text used for labels. Additionally, set the background color of the display. See patch: 07-example.
show
Show bar-chart.
show-axes
Show axes of bar-chart. See patch: 02-example.
show-line-chart
Overlay line chart. See patch: 06-example.
add-bar
Add bar to chart.
show-line-chart-group
Overlay line chart for grouped data. See patch: 06-example.
03-example
Patch to demonstrate shrinking the bar-chart. The bar-chart is initially shown full size, but after 2 seconds it is shrunk to quarter size.
04-example
Patch to demonstrate deleting bars from bar-chart. Initially six bars are shown. After two seconds, the 2nd and 5th bars are deleted.
05-example
Patch to demonstrate changing the appearance of a bar.
06-example
Line charts with non-grouped and grouped bars.
07-example
Patch to demonstrate changing: (1) text size, (2) text foreground colour, (3) text background colour, and (4) bar-chart background colour.
To use the nodes in your project you should have the wayland/wio-terminal-bar-chart library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.