chart

the geochart configuration object

object chart;

Example

{
    view:"geochart", 
    id:"map",
    // provide your own Google API key 
    // https://developers.google.com/maps/documentation/javascript/get-api-key
    key:"AIzaSyAi0oVNVO-e603aUY8SILdD4v9bVBkmiTg",
    data:data,
    chart:{
        displayMode:"regions",
        region:"150", // Europe
        colorAxis: {colors: ["#f2f28d", "#9370db"]}
    }
}

Related samples

Details

See the full list of geochart configuration options in the Google Charts documentation.

See also
  • Articles
  • Back to top