-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multivariable charts #8755
Labels
Milestone
Comments
dsuren1
added
New Feature
used for new functionalities
C040-COMUNE_GE-2022-CUSTOM-SUPPORT
labels
Nov 2, 2022
6 tasks
allyoucanmap
added a commit
to allyoucanmap/MapStore2
that referenced
this issue
Oct 24, 2023
5 tasks
offtherailz
pushed a commit
that referenced
this issue
Oct 27, 2023
2 tasks
allyoucanmap
added a commit
to allyoucanmap/MapStore2
that referenced
this issue
Oct 27, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Finalized implementation flow
Multivariable chart
1. Current chart configuration
Current chart configuration and functionality with respect to chart type (Bar, Line and Pie) are retained as is except for changes to the chart wizard is toolbar and Chart dropdown field is that all the configurations with respect to current chart is accessible from the buttons placed next to charts dropdown
Toolbar
Chart field
In order of the buttons placed
Multi chart
)2. Multi chart type
A new chart type is introduced to handle multivariable chart configuration. User will be able to select a new chart type called ‘Multi chart’
Traces
Traces are meaningful grouping of data for the chart. Each trace corresponds to a layer.
In order of the buttons placed
Trace options
Trace options are specific configuration applicable for the trace
Template (hovertemplate) properties of yaxis (suffix, prefix, format and formula) are used to format value to be present on the tooltip
Advanced Options
Tick format properties of yaxis (suffix, prefix, format and formula) are used used to format value to be present on yaxis
2.1 Multiple trace - Different trace type
When more than one trace is present, the user can configure each trace with a chart type from the
trace type
field in trace optionExample
2.2 Multiple trace - Y axis
Enabled when more than one trace is present, the user can configure yaxis specific configuration
2.3 Multiple trace - Template
User can configure template of yaxis per trace using the following configuration options from trace option
2.4 Multiple trace - X attributes
On
Multi chart
type, the x attributes should have the same domain. Hence the user can add layers which are similar or layers with similar attributes. If an invalid layer is selected a similar error message is displayed on layer selector2.5 Multiple trace - Delete trace
2.6 Multiple trace - Changing chart type
When user changes the chart type from Multi chart to predefined chart type (Bar or Line)
When only one trace is present, the chart data is retained during the type change and the traces and trace specific options are hidden (Traces, trace type and template)
When multiple traces are present, changing chart type the data is not retained. And should warn the user about the data loss
2.7 Multiple trace - Filter
Filter is applied per trace. Dependencies to other widgets is to be managed based on the filter/quickfilter accordingly
Mockup
The
Multi chart
type is available and configurable only in the Dashboard widgets for now. Support for in Map viewer will be a future enhancement.To make this new feature available also in map viewer it is necessary to change the current behavior of layer association from TOC selection or allow to select (eg. from a drop down) additional layers (from the ones available in TOC) in the wizard.
The text was updated successfully, but these errors were encountered: