Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit 88d07a0

Browse files
authored
fix(gui): parameter value histogram is now transparent again (#955)
1 parent c901e05 commit 88d07a0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

api-editor/gui/src/features/packageData/selectionView/ParameterView.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,12 @@ const CustomBarChart: React.FC<CustomBarChartProps> = function ({ parameterUsage
150150
datasets: [
151151
{
152152
data: labels.map((key) => sortedParameterUsages.get(key)),
153-
borderColor: labels.map((key) => (isStringifiedLiteral(key) ? '#871F78' : '#888888')),
154-
backgroundColor: labels.map((key) => (isStringifiedLiteral(key) ? '#871F78' : '#888888')),
153+
borderColor: labels.map((key) =>
154+
isStringifiedLiteral(key) ? 'rgba(137, 87, 229, 1)' : 'rgba(136, 136, 136, 1)',
155+
),
156+
backgroundColor: labels.map((key) =>
157+
isStringifiedLiteral(key) ? 'rgba(137, 87, 229, 0.2)' : 'rgba(136, 136, 136, 0.2)',
158+
),
155159
},
156160
],
157161
};

0 commit comments

Comments
 (0)