소스 검색

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;
+}