formatProperties

Specifies chart format properties string to override the defaults. These format properties are used by the DHML client user interface to set colors, styles, and other attributes of the chart, such as data series colors or x-axis text rotation custom angle.

Syntax

formatProperties="formatProperties"

where:

Argument Default Description
formatProperties empty string Argument should be formatted as a comma-separated string of object property/value strings. Each object’s property/value string should have each property:value pair separated by a semicolon, enclosed in braces. For example:
ObjectName={property1:value1;
property2:value2;},
ObjectName2={property4:value4;
property5:value5;}
For properties that involve multiple values, separate the values with comma:
ObjectName1={property1:value1;
property2:value2a,value2b;},
ObjectName2={property3:value3a, value3b;
property4:value4a,value4b;}
Alternatively, you can also use scope strings as keys. For example:
{Dim0:Mem0}{Dim1:Mem1}=
{property0:value0,value1;property1:value2;},
{Dim2:Mem2,Mem3}={property2:value3;}

Usage

This property is currently only used to set individual data series colors, x-axis text rotation custom angle, and waterfall color array. Everything else should be set through normal named chart properties.

Examples

formatProperties="colorSeries_default_0 = {foreground:yellow;},
colorSeries_default_1 = {foreground:red;}, 
colorSeries_default_4 = {foreground:#FF9900;},
chart={XAxisTextRotation:45;}"
Related reference
Scoping
calculatedMembers