charts icon indicating copy to clipboard operation
charts copied to clipboard

feat: pie chart add select event

Open lxhyl opened this issue 2 years ago • 0 comments

Explanation About What Code Achieves:

src/js/charts/PieChart.

add getDataPoint, setCurrentDataPoint, bindUnits methods to getData and set event.

Screenshots/GIFs:
  • Screenshot
截屏2022-06-10 00 04 24
Steps To Test:
  • click pie charts item.
  • should trigger the onDataSelect event
TODOs:
  • None

I want to konw is this right? if not. How should i optimize the code.

lxhyl avatar Jun 09 '22 16:06 lxhyl