Show only market gain on performance chart (#190)

(by default) Allow other options as a choice
This commit is contained in:
hackerESQ
2026-03-20 20:51:19 -05:00
committed by GitHub
parent a98dcd0732
commit d449a89349
2 changed files with 9 additions and 5 deletions
@@ -99,6 +99,7 @@
this.data.tooltip = {
enabled: true,
shared: false,
y: {
formatter: (value, { series, seriesIndex, dataPointIndex, w }) => {
const firstDataPoint = this.data.series[seriesIndex].data[0][1]