We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fea8460 commit b991aa6Copy full SHA for b991aa6
statshouse-ui/src/store2/plotDataStore/normalizePlotData.ts
@@ -170,7 +170,7 @@ export function normalizePlotData(
170
const metricName = isValue ? `${meta.name || (plot.metricName !== promQLMetric ? plot.metricName : '')}: ` : '';
171
const colorKey = `${prefColor}${metricName}${oneGraph ? label : baseLabel}`;
172
// client select color line
173
- const baseColor = /*meta.color ?? */ baseColors[colorKey] ?? selectColor(colorKey, usedBaseColors);
+ const baseColor = meta.color ?? baseColors[colorKey] ?? selectColor(colorKey, usedBaseColors);
174
baseColors[colorKey] = baseColor;
175
// if (baseColor !== currentPrevSeries[indexMeta]?.stroke) {
176
// changeColor = true;
0 commit comments