Skip to content

Commit

Permalink
fix: ensure title and subtitle color are computed correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikThePendric committed Oct 17, 2024
1 parent a5821c0 commit 6122203
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ export default function (series, layout, metaData, extraOptions) {
return null
}

const { dashboard, legendSets, legendOptions } = extraOptions
const { dashboard, legendSets } = extraOptions
const legendOptions = layout.legend
const fontStyle = mergeFontStyleWithDefault(
layout.fontStyle && layout.fontStyle[FONT_STYLE_VISUALIZATION_SUBTITLE],
FONT_STYLE_VISUALIZATION_SUBTITLE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ export default function (layout, metaData, extraOptions, series) {
}
}

const { dashboard, legendSets, legendOptions } = extraOptions
const { dashboard, legendSets } = extraOptions
const legendOptions = layout.legend
const fontStyle = mergeFontStyleWithDefault(
layout.fontStyle && layout.fontStyle[FONT_STYLE_VISUALIZATION_TITLE],
FONT_STYLE_VISUALIZATION_TITLE
Expand Down

0 comments on commit 6122203

Please sign in to comment.