BCDA-APS / mdaviz

Data visualization for mda
https://bcda-aps.github.io/mdaviz/
Other
3 stars 0 forks source link

The x_label and title seem to disappear in some instances #76

Closed rodolakis closed 5 months ago

rodolakis commented 5 months ago

To be investigated. Maybe when the graph gets cleared? (replace)

rodolakis commented 5 months ago

Looks like y_label also goes away at time. Pressing replace brought it back.

rodolakis commented 5 months ago

Found that there was confusion between plot options and dataset option in doPlot (and selectedCheckboxChange):

Need to pass plot options every time, not just the first time, to update xlabel, ylabel and title.

For title, how to make sure we don't overwritte a custom title (ie not the default date and time)? Same question goes for custom x/y labels and legends. We may need a checkbox/option on the gui to prevent this.