MCPcopy Create free account
hub / github.com/chartjs/Chart.js / alphaOf

Function alphaOf

test/specs/core.controller.spec.js:3003–3003  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

3001 // https://github.com/chartjs/Chart.js/issues/10882
3002 describe('hidden data is not active', function() {
3003 const alphaOf = (value) => Chart.helpers.color(value).rgb.a;
3004
3005 // The hover colour is less opaque than the normal one, so an un-hover
3006 // animation that takes over the hide animation makes the line more opaque.

Callers 2

borderAlphaAtMidHideFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected