Chart configuration in mappView

Hello everyone,

I need a trend chart in mappView that shows liters per minute. Current values ​​should be shown, not historical data. Is it possible to do this with a mappView chart widget?

Hello Tobias,

there are two different charts.

  1. OnlineChart: bind a number value. Graph will show value in a timeline
  2. LineChart: bind an array of number. Graph will show all values in array. Values in array don’t have to be historical data. You can also combine values from different data sources in the array.

Hope, this information will help you. :slight_smile:

Sincerly Simon

1 Like

Hello Simon,

thanks for the fast reply. I think the LineChart could work. But I don’t know how to bring the realtime data like flow (y-axis) and time (x-axis) in the arrays which i have to use for x/y axis of the chart. Do you know, if there are same exampels somewhere.

There is an example on B&R tutorial portal regarding this issue:

B&R Tutorial Portal (br-automation.com)

Hi,

I looked there already some days ago but couldn’t find the toturial to fix that issue reading array configuration and LineChart or XYChart. However, thanks for your help!

1 Like

Hi Tobias, have you found solution for your problem?

If you use Linechart with current values you will get “flickering effect”, because data updating in the PLC doesn’t match SCADA update cycle, so you will get part of old array, part of new one. You can solve it by prioritizing your task on SCADA update cycle, but it slows down the SCADA.