-
Hello, How do I set the background color of XYChart to solid white? Right now the default looks like it may be transparent or the same gray background as JavaFX. Also, do any of your samples show us how to make our own plot coloring schemes, such as a dark theme? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Also, I'd like to turn of the plot markers and hatching for my DoubleDataSeries in my chart, but I also can't find any methods to perform these actions? I'd like to just see the lines between points, without markers or hatching on each line series. |
Beta Was this translation helpful? Give feedback.
-
Hello, Did you find how to change the background color ? I tried looking to the DefaultRenderColorScheme class but I'm still stuck. |
Beta Was this translation helpful? Give feedback.
.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