Some basic facts about XML (eXtensible Markup Language) |
The external xml file is loaded by the flash chart movie and is used to customize and to manipulate the charts. The xml structure is easy to understand even for absolute beginners after viewing the demo xml file. The specified tags are akin to html. Here are a few facts:
|
|
|||||
special char | encoding | Description | |||
< | < | The less-than character is in use by XML itself as first character of a start-tag or an end-tag. Thus do encode it to render it e.g. as part of a string! | |||
> | > | The greater-than character is in use by XML to end a start-tag or an end-tag. | |||
& | & | The ampersand character is in use by XML for entity markup. | |||
" | " | Use this character sequence to render a double-quote character inside an already double-quoted xml string. | |||
' | ' or ' | An apostrophe or single-quote character can be rendered with this character sequence inside an already single-quoted xml string. |
The various XML attributes used by the chart's flash movie consist of these types: boolean numeric string and color. |
|
A lot of properties and values depending on the chart type can be set. However, it is not required to set all attributes available to produce a single chart. If you do not intend to change the default values of the canvas (color alpha etc.) then you don't have to set any attributes of the same - the pre-assigned default attributes will take over automatically. Thus each chart can be generated using only a few attributes without concern for each and every finer detail. A specific XML structure for each chart movie does exist though:
|
Note, no first line like <?xml version="1.0"?> is really needed for the chart's xml file to work properly. |