I want to display pie charts from MS SQL Server database data.

When I click on a point in the map, I wish to see a pie chart over the point.

Can you please tell me how to implement such pie charts?

Do you know any map site that using charts?


Use the GetFeatureInfo control to retrieve the data from the feature and then use something to render the chart. You can use a JavaScript library (you can start digging from here, I've used highcharts and it's good) ore use an external graph generator like Google Charts. The last one is the easiest to implement as it's just placing an image tag with a parametrized url.

  • 1
    BTW, have you looked options reported on any of those previous questions? – Jorge Sanz Oct 9 '13 at 8:52
  • do you know any map site that use charts?? – Teetu Oct 9 '13 at 9:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.