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

Function containsColorsDefinition

src/plugins/plugin.colors.ts:84–88  ·  view source on GitHub ↗
(
  descriptor: ColorsDescriptor
)

Source from the content-addressed store, hash-verified

82}
83
84function containsColorsDefinition(
85 descriptor: ColorsDescriptor
86) {
87 return descriptor && (descriptor.borderColor || descriptor.backgroundColor);
88}
89
90function containsDefaultColorsDefenitions() {
91 return defaults.borderColor !== 'rgba(0,0,0,0.1)' || defaults.backgroundColor !== 'rgba(0,0,0,0.1)';

Callers 1

beforeLayoutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected