mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-26 19:22:23 +00:00
[BugFix] openbb-charting: Get ChartStyle.plt_style Default Value From UserSettings (#7243)
* set ChartStyle.plt_style from UserSettings * fix discrepencies between raw figure and pywry for light/dark
This commit is contained in:
@@ -530,6 +530,10 @@ function Chart({
|
||||
...(originalData.layout.font || {}),
|
||||
color: darkmode ? "#fff" : "#000",
|
||||
};
|
||||
originalData.layout.plot_bgcolor = {
|
||||
...(originalData.layout.plot_bgcolor || {}),
|
||||
color: darkmode ? "#000" : "#fff",
|
||||
};
|
||||
|
||||
const changeIcon = darkmode ? ICONS.sunIcon : ICONS.moonIcon;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user