I have a graph and would like to make it look like the image. (two or more lines)
Ialreadyhavethefollowingcode:
link
I have a graph and would like to make it look like the image. (two or more lines)
Ialreadyhavethefollowingcode:
link
To add more rows simply add values to each data provider item. For example:
"dataProvider": [ {
"name": "Item 1",
"value": 5,,
"novoNome": "Novo Item 1",
"novoValor": 2
}
And where you set the "graph", add another item to the array:
"graphs": [ {
"balloonText": "[[name]] : [[value]]",
"bullet": "round",
"valueField": "value"
} ,
{
"balloonText": "[[novoNome]] : [[novoValor]]",
"bullet": "round",
"valueField": "novoValor"
} ],
Here has an example fiddle working.