Skip to content

Commit

Permalink
Use more colors for the trend line chart
Browse files Browse the repository at this point in the history
So it's more readable.

Signed-off-by: Frantisek Lachman <[email protected]>
  • Loading branch information
lachmanfrantisek committed Sep 4, 2023
1 parent 813983b commit 4b4523c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/app/Usage/UsageInterval.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
ChartLine,
createContainer,
ChartLegendTooltip,
ChartThemeColor,
} from "@patternfly/react-charts";

import { ErrorConnection } from "../Errors/ErrorConnection";
Expand Down Expand Up @@ -124,6 +125,7 @@ const UsageInterval: React.FC<UsageIntervalProps> = (props) => {
legendOrientation="vertical"
legendPosition="right"
minDomain={{ y: 0 }}
themeColor={ChartThemeColor.multiUnordered}
padding={{
bottom: 50,
left: 0, // Adjusted to accommodate axis label
Expand Down

0 comments on commit 4b4523c

Please sign in to comment.