MCPcopy Create free account
hub / github.com/feiyu563/PrometheusAlert / alignBorderValue

Function alignBorderValue

static/plugins/chart.js/Chart.bundle.js:12162–12164  ·  view source on GitHub ↗
(pixel)

Source from the content-addressed store, hash-verified

12160 var axisHalfWidth = axisWidth / 2;
12161 var alignPixel = helpers$1._alignPixel;
12162 var alignBorderValue = function(pixel) {
12163 return alignPixel(chart, pixel, axisWidth);
12164 };
12165 var borderValue, i, tick, lineValue, alignedLineValue;
12166 var tx1, ty1, tx2, ty2, x1, y1, x2, y2, lineWidth, lineColor, borderDash, borderDashOffset;
12167

Callers 1

Chart.bundle.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected