Skip to content

Commit

Permalink
Added large fonts for default plot legends if width is greater than 9…
Browse files Browse the repository at this point in the history
…0 pixels
  • Loading branch information
tomktjemsland committed Mar 4, 2024
1 parent 4f7a6b1 commit d4b805b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plots/legend/default-plot-legend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ export default function renderDefaultPlotLegend(
legendInfo.unit,
plot.scale?.domain() || [0, 1],
plot.options.color,
{ largeFontEnabled: true },
);
}

0 comments on commit d4b805b

Please sign in to comment.