added growth rate to hero chart title
This commit is contained in:
parent
e862eceb34
commit
11b08e47f8
@ -140,7 +140,7 @@ html
|
||||
script.
|
||||
makeHeroChart(
|
||||
'main-chart',
|
||||
!{JSON.stringify(data.name || '')},
|
||||
!{JSON.stringify(data.name + ' (' + (data.deathGrowthRate < 0 ? '' : '+') + (data.deathGrowthRate * 100).toFixed(2) + '%)')},
|
||||
!{JSON.stringify(data.timeSeriesDaily.map(x => x.key))},
|
||||
!{JSON.stringify(data.timeSeriesDaily.map(x => x.value))},
|
||||
!{JSON.stringify(data.timeSeriesDaily.map(x => x.delta))},
|
||||
|
Loading…
Reference in New Issue
Block a user