<axes> <axis role="string" visible="true|false" optional="true|false"> <id> <name> <title> <layout> <coloring> <grid> <tick> <labels> <stacking> <scaling> <expressions> ...
Attribute | Description |
---|---|
role | The unique role of the axis. See Roles and Identifiers for values. |
visible | A Boolean that defines whether the axis is displayed in the chart |
optional | A Boolean that defines whether you must assign expressions to the axis |
The following table shows the <axis> children elements.
Child Element | Description |
---|---|
<id> | The axis identifier. This integer is specific to each chart axis. Note You can
use it to assign expressions to or unassign them from the axis. See Updating the Expressions of an Axis.
|
<name> | The internal name of the axis. Cannot be changed. |
<title> | The axis Title. In addition, the <separator> element defines the character used as label separator in the axis title when no custom label is defined. Maximum length is 256. |
<layout> | The axis layout. Has the following attributes:
If adjust is true, then horizontal and
vertical proportionalities can be defined. Their possible types are:
|
<coloring> | The axis Colors. |
<grid> | The color and background color of the grid around axis labels. See Colors. Note For category axes
only.
|
<tick> | The axis tick. Has the following attributes:
|
<labels> | The axis Labels. |
<stacking> | The axis stacking mode:
Note For value axes only.
|
<scaling> | The axis scaling mode used to determine the axis ticks. See Scaling. Note For value axes
only.
|
<expressions> | The formulas assigned to the axis. The number of expressions depends on the
chart type and axis role. For example, you can assign only one expression per axis
in the TagCloud chart. An expression of a Bar, Line, Surface, Dual, or Combined chart accepts the additional regionType attribute. Values are Default, Bars, Lines, and Surfaces. An expression of a HeatMap, TreeMap, or TagCloud charts accepts the polarity attribute for the measures on value axes. Values are Auto, Ascending, Descending, and Neutral. |
<axis role="Value" visible="true" optional="false"> <id>2</id> <name>Value Axis 1</name> <title visible="true"> <style> <border thickness="None"> <color rgb="#000000" alpha="255"/> </border> <background> <color rgb="#000000" alpha="0"/> </background> <font size="8" face="Arial" italic="false" bold="true" strikethrough="false" underline="false" rgb="#000000"/> </style> <layout spacing="0"/> <separator>&</separator> </title> <layout adjust="false"/> <coloring> <color rgb="#707070" alpha="255"/> </coloring> <tick length="5" margin="4" densityMode="Fixed" density="2"/> <labels visible="true" orientation="Auto" staggered="false"> <font size="8" face="Arial" italic="false" bold="true" strikethrough="false" underline="false" rgb="#707070"/> <numberFormat default="true" sample="1,234567E3" type="Custom"> <template positive="SCIENTIFIC"/> </numberFormat> </labels> <stacking mode="GloballyStacked" stacked100percent="false"/> <scaling mode="Linear" unitScaleFactor="0" roundMinMaxValues="false"> <minValue type="Auto"/> <maxValue type="Auto"/> </scaling> <expressions> <formula regionType="Default" dataType="Numeric" dataObjectId="DP0.DO7">=[Revenue]</formula> </expressions> </axis>
<axis role="MainCategory" visible="true" optional="false"> <id>0</id> <name>Main Category Axis</name> <title visible="true"> <style> <border thickness="None"> <color alpha="255" rgb="#000000"/> </border> <background> <color alpha="0" rgb="#000000"/> </background> <font size="8" face="Arial" italic="false" bold="true" strikethrough="false" underline="false" rgb="#000000"/> </style> <layout spacing="0"/> <separator>&</separator> </title> <layout reverseOrder="false" continuous="false" adjust="false"/> <coloring> <color alpha="255" rgb="#707070"/> </coloring> <grid> <color alpha="255" rgb="#dadada"/> <background> <color alpha="0" rgb="#000000"/> </background> </grid> <tick length="4" margin="0"/> <labels visible="true" orientation="Auto" deleteMode="Auto" autoResize="false"> <font size="8" face="Arial" italic="false" bold="true" strikethrough="false" underline="false" rgb="#707070"/> </labels> <expressions> <formula dataType="String" dataObjectId="DP0.DO39">=[Country]</formula> <formula dataType="String" dataObjectId="DP0.DO31">=[Year]</formula> </expressions> </axis>