class %DeepSee.Report.Model.Chart.Chart
extends %DeepSee.Report.Model.Element
parameter DEFAULTASPECT = "none";
Do not worry about preserving the aspect ratio.
parameter DEFAULTMARKERSVISIBLE = 0;
Default value for the markersVisible property.
parameter DEFAULTPLOTTOEDGE = 1;
Default value for the plotToEdge property.
parameter DEFAULTVIEWBOXHEIGHT = 100;
Default viewBoxHeight of this component.
This is set to 100 to provide a fixed coordinate system for meters.
parameter DEFAULTVIEWBOXWIDTH = 100;
Default viewBoxWidth of this component.
This is set to 100 to provide a fixed coordinate system for meters.
property backgroundStyle
as %ZEN.Datatype.style;
Optional: style used for chart background panel.
property bandLower
as %ZEN.Datatype.float;
If defined, then a colored band (specified by bandLowerStyle)
is displayed on the plot area covering the range lower than this value;
property bandLowerStyle
as %ZEN.Datatype.style;
Optional: style used for upper band on plot area.
property bandUpper
as %ZEN.Datatype.float;
If defined, then a colored band (specified by bandUpperStyle)
is displayed on the plot area covering the range greater than this value;
property bandUpperStyle
as %ZEN.Datatype.style;
Optional: style used for upper band on plot area.
property children
as list of Axis(XMLELEMENTREF=1,XMLPROJECTION="ELEMENT",XMLTYPECONSTRAINT="CHOICE");
Every child must be an axis.
property dataFields
as %ZEN.Datatype.csv;
Comma-delimited list of fields to acquire data from. If dataGroup
is provided, only the first data field is used.
property dataGroup
as %ZEN.Datatype.string;
Specifies the group the group that corresponds to the data elements for the chart.
property gridStyle
as %ZEN.Datatype.style;
Optional: default style applied to all grid line elements for this chart.
If defined, this style overrides any styles define in the CSS style
definition for the page, but is in turn overridden by any styles defined
by a specific axis element.
property height
as %ZEN.Datatype.length;
Height of the chart within the report.
property labelStyle
as %ZEN.Datatype.style;
Optional: default style applied to all grid label elements for this chart.
If defined, this style overrides any styles define in the CSS style
definition for the page, but is in turn overridden by any styles defined
by a specific axis element.
property legendHeight
as %ZEN.Datatype.float;
If this chart has a legend, height (within the chart coordinate space) of legend box.
If not specified a default height (based on number of data series) will be used.
property legendLabelStyle
as %ZEN.Datatype.style;
Optional: style used for text within the legend box.
property legendStyle
as %ZEN.Datatype.style;
Optional: style used for background of the legend box.
property legendVisible
as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
If true, display a legend for this chart.
property legendWidth
as %ZEN.Datatype.float;
If this chart has a legend, width (within the chart coordinate space) of legend box.
If not specified a default width will be used.
property legendX
as %ZEN.Datatype.float [ InitialExpression = 0 ];
If this chart has a legend, x-position (within the chart coordinate space) of legend box.
property legendY
as %ZEN.Datatype.float [ InitialExpression = 0 ];
If this chart has a legend, y-position (within the chart coordinate space) of legend box.
property marginBottom
as %ZEN.Datatype.float [ InitialExpression = 10 ];
Margin (within the chart coordinate space) from bottom edge of chart to bottom edge of grid (plot area).
property marginLeft
as %ZEN.Datatype.float [ InitialExpression = 10 ];
Margin (within the chart coordinate space) from left edge of chart to left edge of grid (plot area).
property marginRight
as %ZEN.Datatype.float [ InitialExpression = 2 ];
Margin (within the chart coordinate space) from right edge of chart to right edge of grid (plot area).
property marginTop
as %ZEN.Datatype.float [ InitialExpression = 6 ];
Margin (within the chart coordinate space) from top edge of chart to top edge of grid (plot area).
property markerScale
as %ZEN.Datatype.float [ InitialExpression = 1 ];
Scaling applied to chart markers:
A value of 1.0 (or '') will display markers with their default size.
This only applies to charts that support markers.
property markerShapes
as %ZEN.Datatype.csv [ InitialExpression = "circle,up,down,square" ];
Comma-delimited list of marker shapes used for data series markers.
Possible values are 'up','down','square','circle'.
This only applies to charts that support markers.
property markerStyle
as %ZEN.Datatype.style;
Optional: style used for series markers.
property markersVisible
as %ZEN.Datatype.boolean [ InitialExpression = ..#DEFAULTMARKERSVISIBLE ];
Specifies whether markers should be displayed for the data
points within the line chart.
This only appies to charts that display markers.
property plotAreaStyle
as %ZEN.Datatype.style;
Optional: style used for chart plot area panel.
property plotStyle
as %ZEN.Datatype.style;
Optional: default style applied to svg elements used for plotting
data by this chart (such as the line in a line chart).
property plotToEdge
as %ZEN.Datatype.boolean [ InitialExpression = ..#DEFAULTPLOTTOEDGE ];
Specifies how values should be plotted along a category axis.
If true, plot the first and last values on the edges of the plotArea
(as in a line chart). If false, plot values in the centers of each
unit (as in a bar chart).
This is specified by subclasses.
property seriesColors
as %ZEN.Datatype.csv [ InitialExpression = "blue,red,green,yellow,orange,plum,purple" ];
Comma-delimited list of CSS color values used for data series. The colors can
be acquired dynamically by using the form "!fieldname".
property seriesCount
as %ZEN.Datatype.string;
Number of data series to display on this chart.
If "", then this is computed automatically from the chart's data source.
property seriesGroup
as %ZEN.Datatype.string;
Specifies the group the group that corresponds to the list of series for the chart.
property seriesNames
as %ZEN.Datatype.csv;
Comma-delimited list of names used to label each data series in the legend box. The
series names can be acquired dynamically by beginning them with a "!". If
seriesGroup is provided, only the first series name field is
considered.
property seriesSize
as %ZEN.Datatype.string;
Number of items within each data series to display on this chart.
If "", then this is computed automatically from the chart's data source.
property title
as %ZEN.Datatype.string;
Title to display for chart.
property titleStyle
as %ZEN.Datatype.style;
Optional: style used for title text.
property titleX
as %ZEN.Datatype.float [ InitialExpression = 50 ];
If this chart has a title, x-position (within the chart coordinate space) of the title.
property titleY
as %ZEN.Datatype.float [ InitialExpression = 5 ];
If this chart has a legend, y-position (within the chart coordinate space) of the title.
property width
as %ZEN.Datatype.length;
Height of the chart within the report.