studio
studio copied to clipboard
Dashboard Line Chart widget: dynamically add a line
Some measurements are creating multiple lines in a dynamic way. Common examples:
- Discharging a battery for a range of discharge rates. It is not known during programming how many lines will be created.
- DC-DC converter efficiency depending on both input voltage and output current.
I think a few possible solutions to support this is are possbile:
- add a checkbox 'multiple lines' to a single line configuration. If this checkbox is checked an additional Flow input will be created. If an event into this input evaluates to true, a new line is dynamically added an data going into this line will be send to this new line
- add an expression field. If the value evaluates to true a new line is created. This allows the user to be more flexible but might also be hard to get the events right (and not create unwanted lines)?