MCPcopy
hub / github.com/microsoft/SandDance / changeColorContexts

Method changeColorContexts

packages/sanddance/src/viewer.ts:151–155  ·  view source on GitHub ↗
(colorContexts: ColorContext[])

Source from the content-addressed store, hash-verified

149 }
150
151 private changeColorContexts(colorContexts: ColorContext[]) {
152 this.colorContexts = colorContexts;
153 this.currentColorContext = 0;
154 this.options.onColorContextChange && this.options.onColorContextChange();
155 }
156
157 private applyLegendColorContext(colorContext: ColorContext) {
158 const a = VegaDeckGl.util.getActiveElementInfo();

Callers 3

onDataChangedMethod · 0.95
_renderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected