Report chart settings are stored in the chart property of the settings element.
NOTE. This specification contains only the settings, which are used on a mobile device.
Property | Description | Available values |
chartType | Chart type. | Property value is an element of the ChartType enumeration. |
series | Data series array. | Values is an array of elements containing properties:
|
ChartAreaDecoration | Chart plot area settings. | Value is an element with the following properties:
|
ChartLegend | Chart legend settings. | Value is an element with the following properties:
|
Axes | Chart axes settings | Value is an array of elements with the properties:
|
Below is an example of setting up an express report chart. The example contains settings applied in the mobile application:
<key>chart</key><key>chartType</key><integer>14</integer><key>series</key><array> <dict> … <key>index</key> <integer>0</integer> <key>atSecondaryAxis</key> <string>false</string> <key>fillColor</key>//color <string>#82BAB6</string> </dict></array><key>ChartAreaDecoration</key>/<dict> <key>Background</key> <dict> <key>Color</key> <array> <dict> <key>type</key> <string>MainColor</string> <key>_innerText</key> <string>#ffffffff</string> </dict> <dict> <key>type</key> <string>FirstColor</string> <key>_innerText</key> <string>#ffffffff</string> </dict> <dict> <key>type</key> <string>LastColor</string> <key>_innerText</key> <string>#ff808080</string> </dict> </array> <key>BackgroundType</key> <integer>1</integer> <key>GradientAngle</key> <integer>0</integer> </dict></dict><key>Legend</key><dict> <key>ChartLegend</key> <dict> <key>ColumnsCount</key> <key>Alignment</key> </dict></dict></dict><key>Axes</key><array> <dict> <key>Type</key> <string>AT_AXISY</string> <key>Visible</key> <integer>1</integer> <key>AxisCaption</key> <dict> <key>Caption</key> <dict>…</dict> </dict> <key>DisplayUnitCaption</key> <dict> <key>Caption</key> <dict>…</dict> </dict> </dict> <dict> <key>Type</key> <string>AT_AXISX</string> <key>Visible</key> <integer>1</integer> <key>AxisCaption</key> <dict> <key>Caption</key> <dict>…</dict> </dict> <key>DisplayUnitCaption</key> <dict> <key>Caption</key> <dict>…</dict> </dict> </dict></array>
See also: