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

Function convertCoordinateOrigin

front/components/u-charts/u-charts.js:279–284  ·  view source on GitHub ↗
(x, y, center)

Source from the content-addressed store, hash-verified

277}
278
279function convertCoordinateOrigin(x, y, center) {
280 return {
281 x: center.x + x,
282 y: center.y - y
283 };
284}
285
286function avoidCollision(obj, target) {
287 if (target) {

Callers 5

getRadarDataPointsFunction · 0.85
drawRadarLabelFunction · 0.85
drawPieTextFunction · 0.85
drawRadarDataPointsFunction · 0.85
_loopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected