Import of Origin graphs with multiple layers
Description
Multiple layers are used in Origin to
- either implement multiple plots
- or multiple axes on the same plot
See https://www.originlab.com/doc/Origin-Help/MultiLayer-Graph\ for more details.
At the moment we're importing every layer as a new plot area and with this don't properly support plots with multiple axes (data ranges) on the same plot. Liborigin doesn't have the proper support for these two variants in Origin and the invest to implement this in liborigin is very high. In LabPlot we would be able to import one of the options at the same time.
To remedy this problem we introduce a new parameter to control how to import such multiple layers - either as a new plot area or as a new coordinate system on the same plot so the user can decide how to import depending on the content of the project file.
With this we still won't be able to handle Origin projects where both variants are used at the same time but we at least can properly handle projects where one of them is used.
two-axes.opj - project file to test this feature. Another project file can be found in https://bugs.kde.org/show_bug.cgi?id=476355 which is going to be addressed with this MR.
Conformity
-
Changelog entry -
Unit tests -
Update INSTALL -
Downport - Fixes: BUG 476355
When external dependencies are removed
-
Reporting to ...