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

qt::charts: revise behaviour if data source changes during preparation #168

Closed
tc3t opened this issue May 21, 2023 · 0 comments
Closed

qt::charts: revise behaviour if data source changes during preparation #168

tc3t opened this issue May 21, 2023 · 0 comments
Labels
charts Related to charting dfgQtTableEditor Related to dfgQtTableEditor example module qt Related to qt-module

Comments

@tc3t
Copy link
Owner

tc3t commented May 21, 2023

Currently it's not clear what happens if data source changes during preparations: for example if constructing xy-graph and during preparation the following happens

  1. Data for column 1 is read for x-data
  2. Data source changes
  3. Data for column 2 is read for y-data

Resulting graph might be a mixture of different data snapshots. These should at least cause a warning, but preferably graph should also be left empty.

@tc3t tc3t added module qt Related to qt-module charts Related to charting dfgQtTableEditor Related to dfgQtTableEditor example labels May 21, 2023
@tc3t tc3t added this to the dfgQtTableEditor 2.6.0 milestone May 21, 2023
tc3t added a commit that referenced this issue Oct 22, 2023
…ata preparation (#168)

-If changes are detected during data preparation, a warning is generated to console.
-In order to detect changes, source must support snapshotID's, current both CsvItemModel and CsvTableView data sources do.
@tc3t tc3t closed this as completed Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
charts Related to charting dfgQtTableEditor Related to dfgQtTableEditor example module qt Related to qt-module
Projects
None yet
Development

No branches or pull requests

1 participant