none
Create Pie/Column Chart RRS feed

  • Question

  • Hi,

    We refer the below link to create pie chart on bing map.

    http://bingmapsv8samples.azurewebsites.net/#Scaled%20Pie%20Chart%20Pushpins

    As per our understanding, Pie Chart is nothing but an SVG pushpin, so we want to make different SVG pushpin for the pie chart.

    It is possible so how can we make this...

    Thank.


    • Edited by vikas dugi Tuesday, June 5, 2018 6:26 AM
    Tuesday, June 5, 2018 6:25 AM

All replies

  • There are a couple of ways to create pie chart pushpins. You can generate SVG for a pie chart and then pass it into the icon property of a pushpin. This will convert the SVG into a flat image as Bing Maps renders data on the HTML5 canvas which provides a lot of performance. Alternatively you can also draw pie charts on an offscreen canvas and copy it over but that likely would be slower. 

    [Blog] [twitter] [LinkedIn]

    Tuesday, June 5, 2018 4:04 PM