Merge pull request #3326 from poanetwork/vb-chart-smoothness

Chart smooth lines
pull/3327/head
Victor Baranov 4 years ago committed by GitHub
commit 698622d362
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 12
      apps/block_scout_web/assets/js/lib/history_chart.js

@ -63,6 +63,7 @@
- [#3220](https://github.com/poanetwork/blockscout/pull/3220) - Allow interaction with navbar menu at block-not-found page - [#3220](https://github.com/poanetwork/blockscout/pull/3220) - Allow interaction with navbar menu at block-not-found page
### Chore ### 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 - [#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 - [#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 - [f3a720](https://github.com/poanetwork/blockscout/commit/2dd909c10a79b0bf4b7541a486be114152f3a720) - Make wobserver optional

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

Loading…
Cancel
Save