Adapt chart axis labels

This commit is contained in:
Christoph Atteneder 2018-02-21 13:36:27 +01:00
parent 8c027836b6
commit fab6f74199
No known key found for this signature in database
GPG Key ID: CD5DC1C529CDFD3B
2 changed files with 4 additions and 2 deletions

View File

@ -1040,9 +1040,9 @@ textfield */
-fx-alignment: center;
}
#charts .axis {
#charts .axis, #price-chart .axis, #volume-chart .axis {
-fx-tick-label-fill: -bs-black;
-fx-tick-label-font-size: 0.923em;
-fx-tick-label-font-size: 0.846em;
-fx-tick-label-font-family:"Roboto Condensed Light";
}

View File

@ -313,6 +313,7 @@ public class TradesChartsView extends ActivatableViewAndModel<VBox, TradesCharts
return null;
}
});
priceChart.setId("price-chart");
priceChart.setMinHeight(198);
priceChart.setPrefHeight(198);
priceChart.setMaxHeight(300);
@ -357,6 +358,7 @@ public class TradesChartsView extends ActivatableViewAndModel<VBox, TradesCharts
}
});
//noinspection unchecked
volumeChart.setId("volume-chart");
volumeChart.setData(FXCollections.observableArrayList(volumeSeries));
volumeChart.setMinHeight(148);
volumeChart.setPrefHeight(148);