瀏覽代碼

Styles for Diagrams

toomanysugar 4 年之前
父節點
當前提交
11cd93ba08
共有 1 個文件被更改,包括 23 次插入0 次删除
  1. 23 0
      src/main/resources/PieChartStyle.css

+ 23 - 0
src/main/resources/PieChartStyle.css

@@ -0,0 +1,23 @@
+.chart-pie-label-line {
+    -fx-stroke: #9F9F9F;
+    -fx-fill: #9F9F9F;
+}
+
+.chart-pie-label { /*this is what you need for labels*/
+    -fx-fill: #9F9F9F;
+    -fx-font-size: 1.3em;
+}
+.chart-legend {
+   -fx-background-color: transparent;
+   -fx-stroke: transparent;
+   -fx-text-fill: #9F9F9F;
+}
+
+.chart-legend-item{
+    -fx-text-fill: #9F9F9F;
+}
+
+.chart-title {
+    -fx-stroke: green;
+    -fx-text-fill: #9F9F9F;
+}