CORDA-3167 added titles to Treasury chart in Explorer

This commit is contained in:
dmytrobr 2018-07-16 22:04:19 -04:00 committed by Mike Hearn
parent 1ca2059863
commit 21725ef192

View File

@ -304,12 +304,17 @@ class CashViewer : CordaView("Cash") {
tickLabelFormatter = stringConverter {
Instant.ofEpochMilli(it.toLong()).atZone(TimeZone.getDefault().toZoneId()).toLocalTime().toString()
}
label= "Timeline"
style = "-fx-font-size: 10px;"
}
val yAxis = NumberAxis().apply {
isAutoRanging = true
isMinorTickVisible = false
isForceZeroInRange = false
tickLabelFormatter = stringConverter { it.toStringWithSuffix() }
label= "Cash"
style = "-fx-font-size: 10px;"
}
linechart(null, xAxis, yAxis) {
series("USD") {