XML Parser Reference
All tag attributes can take a value or be a reference to a specific tag. The allowed syntaxes are:
-
tag#id. The attribute value will be replaced by the tag whose ID is
id(tags can be any allowed tag as marker, data, barChart...). See for example the provided templatebarin which there is the following line. The attribute value is replaced by the marker whose ID isCharts. xml label.Set1 <item key="label" value="marker#labelSet1" />Copied! - tag#id:integer1. The tag whose ID is
idmust be an array. The attribute value will be replaced by the item at the position given byinteger1. - tag#id:integer1-integer2. The tag whose ID is
idmust be an array. The attribute value will be replaced by the sub-array starting atinteger1and ending atinteger2. - for#id:value. The tag is replaced by the curent value of the attribute
eachin the <for> tag. - for#id:key. The tag is replaced by the curent key of the attribute
eachin the <for> tag. - tag#id:for#idFor:key. The tag whose ID is
idmust be an array. The attribute value will be replaced by the item at the position given by key of the currenteachattribute of the <for> tag whose ID isId.For -
tag#id:for#idFor:value. The tag whose ID is
idmust be an array. The attribute value will be replaced by the item at the position given by value of the currenteachattribute of the <for> tag whose ID isId.For Tip
Examples of such syntaxes can be found in the file
Resources/which builds a flexible template able to display upto 9 data sets with 9 different colors in the same charts as explained in the tutorial section.Private/ Charts Examples/ Bar Chart Advanced. xml