MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / getChartTranslucentColor

Function getChartTranslucentColor

apps/start/src/utils/theme.ts:15–20  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

13}
14
15export function getChartTranslucentColor(index: number): string {
16 return (
17 chartColors[index % chartColors.length]?.translucent ||
18 chartColors[0].translucent
19 );
20}

Callers 2

ChartFunction · 0.90
common-bar.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected