[toc] [elements] [attributes] [types]
<annotation |
||
[href="MessageFormat"] | Specifies the action of an annotation. | |
> |
||
| [<text/>] | ||
| {<attr/>} | ||
</annotation> |
||
This tag is used for annotating areas in the resulting chart. For example, bars in a bar chart can have hyperlinks that direct the user to another page.
Most attributes for annotation are given with attr elements. However, there exists a special attribute for the action of an annotation and a special element for the description of an annotation.
With annotation elements, it is
guaranteed that the action of an annotation is defined with
href attribute.
Likewise, it is guaranteed that the description of an annotation is defined
with text element. The output
format of the chart does not have any effect on the guarantees. For example,
for charts used in HTML pages and for charts in SVG format, the action of
an annotation is defined with href attribute.
If multiple annotation elements
exist within the same parent element, the attributes defined within
annotation elements will be combined. If
the same attribute is defined in many annotation
elements within the same parent element, the definition within the last
annotation element is used.
The annotation tag is just one way to obtain annotation
links for data values. The tag is well suited for giving a common
annotation link for many data values. When each data value should have a
unique annotation link, the column element with
url value in
type attribute could be used. Another way is to use annotation
possibility given in PaintValue attribute type for data values.
Specifies the action of an annotation.
See href description.
| <annotation href="MessageFormat"/> | |
|---|---|
| NULL | |
[toc] [elements] [attributes] [types]
<area |
||
[backColor="PaintValue"] | Background borderline color. | |
[backPaint="PaintValue"] | Background fill paint. | |
[backStroke="Stroke"] | Background borderline width and style. | |
[color="PaintValue"] | Default area generic color. | |
[paint="PaintValue"] | Default area generic paint. | |
[stroke="Stroke"] | Default area generic line width and style. | |
> |
||
</area> |
||
This tag defines chart background area series attributes which control the appearance of chart background area.
Chart background area extends the whole area over which the chart is drawn upon. The background area is surrounded with a borderline, and filled with background paint. The background area will be partially painted over with shapes and forms that make the actual chart, but the areas that remain untouched will show the background paint. The background will also show through any partially transparent chart components. The background itself may also be partially and totally transparent, in which case any graphics placed beneath the chart in the final page layout will also show through.
Chart background area borderline will always surround the whole chart area, and all chart component will always be strictly contained within the borderline. The borderline may also be infinitely thin (stroke width zero), in which case the chart will appear to have no borderline.
<area paint="red-vertical" color="black" stroke="2"/>
Background borderline color. The borderline surrounds the entire chart image outer edge, but it will be visible and painted with this color only if the borderline stroke width is also not zero.
See backColor description.
| <area backColor="PaintValue"/> | |||||
|---|---|---|---|---|---|
|
|||||
| Note | Affects | Description | |
|---|---|---|---|
| unsupported |
|
Table chart ignores this setting. |
Background fill paint. The background area covers the entire chart image, and it will be filled with this paint before anything else is drawn on it. Chart visualizations will then be drawn on top of the backgound area, leaving parts of it visible, and obscuring the rest either partially or completely.
See backPaint description.
| <area backPaint="PaintValue"/> | |||||
|---|---|---|---|---|---|
|
|||||
Background borderline width and style. A zero borderline width (the default) indicates no borderline. Anything else will make the borderline visible, and painted with the borderline color.
Borderline width will eat away space from the actual chart visualizations, up to an point where an extreamly wide borderline fills the entire chart image area.
See backStroke description.
| <area backStroke="Stroke"/> | |||||
|---|---|---|---|---|---|
|
|||||
| Note | Affects | Description | ||||
|---|---|---|---|---|---|---|
| unsupported |
|
Table chart ignores this setting. |
||||
| exception |
|
Only width setting is supported. |
Default area generic color. If set, it will be used as the default color for all area specific color settings within this area.
Please note that areas do currently support only one color attribute, backColor. This may change in the future.
See color description.
| <area color="PaintValue"/> | |
|---|---|
| black | |
Default area generic paint. If set, it will be used as the default paint for all area specific paint settings within this area.
Please note that areas do currently support only one paint attribute, backPaint. This may change in the future.
See paint description.
| <area paint="PaintValue"/> | |
|---|---|
| white | |
Default area generic line width and style. If set, it will be used as the default width and style for all area specific line settings within this area.
Please note that areas do currently support only one line width and style attribute, backStroke. This may change in the future.
See stroke description.
| <area stroke="Stroke"/> | |
|---|---|
| 0 | |
| Note | Affects | Description | ||||
|---|---|---|---|---|---|---|
| exception |
|
Only width setting is supported. |
[toc] [elements] [attributes] [types]
<attr |
||
name="Text" | Name of the attribute. | |
[value="Text"] | Value of the attribute. | |
> |
||
</attr> |
||
Attribute for annotation is given with this element. In theory, attribute name and value are free for the user to choose. Given attribute name and value are passed to the resulting chart as they were given after possible macro expansion.
Depending from the output format of the chart, there might be some attribute names that are read but later ignored. For example, with charts that are used in HTML pages, the following two attribute names will be ignored:
The reason for ignoring these attribute names is the fact that areas for annotation are known only after creating the chart. After the chart is created, the values for these attributes are created automatically.
With charts that are created with SVG format, the following two attribute names will be ignored:
The reason for ignoring these attributes is the guaranteeing of using href attribute for defining the action of an annotation and using text element for defining the description of an annotation. Due to these guarantees, the following attributes will be ignored for all output formats of a chart:
Name of the attribute.
See name description.
| <attr name="Text"/> | |
|---|---|
| NULL | |
Value of the attribute.
See value description.
| <attr value="Text"/> | |
|---|---|
| NULL | |
[toc] [elements] [attributes] [types]
<attributes |
||
[chartType="ChartType"] | Chart type. | |
[id="Id"] | Attribute set identity. | |
[locale="Locale"] | String formatting and parsing locale. | |
[multiseriesMode="Boolean"] | Determines the behaviour of palette colors and paints, and legend rendering. | |
[namespace="Text"] | Property file for determining areas. | |
[urlContext="Url"] | Base URL address. | |
> |
||
| [<image/>] | ||
| [<lighting/>] | ||
| [<legend/>] | ||
| [<area/>] | ||
| [<plot/>] | ||
| {<axes/>} | ||
</attributes> |
||
This tag and it's children define all aspects of chart visual appearance and style. This tag is one of the two main chart control tags, the other being the <data/> tag which controls all chart input data.
Attribute tags may appear alone or together with other
attribute tags which each defining a set of visual appearance and
style settings. If more than one attribute tags are defined together,
each should be given an unique id
attribute value so that the individual sets can be told apart, and
referenced at individually. If an attribute tag appears alone, no
id is necessary, as all functions that
need chart attributes will default to the first attribute set
available.
Besides visual appearance, chart attributes define also a set of contextual attributes that affect how attribute and data values are intepreted. Please see locale and urlContext for more information.
<attributes id="style1">
<area color="black" paint="red-vertical"
stroke="dot-1"/>
</attributes>
Chart type. If the chart type uses sub-charts, they are defined by enclosed <axes/> tags, each with it's own sub-chart type attribute. If the selected chart type does not use sub-charts, the enclosed tags are expected to define only one <axes/> tag, without any sub-chart type attribute.
See chartType description.
| <attributes chartType="ChartType"/> | |
|---|---|
| NULL | |
| Note | Affects | Description | |
|---|---|---|---|
| note |
|
At the moment, the only chart type to support sub-charts is
the |
Attribute set identity. If defined, applications may explicitly refer to and select which attribute set to use when there are several different sets available. If there is any ambiguity of which set to use, the set that gets selected depends on the application in question, although the most typical and recommended behaviour is always to select the first available set.
If there is only one attribute set defined in given context, there is no ambiguity about which set should be used. In these cases it is not strictly necessary to give the sets any identities. However, it would be good coding practice to define identites even in these cases, in case more attribute sets are defined in the same contexts in the future.
See id description.
| <attributes id="Id"/> | |
|---|---|
| NULL | |
String formatting and parsing locale. This locale will be used when formatting and parsing attribute and data value strings, unless explicitly set otherwise for some particular item.
See locale description.
| <attributes locale="Locale"/> | |
|---|---|
| runtime environment default locale | |
| Note | Affects | Description |
|---|---|---|
| note |
|
Currently |
Determines the behaviour of palette colors and paints, and legend rendering. Given multiseries mode affects the whole chart.
See multiseriesMode description.
| <attributes multiseriesMode="Boolean"/> | |
|---|---|
| depends from the count of value series | |
| Note | Affects | Description | |
|---|---|---|---|
| unsupported |
|
Table chart ignores this attribute. |
|
| unsupported |
|
Scale legends ignore this attribute. |
Property file for determining areas.
See namespace description.
| <attributes namespace="Text"/> | |
|---|---|
| NULL | |
| Note | Affects | Description | |
|---|---|---|---|
| supported |
|
Only map chart supports namespace attribute. Requires Thematic Mapping Extension. |
Base URL address. If defined, relative URL addresses will be evaluated against given base URL address instead of a default one.
See urlContext description.
| <attributes urlContext="Url"/> | |
|---|---|
| use case specific value | |
[toc] [elements] [attributes] [types]
<axes |
||
[axisColor="PaintValue"] | Axis line default color. | |
[axisStroke="Stroke"] | Axis line default width and style. | |
[backColor="PaintValue"] | Axis borderline default color. | |
[backPaint="PaintValue"] | Default axis background fill paint. | |
[backStroke="Stroke"] | Axis borderline default width and style. | |
[color="PaintValue"] | Axis default color. | |
[dataGroup="Id"] | Source data group. | |
[font="Font"] | Axis default font. | |
[gap="Percentage"] | Default relative distance between uniformly laid elements. | |
[gridColor="PaintValue"] | Grid line default color. | |
[gridLines="Boolean"] | Controls if axis grid lines should be drawn by default or not. | |
[gridStroke="Stroke"] | Grid line default width and style. | |
[labelAlignment="Alignment"] | Axis label default alignment. | |
[labelColor="PaintValue"] | Axis label default color. | |
[labelFont="Font"] | Axis label default font. | |
[labelFormat="DataFormat"] | Axis value label default format. | |
[labelOffset="Size"] | Default distance between axis line and labels. | |
[labelPaint="PaintValue"] | Axis label background paint. | |
[labelRotation="Degrees"] | Axis label default orientation. | |
[markerOffset="Size"] | Default distance between axis and marker labels. | |
[opposite="Boolean"] | Axis default side of the placement of labels and title. | |
[paint="PaintValue"] | Axis default paint. | |
[position="Position"] | Axis default position. | |
[reversed="Boolean"] | Axis default positive growth direction. | |
[silent="Boolean"] | Axis default omission of labels. | |
[stroke="Stroke"] | Default axis line line width and style. | |
[subChartType="SubChartType"] | Sub-chart type. | |
[ticColor="PaintValue"] | Color of tic marks. | |
[ticStroke="Stroke"] | Rendering details of tic marks. | |
[titleAlignment="TitleAlignment"] | Defines default alignment for axis title. | |
[titleColor="PaintValue"] | Axis title default color. | |
[titleFont="Font"] | Defines default font for axis title. | |
[titleOffset="Size"] | Defines default offset for axis title. | |
[titleRotation="Degrees"] | Defines default rotation for axis title. | |
> |
||
| [<plot/>] | ||
| {<axis/>} | ||
</axes> |
||
This tag defines a coordinate axis system, made of a number of data axes (X, Y, Z, and others). Axis system attributes define how data is laid on a coordinate system, what value ranges of the data are shown, what decorations and titles are placed on each axis, and what viewing angle will be used to look at the result.
Each coordinate axis system displays data coming from a single data group. Basic charts accept data from only one such group, and hence use exactly one coordinate axis system. Combination charts combine data from several data groups, and hence use multiple coordinate axis systems.
Certain charts ignore certain coordinate axis system
attributes as irrelevant. For example, pie charts use axes only to control the viewing angle
from which the resulting pie will be looked at. Please see the
exception notes associated with affected attributes below.
An <axes/> tag may contain a number of <axis/> children tags which define axis specific details and exceptions, and a single <plot/> tag that defines coordinate axis system specific plot area attributes. The plot tag is useful in particular with combination charts with multiple axis systems.
Axis line default color. All axis lines in this axis group will be draw with this color, unless explicitly set otherwise for some particular axis.
See axisColor description.
| <axes axisColor="PaintValue"/> | |||||
|---|---|---|---|---|---|
|
|||||
Axis line default width and style. All axis lines in this axis group will be draw with this stroke, unless explicitly set otherwise for some particular axis.
See axisStroke description.
| <axes axisStroke="Stroke"/> | |||||
|---|---|---|---|---|---|
|
|||||
| Note | Affects | Description | ||||
|---|---|---|---|---|---|---|
| exception |
|
Only width setting is supported. |
Axis borderline default color. Please see <axis/> tag description for more information about axis borderlines.
Individual axes may override this setting with <axis/> tag backColor attribute.
See backColor description.
| <axes backColor="PaintValue"/> | |||||
|---|---|---|---|---|---|
|
|||||
| Note | Affects | Description | |
|---|---|---|---|
| unsupported |
|
Table chart ignores this setting. |
Default axis background fill paint. Please see <axis/> tag description for more information about axis background.
Individual axes may override this setting with <axis/> tag backPaint attribute.
See backPaint description.
| <axes backPaint="PaintValue"/> | |||||
|---|---|---|---|---|---|
|
|||||
Axis borderline default width and style. All axis borderlines in this axis group will be drawn with this width and stylecolor, unless explicitly set otherwise for some particular axis.
See backStroke description.
| <axes backStroke="Stroke"/> | |||||
|---|---|---|---|---|---|
|
|||||
| Note | Affects | Description | ||||
|---|---|---|---|---|---|---|
| unsupported |
|
Table chart ignores this setting. |
||||
| exception |
|
Only width setting is supported. |
Axis default color. If set, it will be used as the default color for all axis specific color settings within this axis group. In particular, the following color settings will use this attribute as their default value.
Each listed attribute may later be set individually, overriding this generic setting. The values may also be overridden further with axis specific settings.
See color description.
| <axes color="PaintValue"/> | |
|---|---|
| black | |
| Note | Affects | Description | ||||||
|---|---|---|---|---|---|---|---|---|
| exception |
|
These charts apply the given default color for axisColor only. |
Source data group. If defined, all rendering that goes into this coordinate system will take primary data from the given data group. If this is a composite chart with multiple <axes/> tags, each may use a different different data group.
For more information about data groups, please see group and dataGroup attribute documentation.
See dataGroup description.
| <axes dataGroup="Id"/> | |
|---|---|
| NULL | |
| Note | Affects | Description | |||||
|---|---|---|---|---|---|---|---|
| unimplemented |
|
The current versions of 3D charts do not yet implement this feature. |
Axis default font. If set, it will be used as the default font for all axis specific font settings within this axis group. In particular, the following font settings will gain a new default value.
Each listed attribute may later be set individually, overriding this generic setting. The values may also be overridden further with axis specific settings.
See font description.
| <axes font="Font"/> | |
|---|---|
| Serif-12 | |
Default relative distance between uniformly laid elements. If set, it will be used as the default gap for all axis in this axis coordinate system.
Individual axes may override this setting with axis gap attribute.
See gap description.
| <axes gap="Percentage"/> | |
|---|---|
| 25 | |
| Note | Affects | Description | ||||
|---|---|---|---|---|---|---|
| unsupported |
|
These charts do not support gap attribute. |
Grid line default color. All axis grid lines in this axis group will be drawn with this color, unless explicitly set otherwise for some particular axis.
See gridColor description.
| <axes gridColor="PaintValue"/> | |||||
|---|---|---|---|---|---|
|
|||||
Controls if axis grid lines should be drawn by default or not. Individual axes may override this setting with axis gridLines attribute.
The default is to draw the grid lines, although the exact default behaviour is chart type specific. Please also see <axis/> tag documentation for more information about axis backfaces.
See gridLines description.
| <axes gridLines="Boolean"/> | |
|---|---|
| true for value axes, false for others | |
| Note | Affects | Description | |||||
|---|---|---|---|---|---|---|---|
| exception |
|
Only vertical (X -axis) grid lines are drawn by default. |
|||||
| exception |
|
Only horizontal (Y -axis) grid lines are drawn by default. |
|||||
| unsupported |
|
These chart types do not ever draw any coordinate axes or gridlines. Instead they just ignore this setting. |
Grid line default width and style. All axis grid lines in this axis group will be drawn with this width and style, unless explicitly set otherwise for some particular axis.
See gridStroke description.
| <axes gridStroke="Stroke"/> | |||||
|---|---|---|---|---|---|
|
|||||
| Note | Affects | Description | ||||
|---|---|---|---|---|---|---|
| exception |
|
Only width setting is supported. |
Axis label default alignment. All axis labels in this axis group will be aligned like this, unless explicitly set otherwise for some particular axis.
See labelAlignment description.
| <axes labelAlignment="Alignment"/> | |
|---|---|
| center | |
| Note | Affects | Description | ||||
|---|---|---|---|---|---|---|
| exception |
|
Only 'inside' and 'outside' values are implemented for pie charts. |
||||
| unsupported |
|
These charts do not support alignment attribute. |
Axis label default color. All axis labels and markers in this axis group will be drawn with this color, unless explicitly set otherwise for some particular axis.
See labelColor description.
| <axes labelColor="PaintValue"/> | |||||
|---|---|---|---|---|---|
|
|||||
Axis label default font. All axis labels and markers in this axis group will be rendered with this font, unless explicitly set otherwise for some particular axis or marker.
See labelFont description.
| <axes labelFont="Font"/> | |||||
|---|---|---|---|---|---|
|
|||||
Axis value label default format. All axis value labels in this axis group will be formatted with this format template, unless explicitly set otherwise for some particular axis.
See labelFormat description.
| <axes labelFormat="DataFormat"/> | |
|---|---|
| NULL | |
| Note | Affects | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| unsupported |
|
Pie chart does not draw axes or labels along them and thus it ignores this setting. Instead, pie chart draws values, which are controlled with <plot/> tag valueFormat attribute. |
|||||||||
| unsupported |
|
These charts do not support labelFormat attribute. |
Default distance between axis line and labels. All labels along all axes in this axis group will be placed this far from their respective axis lines, unless explicitly set otherwise for some particular axis.
See labelOffset description.
| <axes labelOffset="Size"/> | |
|---|---|
| 25% of font size, or 3 pixels if font size is unknown | |
| Note | Affects | Description | |||||
|---|---|---|---|---|---|---|---|
| unsupported |
|
These chart types do not draw axes or labels along them, so they do just ignore this setting. |
|||||
| unsupported |
|
These charts do not support labelOffset attribute. |
|||||
| supported |
|
Only legend chart supports label offset in the legend tag. Furthermore, legend chart does not draw axes or labels along them, so label offset in axes and axis tags is ignored. |
Axis label background paint.
See labelPaint description.
| <axes labelPaint="PaintValue"/> | |||||
|---|---|---|---|---|---|
|
|||||
| Note | Affects | Description | |
|---|---|---|---|
| supported |
|
Only table factory supports this attribute. |
|
| exception |
|
This attribute has an exceptional default path. First, default is searched normally as given in the default list. If, however, no value has been specified on the default path, the back paint of the plot tag is used. The default path of the back paint of the plot tag works normally. |
Axis label default orientation. All axis labels along all axes in this axis group will be oriented to given angle, unless explicitly set otherwise for some particular axis.
Please note that axis markers are unaffected by this attribute. Instead, they have their own label rotation attribute that affects each marker separately.
See labelRotation description.
| <axes labelRotation="Degrees"/> | |
|---|---|
| 0 | |
| Note | Affects | Description | |||||
|---|---|---|---|---|---|---|---|
| unsupported |
|
These chart types do not draw axes or labels along them, so they do just ignore this setting. |
|||||
| unsupported |
|
These chart types do draw axes or labels along them, but they do not support labelRotation attribute at the moment. |
|||||
| unsupported |
|
Table chart does not support labelRotation attribute. |
Default distance between axis and marker labels. All marker labels along all axes in this axis group will be placed this far from axis value labels, unless explicitly set otherwise for some particular axis.
See markerOffset description.
| <axes markerOffset="Size"/> | |
|---|---|
| 0 | |
| Note | Affects | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| note |
|
All markers in one axis have the same marker offset. |
||||||||||
| unsupported |
|
These charts do not support markers. |
Axis default side of the placement of labels and title. All axis in this axis group will have their side of the placement of labels and title determined with this attribute, unless explicitly set otherwise for some particular axis.
See opposite description.
| <axes opposite="Boolean"/> | |
|---|---|
| false | |
| Note | Affects | Description | ||||
|---|---|---|---|---|---|---|
| unsupported |
|
These chart types do not draw axes and thus they ignore this setting. |
||||
| unsupported |
|
These charts do not support opposite attribute. |
Axis default paint. If set, it will be used as the default paint for all axis specific paint settings within this axis group. In particular, the following paint settings will use this attribute as their default value.
Each listed attribute may later be set individually, overriding this generic setting. The values may also be overridden further with axis specific settings.
See paint description.
| <axes paint="PaintValue"/> | |
|---|---|
| lightgray (for backPaint) | NULL (for marker pointPaint) | backPaint of plot tag (for labelPaint) | |
Axis default position. All axis in this axis group will be intersected by other axes at this position, unless explicitly set otherwise for some particular axis.
Giving a default position in the form of
DataValue
to all axes does not necessarily work very well.
For example, if one axis represents days and another axis represents
salaries, specifying the default position as 4 days does not work.
See position description.
| <axes position="Position"/> | |
|---|---|
| (0) | |
| Note | Affects | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| exception |
|
Uses a fixed value of |
||||||||||
| unsupported |
|
These charts do not support position attribute on an axis (on axes, axis and marker tags.) |
Axis default positive growth direction. All axis in this axis group will have their positive growth direction determined with this attribute, unless explicitly set otherwise for some particular axis.
See reversed description.
| <axes reversed="Boolean"/> | |
|---|---|
| false | |
| Note | Affects | Description | |||||
|---|---|---|---|---|---|---|---|
| unsupported |
|
These chart types do not draw axes and thus they ignore this setting. |
|||||
| unsupported |
|
These charts do not support reversed attribute. |
Axis default omission of labels. All axis in this axis group will have their showing of labels determined with this attribute, unless explicitly set otherwise for some particular axis.
See silent description.
| <axes silent="Boolean"/> | |
|---|---|
| false | |
| Note | Affects | Description | |||||
|---|---|---|---|---|---|---|---|
| unsupported |
|
These chart types do not draw axes and thus they ignore this setting. |
|||||
| unsupported |
|
These charts do not support silent attribute. |
Default axis line line width and style. If set, it will be used as the default for all axis specific line width and style settings within this axis group. In particular, the following line width and style settings will use this attribute as their default value.
Each listed attribute may later be set individually, overriding this generic setting. The values may also be overridden further with axis specific settings.
See stroke description.
| <axes stroke="Stroke"/> | |
|---|---|
| (solid-)1 | |
| Note | Affects | Description | ||||
|---|---|---|---|---|---|---|
| exception |
|
Only axisStroke default value can be set using stroke. |
||||
| exception |
|
Only width setting is supported. |
Sub-chart type. Used for defining a sub-chart of this
<axes/> tag for charts with sub-chart
support.
See subChartType description.
| <axes subChartType="SubChartType"/> | |
|---|---|
| NULL | |
| Note | Affects | Description | |
|---|---|---|---|
| supported |
|
This attribute is meaningfull and mandatory for charts that
have can have sub-charts. One example of such charts is a combination
chart. For combination charts, any number of component charts
may be defined by defining an equal number of |
Color of tic marks. The default color of the tic marks of individual axes is not necessarily the color defined with this attribute. See the ticColor attribute of <axis/> tag for information about the defaults for the color of the tic marks.
See ticColor description.
| <axes ticColor="PaintValue"/> | |||||
|---|---|---|---|---|---|
|
|||||
| Note | Affects | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| unsupported |
|
These charts do not support tic marks. |
Rendering details of tic marks. The default stroke of the tic marks of individual axes is not necessarily the stroke defined with this attribute. See the ticStroke attribute of <axis/> tag for information about the defaults for the stroke of the tic marks.
See ticStroke description.
| <axes ticStroke="Stroke"/> | |||||
|---|---|---|---|---|---|
|
|||||
| Note | Affects | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| unsupported |
|
These charts do not support tic marks. |
Defines default alignment for axis title. Individual axes may override this setting with <axis/> tag titleAlignment attribute.
See titleAlignment description.
| <axes titleAlignment="TitleAlignment"/> | |
|---|---|
| center | |
| Note | Affects | Description | ||||
|---|---|---|---|---|---|---|
| unsupported |
|
These charts do not have titles for axes. Therefore, titleAlignment attribute is not supported. |
||||
| unsupported |
|
These charts do not support titleAlignment. |
Axis title default color. All axis titles in this axis group will be drawn with this color, unless explicitly set otherwise for some particular axis.
See titleColor description.
| <axes titleColor="PaintValue"/> | |||||
|---|---|---|---|---|---|
|
|||||
| Note | Affects | Description | |||
|---|---|---|---|---|---|
| unsupported |
|
These charts do not draw axes and thus they ignore this setting. |
Defines default font for axis title. Individual axes may override this setting with <axis/> tag titleFont attribute.
See titleFont description.
| <axes titleFont="Font"/> | |||||
|---|---|---|---|---|---|
|
|||||
| Note | Affects | Description | |||
|---|---|---|---|---|---|
| unsupported |
|
These charts do not draw axes and thus they ignore this setting. |
Defines default offset for axis title. Individual axes may override this setting with <axis/> tag titleOffset attribute.
Offset defines the gap between the title and axis labels.
See titleOffset description.
| <axes titleOffset="Size"/> | |
|---|---|
| 0 | |
| Note | Affects | Description | |||||
|---|---|---|---|---|---|---|---|
| unsupported |
|
These charts do not have titles for axes. Therefore, titleOffset attribute is not supported. |
|||||
| unsupported |
|
These charts do not support titleOffset attribute. |
Defines default rotation for axis title. Individual axes may override this setting with <axis/> tag titleRotation attribute.
The default title orientation (zero degrees) is along the axis.
See titleRotation description.
| <axes titleRotation="Degrees"/> | |
|---|---|
| 0 | |
| Note | Affects | Description | |||||
|---|---|---|---|---|---|---|---|
| unsupported |
|
These charts do not have titles for axes. Therefore, titleRotation attribute is not supported. |
|||||
| unsupported |
|
These charts do not supports title rotation. |
[toc] [elements] [attributes] [types]
<axis |
||
[angle="Degrees"] | Chart 3D viewpoint orientation angle around this axis. | |
[axisColor="PaintValue"] | Axis line color. | |
[axisStroke="Stroke"] | Axis line width and style. | |
[backColor="PaintValue"] | Axis background line color. | |
[backPaint="PaintValue"] | Axis background fill paint. | |
[backStroke="Stroke"] | Axis background line width and style. | |
[color="PaintValue"] | Axis default color. | |
[dim="Dim"] | Axis dimension index or name. | |
[font="Font"] | Axis default font. | |
[gap="Percentage"] | Relative distance between uniformly laid elements. | |
[gridColor="PaintValue"] | Grid line color. | |
[gridLines="Boolean"] | Controls if axis grid lines should be drawn or not. | |
[gridStroke="Stroke"] | Grid line width and style. | |
[labelAlignment="Alignment"] | Axis label alignment. | |
[labelColor="PaintValue"] | Axis label and marker color. | |
[labelFont="Font"] | Axis label and marker font. | |
[labelFormat="DataFormat"] | Axis value label format. | |
[labelOffset="Size"] | Distance between axis line and labels. | |
[labelPaint="PaintValue"] | Axis label background paint. | |
[labelRotation="Degrees"] | Axis label orientation. | |
[markerOffset="Size"] | Distance between axis and marker labels. | |
[max="DataValue"] | Axis maximum data value. | |
[min="DataValue"] | Axis minimum data value. | |
[opposite="Boolean"] | Side of the placement of labels and title. | |
[paint="PaintValue"] | Axis default paint. | |
[position="Position"] | Axis position. | |
[reversed="Boolean"] | Axis positive growth direction. | |
[silent="Boolean"] | Omission of axis labels. | |
[step="DataValue"] | Defines the unit step for the value range of this axis. | |
[stroke="Stroke"] | Axis line width and style. | |
[ticColor="PaintValue"] | Color of tic marks. | |
[ticStroke="Stroke"] | Rendering details of tic marks. | |
[titleAlignment="TitleAlignment"] | Defines alignment for axis title. | |
[titleColor="PaintValue"] | Axis title color. | |
[titleFont="Font"] | Defines font for axis title. | |
[titleOffset="Size"] | Defines offset for axis title. | |
[titleRotation="Degrees"] | Defines rotation for axis title. | |
[titleText="Text"] | Defines text for axis title. | |
> |
||
| {<marker/>} | ||
</axis> |
||
This tag defines one individual data axis. Axis attributes define how data is laid on this axis, what value ranges of the data are shown, what decorations and titles are placed on this axis, and what viewing angle around this axis will be used to look at the result. Axis specific attributes values take preference over corresponding axis system attribute values, defined by <axes/> parent tag.
The data dimension an axis controls is controlled by the dim attribute. It is an error if two axes belonging to the same coordinate axis group try to control the same dimension.
An axis controls all visual aspects of all items laid along the axis. These include:
The axis background concept needs some further clarification. First, in a simple two-dimensional case, the area between the X- and Y -axes is the only axis background area visible. The decoration of this area is simply controlled by the X -axis background attributes, while the background attributes of all the other axes are simply ignored. In three-dimensional case things become a slightly more complicated, since we now have also "left" and "bottom" background areas to consider. These background areas are controlled by the Y- and Z -axis attributes, respectively and independently of all the other axes. Finally, each backface not explicitly configured will inherit it's decoration settings from the axis coordinate system the respective axes belong to.
Chart axes control also chart viewing angle. Each axis has an angle attribute that tells the angle the chart viewing angle should be rotated around the axis in question. For example, to view a chart from above, the viewing angle may be turned there by setting horizontal X -axis angle to some positive value. To view the same chart from left, set Y axis angle to some positive value. Axis angle settings may also be combined so that to view the chart from above and left, set both X- and Y -axis angles. Finally, please note that many chart types have only limited support for viewing angle transformations. For details, please see the exception notes associated with affected attributes below.
<axis titleText="X -axis" min="10" max="40"
labelFormat=".00"/>
<axis dim="1" titleText="Y -axis"/>
<axis dim="z" backPaint="blue"/>
Chart 3D viewpoint orientation angle around this axis.
See angle description.
| <axis angle="Degrees"/> | |
|---|---|
| 0 | |
| Note | Affects | Description | |||||||
|---|---|---|---|---|---|---|---|---|---|
| unsupported |
|
These charts do not have any three dimensional representation, and therefore they will just ignore this attribute. |
|||||||
| exception |
|
These charts do not support angle for Z-axis. Furthermore, angles for X- and Y-axis are restricted to values 0-90. |
|||||||
| note |
|
These charts support angle for Z-axis. The Z -axis angle rotates the pie disk around it's central axis. Positive values turn the disk to anti-clockwise direction, negative values turn the disk to clockwise direction. |
Axis line color.
See axisColor description.
| <axis axisColor="PaintValue"/> | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||
Axis line width and style.
See axisStroke description.
| <axis axisStroke="Stroke"/> | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||
| Note | Affects | Description | ||||
|---|---|---|---|---|---|---|
| exception |
|
Only width setting is supported. |
Axis background line color.
See backColor description.
| <axis backColor="PaintValue"/> | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||