OLED charts: read value from index (internal_oled_data_get)¶
What it does: Returns the value from the data array at the specified index; returns the default value on error.

Inputs¶
IDX: value of type Value.- list
LIST: parameter selection in the block menu.
Output¶
- Value.
When to use it¶
- When you need to work with a specific point in history.
- For calculations, labels or diagnostics of chart data.
Tips and pitfalls¶
- Invalid or negative index returns default value
0. - The block is safe even with an empty list or an unexpected variable type.
Generated Python example¶
value = chart_data_get(chart_data_0, 3, 0)