creativetimofficial / ct-vue-argon-dashboard-pro

Vue Argon Dashboard Pro - Premium Bootstrap 5 Vuejs Admin Template
https://www.creative-tim.com/product/vue-argon-dashboard-pro
25 stars 7 forks source link

Donut and Pie chart mouse over shows labels pop-over other slices on other side of horizontal axis #12

Closed rparundekar closed 4 years ago

rparundekar commented 5 years ago

Prerequisites

Please answer the following questions for yourself before submitting an issue.

Expected Behavior

In the donut chart and the pie chart, the mouse over event should show the value for that slice. While the mouse is moved in the same slice, the label should stay the same.

Current Behavior

While the mouse is moved in the same slice, the label changes according to the horizontal location of the mouse, but the label pop over changes to other slices. To get the label for the slice, you have to be in the angular center of that slice. If you are at the ends of the slice, the label moves to some other slice.

Failure Information (for bugs)

Seems to be a bug, since vuechart.js version does not have this issue. http://demo.vue-chartjs.org/

Steps to Reproduce

  1. Unzip the vue argon dashboard pro from - vue-argon-dashboard-pro-v1.1.1.html.zip
  2. In the directory, npm i
  3. Go to http://localhost:8080/#/charts and move mouse on the donut chart or the pie chart.

Context

Failure Logs

No errors in the console.

Hunch: Seems to be an angular conversion issue that chooses the slice on the flip side of the horizontal axis.

cristijora commented 4 years ago

This issue has been fixed in v1.2.0 along with some other issues & improvements. For more details check out this changelog