Skip to content

Commit

Permalink
fix: histogram y-axis label color
Browse files Browse the repository at this point in the history
  • Loading branch information
hokilpet authored and disyakidneyshot committed Jan 22, 2024
1 parent 9aee98f commit fed9bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chart/components/y_axis/label-color.functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const resolveColorForScatterPlot = (priceMovement: PriceMovement, colors:
};

export const resolveColorForHistogram = (priceMovement: PriceMovement, colors: FullChartColors): string => {
const resolvedColor = colors.histogram[`${priceMovement}Cap`];
const resolvedColor = colors.histogram[`${priceMovement}Bright`];
return resolvedColor ?? DEFAULT_LABEL_COLOR;
};

Expand Down

0 comments on commit fed9bb0

Please sign in to comment.