Skip to content

Chart colors for label with axis and y axis, colors does not seem to work as configured. #42

Closed Answered by graphieros
manulsan asked this question in Q&A
Discussion options

You must be logged in to vote

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:

// Color palette of zen mode
customPalette : [
        "#B9B99D",
        "#E0CFC3",
        "#DFCA99",
        "#DCB482",
        "#C09E85",
        "#8F837A",
        "#858480",
        "#B0B9A8",
        "#606C5A",

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@manulsan
Comment options

Comment options

You must be logged in to vote
2 replies
@manulsan
Comment options

@graphieros
Comment options

Answer selected by graphieros
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Improvements or additions to documentation
2 participants