How to use Google Chart radar?

Asked

Viewed 243 times

0

I have a chart and would like to make it look like in the image. (two or more lines) inserir a descrição da imagem aqui

I already have the following code:

http://jsfiddle.net/05g2nw0r/

1 answer

2

To add more lines just add values to each item of the previous date. For example:

"dataProvider": [ {
    "name": "Item 1",
    "value": 5,,
    "novoNome": "Novo Item 1",
    "novoValor": 2
}

And where you define the "Graph", add one more item in the array:

"graphs": [ {
        "balloonText": "[[name]] : [[value]]",
        "bullet": "round",
        "valueField": "value"
      } ,
      {
        "balloonText": "[[novoNome]] : [[novoValor]]",
        "bullet": "round",
        "valueField": "novoValor"
       } ],

Here has an example fiddle working.

  • can put caption?

  • Take a look at their documentation, there is everything you need to do: http://docs.amcharts.com/3/javascriptcharts/AmLegend

  • blz, only that Chart is not google... he would have something like?

  • I didn’t get to use Google yet (when I needed to use, the project I was working on already had an implementation with a third-party API), but by the fiddle you put it looked like you were using amcharts.

  • yes, I was using amcharts, but I would like to use Google Charts... I’ve looked at the documentation, but I couldn’t implement anything.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.