Closed lxhyl closed 1 year ago
src/js/charts/PieChart
add getDataPoint, setCurrentDataPoint, bindUnits methods to getData and set event.
getDataPoint
setCurrentDataPoint
bindUnits
None
I want to konw is this right? if not. How should i optimize the code.
I want to konw is this right? if not. How should i optimize the
No optimization needed. Thanks for making the PR. Simple and concise.
Explanation About What Code Achieves:
src/js/charts/PieChart
.add
getDataPoint
,setCurrentDataPoint
,bindUnits
methods to getData and set event.Screenshots/GIFs:
Steps To Test:
TODOs:
None
I want to konw is this right? if not. How should i optimize the code.