MCPcopy Create free account
hub / github.com/CoderOpen/waimai / Spin

Function Spin

front/components/u-charts/u-charts.js:3728–3733  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3726 break;
3727 case 'vertical':
3728 function Spin(){
3729 //获取均匀随机值,是否旋转,旋转的概率为(1-0.5)
3730 if (Math.random()>0.7) {
3731 return true;
3732 }else {return false};
3733 };
3734 for (let i = 0; i < points.length; i++) {
3735 let text = points[i].name;
3736 let tHeight = points[i].textSize;

Callers 1

getWordCloudPointFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected