Skip to content

Set Chart Background Color #507

Answered by LilRonin
dph10 asked this question in Q&A
Apr 14, 2022 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

.StackPane{
-fx-background: #ffffff;
}

put it in your css my fxmlcontroller my chart are put on a stackPane
this seems to work too

.chart-plot-background {
-fx-background: #ffffff;
} i found it on another post

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@dph10
Comment options

@dph10
Comment options

@LilRonin
Comment options

Answer selected by wirew0rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants