OLED Charts: Bar Chart (internal_oled_draw_bar_graph)¶
What it does: Draws a bar chart in the X, Y, W, H area (auto or manual width/spacing mode).

Inputs¶
DATA: value of type Value.X: value of type Value.Y: value of type Value.W: value of type Value.H: value of type Value.BW: value of type Value.BP: value of type Value.- Field
MODE: parameter selection in the block menu.
Output¶
- None (statement block).
When to use it¶
- When you want to compare individual values as columns.
- For histograms or status overview over time.
Tips and pitfalls¶
draw_autoscale_bar_graphis used inAUTOmode; inMANUAL,BW(column width) andBP(space) are used.- Like other graphs, it only draws to the framebuffer, so
oded_refreshis needed.
Generated Python example¶
oled_charts.draw_autoscale_bar_graph(fbuf, 0, 0, 128, 40, chart_data_0)