Setting a Background Color for a JavaFX Chart Plot
Автор: Cool IT Help
Загружено: 2021-07-12
Просмотров: 603
By default, we have light and dark gray grids on the chart plot. But we can change it easily with the help of CSS.
In this tutorial, we will set background colors and alternate colors for grids.
.chart-plot-background {
-fx-background-color: #e2ecfe;
}
.chart-vertical-grid-lines {
-fx-stroke: #3278fa;
}
.chart-horizontal-grid-lines {
-fx-stroke: #3278fa;
}
.chart-alternative-row-fill {
-fx-fill: #99bcfd;
}
If you found this video tutorial useful and would like to support me, you can do so by buying me a coffee using the below link!
https://buymeacoffee.com/CoolITHelp
#BackgroundColorSetJavaFX #JavaFXChartTutorial #CoolITHelp
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: