css changes for piechart dark theme

This commit is contained in:
aj 2019-05-22 13:21:24 +01:00
parent 0c527dffbf
commit 0cc4807d93
3 changed files with 3 additions and 4 deletions

View File

@ -18,7 +18,7 @@ public class GenrePieChart extends PieChart{
public GenrePieChart(String name, ArrayList<String> tagNames) {
getStylesheets().add("../styles/mainPane.css");
// getStylesheets().add("../styles/mainPane.css");
getStyleClass().add("backGround");
setStartAngle(90);

View File

@ -12,7 +12,6 @@ public class GenreTotalPieChart extends GenrePieChart{
public GenreTotalPieChart(String name, ArrayList<String> tagNames) {
super(name, tagNames);
getStylesheets().add("../styles/mainPane.css");
getStyleClass().add("backGround");
setTitle(name + " total");

View File

@ -25,8 +25,8 @@
-fx-fill: white;
}
.chart-pie-legend {
-fx-background-color: #202124;
.chart-legend {
-fx-background-color: transparent;
}
.chart-title {