Replies: 2 comments 1 reply
-
To have full control of the title, use the native plotly title (inside layout): layout:
title: your title here Then visit:
To colorize traces and whatnot, see also the plotly docs: I suggest you try the google search term: "how to xyz in plotly javascript" and even ask ChatGPT. Regarding themes, I only implemented basic support, the rest needs to be done manually. Alternatively you may find another custom card to customize theme variables for specific cards.
Wish you luck! |
Beta Was this translation helpful? Give feedback.
-
@wormuths |
Beta Was this translation helpful? Give feedback.
-
Is there a way to change the alignment of the title for the card?
align: left
or something like that?Additionally... Since I have an issue which is not easily solved (I don't think), maybe someone can help me clarify the different values necessary to change element colors on the cards? My theme is built around assigning themes I created to individual cards throughout my dashboards. The Plotly card is pulling colors from the default theme which I don't use... So, for example, I have to specify colors everywhere for all the elements in the Plotly cards...
paper_bgcolor: '#EFDECD'
plot_bgcolor: '#EFDECD
And if changing for labels of an axis...
tickfont:
color: '#000000'
So maybe you nice folks can help me by providing me other examples of values I can use to colorize other elements, like the title text of the card, or legends?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions