Skip to content

fix(colors): agents after getColorPalette update #93795

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(colors): agents
  • Loading branch information
shellmayr committed Jun 18, 2025
commit e9eb8af980e0be255b8bae575f41022378c71b69
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default function LLMGenerationsWidget() {

const hasData = models && models.length > 0 && timeSeries.length > 0;

const colorPalette = theme.chart.getColorPalette(timeSeries.length - 2);
const colorPalette = theme.chart.getColorPalette(timeSeries.length - 1);

const visualization = (
<WidgetVisualizationStates
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default function TokenUsageWidget() {

const hasData = tokens && tokens.length > 0 && timeSeries.length > 0;

const colorPalette = theme.chart.getColorPalette(timeSeries.length - 2);
const colorPalette = theme.chart.getColorPalette(timeSeries.length - 1);

const visualization = (
<WidgetVisualizationStates
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default function ToolUsageWidget() {

const hasData = tools && tools.length > 0 && timeSeries.length > 0;

const colorPalette = theme.chart.getColorPalette(timeSeries.length - 2);
const colorPalette = theme.chart.getColorPalette(timeSeries.length - 1);

const visualization = (
<WidgetVisualizationStates
Expand Down
Loading