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.