Chart colors for label with axis and y axis, colors does not seem to work as configured. #42
-
While testing at the Chart Builder,
Thank you advanced. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @manulsan What is the problem exactly ? Please be more specific. Please share the config object you are using so I can reproduce the issue. |
Beta Was this translation helpful? Give feedback.
-
Ok I see what you mean now. This should be mentioned in the documentation. What you can do for your theme is :
You can adapt the config so that when it is not in dark mode, you can apply your preferred colors. // Color palette of zen mode
customPalette : [
"#B9B99D",
"#E0CFC3",
"#DFCA99",
"#DCB482",
"#C09E85",
"#8F837A",
"#858480",
"#B0B9A8",
"#606C5A",
"#5E5E5E",
"#4F5B75",
"#647393",
"#818EA9",
"#9FA9BE",
"#BBC4D3",
"#DCDFE7",
"#928A98",
"#8A9892",
"#B1A7AD",
"#C5B8A7",
"#EBD6CC",
"#D7E0D2",
"#E0D2D7",
"#E0DBD2",
"#D2E0DB",
"#DBD2E0",
"#C1B7A5",
"#A5AFC1",
"#E0DBD2",
"#D2D7E0",
"#F7EDE2",
"#97ACB7",
"#C4CBBC",
"#C3C5C5",
"#A0AC94"
] I know this represents more work, but it will guarantee the expected results in the end. |
Beta Was this translation helpful? Give feedback.
Ok I see what you mean now.
It is totally normal: the "zen" theme is designed to be displayed without axis labels (zen = no interference ^^)
This should be mentioned in the documentation.
What you can do for your theme is :
theme: isDarkMode.value ? "hack" : ""
You can adapt the config so that when it is not in dark mode, you can apply your preferred colors.
You can also set config.customPalette to the colors used for the zen mode, so they are applied when isDarkMode is false: