Stack Date Values per Month
Objective
-
If you want to build a stacked chart with date values and stack them per month but the date values are not on the same day, the data points are not stacked.
Solution
-
Open axis customizing
-
X-axis (DateTime)
-
IntervalType= "Months" – only show months on the x-axis -
LabelFormat= "MMM" – only show month abbreviation as labels -
RoundToIntervalType= "true" – round date values to beginning of the month
-
-
The ticks on the axis are the end of a month, not the beginning of the next one.
Column and Bar Charts with Multiple Data Series
Objective
-
In column and Gantt charts, a separate area is reserved for each data series for the X or Y value. For example, if there are 3 data series and 3 X values, each data series receives 1/3 of the space per X value.
-
If grouping is enabled, multiple data series are also created, and the same problem occurs.
Solution
-
The Data Series Grouping parameter can be used to combine multiple data series on the same X value.
Applies only to versions prior to Web release 3.1.0; as of this release, grouping is no longer required.
Examples
JSON settings for risk charts
Objective
-
JSON settings for a risk chart with a legend and labeled x- and y-axes.
Solution
Example
Risk Charts with Several Dimensions
Objective
-
JSON configuration for a risk chart with more than three dimensions. The default colors can be overridden with the ColorPalette parameter; in this case, the colors are distributed approximately evenly across the entire chart.
Solution
Example
Risk charts with color matrix
Objective
-
JSON configuration for a risk chart with particular color areas that are set via the ColorMatrix parameter.
-
This allows fixed colors to be defined for specific risk areas.
-
Example
Process Chart
Objective
-
JSON configuration for a process chart for displaying project phases. Every step displays the phase name (
XValue) above the timeline and is marked as the current phase viaYvalue(Boolean).-
Steps before the current phase are displayed as completed, the current step as active, the following as pending.
-
Process Chart with Status Text per Step
Objective
-
If the Text parameter is set for a data series, a second row appears beneath every step.
-
Completed steps show a checkmark followed by the value of the Text data field; typically a date such as 12.11.24.
-
The active step is marked with the status “In Progress”.
-
Pending steps show the “Pending” status.
-
-
If there is no value set for the Text data field, the status bar is completely hidden.
Data Field Matrix Chart
Objective
-
JSON settings for a data field matrix chart for displaying data field values; e. g. resource avatars; in a matrix of X and Y categories.
Milestone Chart with Past Date Colors
Objective
-
For the PastDatesColor parameter to take effect on a date-time Y-axis, the parameter must be set on the Y-axis object; the value on the X-axis is ignored in this case.
-
In this case, the RangePadding parameter must also be set on the Y-axis.
-