-
-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
Description
Hello
Currently, in Lizmap Dataviz (QGIS Plugin and Web Client), the Y-axis of scatter and line plots is automatically scaled based on the data values.
It is not possible to set a fixed minimum and maximum value for the Y-axis in the JSON configuration. This makes it difficult to compare multiple plots with the same scale or to create standardized visualizations.
Proposed feature:
- Add support for optional
y_axis_minandy_axis_maxparameters in the JSON configuration for each trace or plot. - When specified, these values should override the automatic scaling of the Y-axis, while still keeping all other Dataviz features intact.
- Ideally, the feature should be available for scatter and line plots, both in the plugin GUI and when editing the JSON configuration directly.
Use cases:
- Standardizing Y-axis across multiple plots for comparison.
- Avoiding misleading visualizations when datasets have very different ranges.
- Enabling consistent dashboards for monitoring environmental, engineering, or geospatial data.
Thank you for considering this enhancement. It would greatly improve usability and flexibility of Lizmap Dataviz.
Best regards
Andreas
Reactions are currently unavailable