Chart smooth lines

pull/3326/head
Victor Baranov 4 years ago
parent 06405b78a7
commit 67ab802f05
  1. 1
      CHANGELOG.md
  2. 12
      apps/block_scout_web/assets/js/lib/history_chart.js

@ -62,6 +62,7 @@
- [#3220](https://github.com/poanetwork/blockscout/pull/3220) - Allow interaction with navbar menu at block-not-found page
### Chore
- [#3326](https://github.com/poanetwork/blockscout/pull/3326) - Chart smooth lines
- [#3250](https://github.com/poanetwork/blockscout/pull/3250) - Eliminate occurrences of obsolete env variable ETHEREUM_JSONRPC_JSON_RPC_TRANSPORT
- [#3240](https://github.com/poanetwork/blockscout/pull/3240), [#3251](https://github.com/poanetwork/blockscout/pull/3251) - various CSS imroving
- [f3a720](https://github.com/poanetwork/blockscout/commit/2dd909c10a79b0bf4b7541a486be114152f3a720) - Make wobserver optional

@ -174,8 +174,8 @@ class MarketHistoryChart {
fill: false,
pointRadius: 0,
backgroundColor: priceLineColor,
borderColor: priceLineColor,
lineTension: 0
borderColor: priceLineColor
// lineTension: 0
}
if (dataConfig.market === undefined || dataConfig.market.indexOf('price') === -1) {
this.price.hidden = true
@ -190,8 +190,8 @@ class MarketHistoryChart {
fill: false,
pointRadius: 0,
backgroundColor: mcapLineColor,
borderColor: mcapLineColor,
lineTension: 0
borderColor: mcapLineColor
// lineTension: 0
}
if (dataConfig.market === undefined || dataConfig.market.indexOf('market_cap') === -1) {
this.marketCap.hidden = true
@ -206,8 +206,8 @@ class MarketHistoryChart {
fill: false,
pointRadius: 0,
backgroundColor: sassVariables.dashboardLineColorTransactions,
borderColor: sassVariables.dashboardLineColorTransactions,
lineTension: 0
borderColor: sassVariables.dashboardLineColorTransactions
// lineTension: 0
}
if (dataConfig.transactions === undefined || dataConfig.transactions.indexOf('transactions_per_day') === -1) {

Loading…
Cancel
Save