Open Flash Chart :: wiki :: JSON
elements
Is an Array
example
{
"elements":[
{
"type": "bar",
"alpha": 0.5,
"colour": "#9933CC",
"text": "Page views",
"font-size": 10,
"values" : [9,6,7,9,5,7,6,9,7]
},
{
"type": "bar",
"alpha": 0.5,
"colour": "#CC9933",
"text": "Page views 2",
"font-size": 10,
"values" : [4,9,6,7,9,5,7,6,9]
}
]
}
things that go in the elements array
Any object that has a 'type'.
(see charts/Factory.as)
The types supported are:
