none
Pie Chart hover/click event RRS feed

  • Question

  • hi,

    We use pie chart pushpin in our project and we successfully implement. we have one requirement where we need to show some data on hover or click on any pie chart area (orange part of pie chart) like below example:

    we use below link to implement pie chart on bing map:

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

    Thanks in advance.

    Tuesday, May 29, 2018 1:11 PM

All replies

  • In this case the pie chart pushpins are a single image, so in order to determine which slice of pie was clicked you woud need to calculate the angle from the center of the pie chart to the mouse click point, then check your data to see which slice this would fall into.

    [Blog] [twitter] [LinkedIn]

    Tuesday, May 29, 2018 5:19 PM
  • Thank you for a quick response.

    You have any link or reference where we can understand this in detail. because we saw some of the Bing Map pie chart images where this has been worked.

    Waiting for your reply.

    Thanks in advance.

    • Edited by vikas dugi Monday, June 4, 2018 6:50 AM
    Wednesday, May 30, 2018 4:20 AM