Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed refresh chart-line and chart-range #2976

Open
Limraj opened this issue Jul 31, 2024 · 0 comments
Open

Fixed refresh chart-line and chart-range #2976

Limraj opened this issue Jul 31, 2024 · 0 comments

Comments

@Limraj
Copy link
Collaborator

Limraj commented Jul 31, 2024

Description
There is a problem with refreshing the chart state for the chart-line and chart-range components:
https://github.com/SCADA-LTS/Scada-LTS/blob/develop/scadalts-ui/src/components/amcharts/readme.md

To Reproduce

  1. Login as admin;
  2. Created Virtual Data Source as vds (enabled, udpate:1s) and Virtual Data Point as vdp (enabled, settable, numeric, random, min:0, max:123, start: 0);
  3. Copy id for vdp;
  4. Go to 'Graphical Views';
  5. Created new Graphical View as gv;
  6. Added "HTML Component" with content:
    <div id="chart-line-0" point-ids="data_point_id" refresh-rate="1000"/>
  7. Click on 'Save';
  8. We see the generated graph for the set point, but despite refreshing every 1 second, the graph is not updated -> error;
  9. Analogously for the websocket setting, i.e. with "HTML Component" with the content (for version >= v2.7.1):
    <div id="chart-line-0" point-ids="data_point_id" web-socket-enabled/>

Spec:

  • Scada-LTS Version: v2.6.18
@Limraj Limraj mentioned this issue Jul 31, 2024
60 tasks
@Limraj Limraj added this to the 2.8.0 milestone Aug 1, 2024
@Limraj Limraj removed this from the 2.8.0 milestone Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant