ChartJsRenderer: Add support for dataset ids

- update only datasets with matching dataset ids
- remove deleted datasets instead of reusing it
- improve data-only update detection by ignoring label maps

These changes lead to correct animations (the actually affected
dataset is animated, instead of the last) and reduce the need
for a complete redraw of the chart.

Change-Id: I45cf8f8cf7be9ae7cf36d0a5fbf05b8718f84b09
Reviewed-on: https://git.eclipse.org/r/c/scout/org.eclipse.scout.rt/+/183423
Tested-by: Scout Bot <scout-bot@eclipse.org>
Reviewed-by: Fritz Schinkel <fritz.schinkel@bsi-software.com>
2 files changed
tree: d11c71e004e03b3252e620abdd01cfa5b455ff34
  1. eclipse-scout-chart/
  2. eclipse-scout-cli/
  3. eclipse-scout-core/
  4. eclipse-scout-releng/
  5. eslint-config/
  6. karma-jasmine-scout/
  7. license_files/
  8. org.eclipse.scout.dev.jetty/
  9. org.eclipse.scout.dev.jetty.test/
  10. org.eclipse.scout.dev.jetty.test.affix/
  11. org.eclipse.scout.jaxws.apt/
  12. org.eclipse.scout.json/
  13. org.eclipse.scout.rt/
  14. org.eclipse.scout.rt.chart.client/
  15. org.eclipse.scout.rt.chart.shared/
  16. org.eclipse.scout.rt.chart.ui.html/
  17. org.eclipse.scout.rt.client/
  18. org.eclipse.scout.rt.client.test/
  19. org.eclipse.scout.rt.dataformat/
  20. org.eclipse.scout.rt.dataobject/
  21. org.eclipse.scout.rt.dataobject.test/
  22. org.eclipse.scout.rt.jackson/
  23. org.eclipse.scout.rt.jackson.test/
  24. org.eclipse.scout.rt.mail/
  25. org.eclipse.scout.rt.mail.test/
  26. org.eclipse.scout.rt.mom.api/
  27. org.eclipse.scout.rt.mom.api.test/
  28. org.eclipse.scout.rt.mom.jms/
  29. org.eclipse.scout.rt.mom.jms.test/
  30. org.eclipse.scout.rt.platform/
  31. org.eclipse.scout.rt.platform.test/
  32. org.eclipse.scout.rt.rest/
  33. org.eclipse.scout.rt.rest.jackson/
  34. org.eclipse.scout.rt.rest.jersey.client/
  35. org.eclipse.scout.rt.rest.jersey.test/
  36. org.eclipse.scout.rt.rest.test/
  37. org.eclipse.scout.rt.security/
  38. org.eclipse.scout.rt.security.test/
  39. org.eclipse.scout.rt.server/
  40. org.eclipse.scout.rt.server.commons/
  41. org.eclipse.scout.rt.server.commons.test/
  42. org.eclipse.scout.rt.server.jaxws/
  43. org.eclipse.scout.rt.server.jaxws.test/
  44. org.eclipse.scout.rt.server.jdbc/
  45. org.eclipse.scout.rt.server.jdbc.test/
  46. org.eclipse.scout.rt.server.test/
  47. org.eclipse.scout.rt.serverbridge/
  48. org.eclipse.scout.rt.shared/
  49. org.eclipse.scout.rt.shared.test/
  50. org.eclipse.scout.rt.svg.client/
  51. org.eclipse.scout.rt.svg.client.test/
  52. org.eclipse.scout.rt.svg.ui.html/
  53. org.eclipse.scout.rt.ui.html/
  54. org.eclipse.scout.rt.ui.html.selenium/
  55. org.eclipse.scout.rt.ui.html.test/
  56. scout-hellojs-app/
  57. scout-helloworld-app/
  58. scout-jaxws-module/
  59. shell_scripts/
  60. .gitattributes
  61. .gitignore
  62. .gitreview
  63. CONTRIBUTING.md
  64. LICENSE
  65. NOTICE.md
  66. pnpm-workspace.yaml
  67. pom.xml
  68. README.md
README.md

Eclipse Scout - RT

[Eclipse Scout] 1 is a mature and open framework for modern, service oriented business applications. It substantially boosts developer productivity and is simple to learn.

This Repository Eclipse Scout RT contains the source for the runtime components embedded in the applications build on top of the Eclipse Scout Framework.

Downloads

The content of this repository is built on the Eclipse infrastructure and published to various repositories (e.g. [Maven Central] 2 for the Java code and [npmjs] 3 for the JavaScript code).

The easiest way to start with Eclipse Scout is to download Eclipse for Scout Developers on the [Eclipse downloads page] 4.

Documentation & Links

  • [Eclipse Scout Documentation] 5
  • [Eclipse Scout Forum] 6
  • [Eclipse Bugzilla] 7 (Product=Scout; Component=Scout)

Contribution Guidelines

We welcome any kind of contributions (Bug report, documentation, code contribution...). Please read the [Eclipse Scout Contribution page] 8 to learn more about it.

The contribution process of Eclipse Scout is hosted on tools deployed by the Eclipse Foundation (involing [Bugzilla] 7, Gerrit, Hudson, MediaWiki...).

External tools like the GitHub tracker and pull requests are not supported.

Get in Touch

To get in touch with the Eclipse Scout community, please open a thread in the [Eclipse Scout Forum] 6 or send a mail to [our mailing list] 9: scout-dev@eclipse.org

License

[Eclipse Public License (EPL) v1.0] 10