@@ -165,11 +165,11 @@ export default {
165
165
},
166
166
tooltip: {
167
167
custom ({ seriesIndex, dataPointIndex, w }) {
168
- const max = formatDuration (w .globals .seriesCandleC [seriesIndex][dataPointIndex], true )
169
- const q3 = formatDuration (w .globals .seriesCandleL [seriesIndex][dataPointIndex], true )
170
- const med = formatDuration (w .globals .seriesCandleM [seriesIndex][dataPointIndex], true )
171
- const q1 = formatDuration (w .globals .seriesCandleH [seriesIndex][dataPointIndex], true )
172
- const min = formatDuration (w .globals .seriesCandleO [seriesIndex][dataPointIndex], true )
168
+ const max = formatDuration (w .globals .seriesCandleC [seriesIndex][dataPointIndex], { allowZeros : true } )
169
+ const q3 = formatDuration (w .globals .seriesCandleL [seriesIndex][dataPointIndex], { allowZeros : true } )
170
+ const med = formatDuration (w .globals .seriesCandleM [seriesIndex][dataPointIndex], { allowZeros : true } )
171
+ const q1 = formatDuration (w .globals .seriesCandleH [seriesIndex][dataPointIndex], { allowZeros : true } )
172
+ const min = formatDuration (w .globals .seriesCandleO [seriesIndex][dataPointIndex], { allowZeros : true } )
173
173
return `
174
174
<div class="pa-2">
175
175
<div>Maximum: ${ max} </div>
@@ -197,7 +197,7 @@ export default {
197
197
text: ` ${ upperFirst (props .timingOption )} time` ,
198
198
},
199
199
labels: {
200
- formatter : (value ) => formatDuration (value, true )
200
+ formatter : (value ) => formatDuration (value, { allowZeros : true } )
201
201
},
202
202
},
203
203
}))
0 commit comments