mirror of
https://github.com/corda/corda.git
synced 2024-12-20 21:43:14 +00:00
CORDA-3167 added titles to Treasury chart in Explorer
This commit is contained in:
parent
1ca2059863
commit
21725ef192
@ -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") {
|
||||
|
Loading…
Reference in New Issue
Block a user