Misc burn chart series CSS color settings and tooltip description.

This commit is contained in:
jmacxx 2022-09-30 20:46:21 -05:00
parent 8b92b2cdf5
commit b5dc6a4e45
No known key found for this signature in database
GPG key ID: 155297BABFE94A1B
5 changed files with 20 additions and 0 deletions

View file

@ -2661,6 +2661,8 @@ dao.factsAndFigures.supply.btcFees=BTC trade fees (proof of Burn)
dao.factsAndFigures.supply.arbitration=From arbitration (proof of Burn)
dao.factsAndFigures.supply.proofOfBurn=Proof of Burn
dao.factsAndFigures.supply.miscBurn=Miscellaneous Burn
dao.factsAndFigures.supply.miscBurn.tooltip=Miscellaneous BSQ burns such as DAO proposal, voting fees\n\
and any BSQ burns not covered by other chart series.
dao.factsAndFigures.supply.arbitrationDiff=Reimbursement costs
dao.factsAndFigures.supply.arbitrationDiff.tooltip=Reimbursement requests minus burned BSQ from arbitration cases.\n\
Should tend to zero long term. As there is considerable time delays between reimbursement requests and burn intervals \n\

View file

@ -1886,6 +1886,14 @@ textfield */
-fx-background-color: -bs-chart-dao-line14, -bs-chart-dao-line14;
}
#charts-dao .default-color14.chart-series-line {
-fx-stroke: -bs-chart-dao-line15;
}
#charts-dao .default-color14.chart-line-symbol {
-fx-background-color: -bs-chart-dao-line15, -bs-chart-dao-line15;
}
#charts-legend-toggle0 {
-jfx-toggle-color: -bs-chart-dao-line1
@ -1943,6 +1951,10 @@ textfield */
-jfx-toggle-color: -bs-chart-dao-line14;
}
#charts-legend-toggle14 {
-jfx-toggle-color: -bs-chart-dao-line15;
}
#charts-dao .chart-series-line {
-fx-stroke-width: 2px;
}

View file

@ -228,6 +228,10 @@ public class DaoChartView extends ChartView<DaoChartViewModel> {
Tooltip tooltip = new Tooltip(Res.get("dao.factsAndFigures.supply.supplyChange.tooltip"));
tooltip.setShowDelay(Duration.millis(100));
Tooltip.install(toggle, tooltip);
} else if (series.equals(seriesMiscBurn)) {
Tooltip tooltip = new Tooltip(Res.get("dao.factsAndFigures.supply.miscBurn.tooltip"));
tooltip.setShowDelay(Duration.millis(100));
Tooltip.install(toggle, tooltip);
}
}

View file

@ -153,6 +153,7 @@
-bs-chart-dao-line12: #1a6b66;
-bs-chart-dao-line13: #b6239c;
-bs-chart-dao-line14: #0052ff;
-bs-chart-dao-line15: #99ba9c;
/* Monero orange color code */
-xmr-orange: #f26822;

View file

@ -120,6 +120,7 @@
-bs-chart-dao-line12: #1a6b66;
-bs-chart-dao-line13: #b6239c;
-bs-chart-dao-line14: #0052ff;
-bs-chart-dao-line15: #99ba9c;
/* Monero orange color code */
-xmr-orange: #f26822;