MCPcopy
hub / github.com/palantir/plottable / opacityFunction

Function opacityFunction

test/components/legendTests.ts:272–274  ·  view source on GitHub ↗
(d: any, i: number)

Source from the content-addressed store, hash-verified

270 });
271
272 const opacityFunction = (d: any, i: number) => {
273 return (d === "foo") ? 0.2 : 0.8;
274 };
275 legend.symbolOpacity(opacityFunction).redraw();
276 rows = legend.content().selectAll<Element, any>(ENTRY_SELECTOR);
277

Callers 1

legendTests.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected