EasyScience / EasyDiffractionApp

Diffraction data analysis application
https://easydiffraction.org
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Charting done properly - Plotly #21

Open rozyczko opened 3 years ago

rozyczko commented 3 years ago

Charting has to be done properly through a charting API. The current charting has different figures for each plot/subplot. The following has been implemented:

Python backend:

Unified class for plotting 1d data. It includes creation of data container and data object accessible in both Bokeh and QtCharts QML frontends. QML frontend:

easyAppGui: Unified plotting base for Bokeh and QtCharts (JS-based) easyDiffractionApp: Experiment and Analysis charts with measured, calculated and difference curves, as well as Bragg peaks and Background curve GitHub PRs

easyAppGui: https://github.com/easyScience/easyAppGui/pull/5 easyDiffractionApp: https://github.com/easyScience/easyDiffractionApp/pull/14

rozyczko commented 2 years ago

Can QtCharts be dropped to allow for easier development and less repeated code?

rozyczko commented 1 year ago

This has now been changed to implementation of Plotly as charting engine. Progress happens in the EasyExampleApp project based on the new-easy-app branch of EasyApp