We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63824d5 commit 34d6425Copy full SHA for 34d6425
src/modules/tooltip/Labels.js
@@ -211,7 +211,7 @@ export default class Labels {
211
}
212
const ttYVal = ttItems[t].querySelector('.apexcharts-tooltip-text-value')
213
if (ttYVal) {
214
- ttYVal.innerHTML = val
+ ttYVal.innerHTML = typeof val !== 'undefined' ? val : ''
215
216
217
if (
@@ -243,7 +243,7 @@ export default class Labels {
243
ttZVal.innerHTML = typeof zVal !== 'undefined' ? zVal : ''
244
245
246
- if (shared && ttItemsChildren[0] && ttCtx.tooltipTitle) {
+ if (shared && ttItemsChildren[0]) {
247
// hide when no Val or series collapsed
248
249
typeof val === 'undefined' ||
0 commit comments