@splunk/visualizations 28.4.0 → 28.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/Area.config.js +28 -7
  2. package/Area.config.js.map +2 -2
  3. package/Area.js +109 -39
  4. package/Area.js.map +2 -2
  5. package/Bar.config.js +28 -7
  6. package/Bar.config.js.map +2 -2
  7. package/Bar.js +109 -39
  8. package/Bar.js.map +2 -2
  9. package/Bubble.config.js +4 -4
  10. package/Bubble.config.js.map +2 -2
  11. package/Bubble.js +81 -30
  12. package/Bubble.js.map +2 -2
  13. package/CHANGELOG.external.md +98 -0
  14. package/ChoroplethSvg.js +74 -26
  15. package/ChoroplethSvg.js.map +2 -2
  16. package/Column.config.js +28 -7
  17. package/Column.config.js.map +2 -2
  18. package/Column.js +109 -39
  19. package/Column.js.map +2 -2
  20. package/Ellipse/config.d.ts.map +1 -1
  21. package/Ellipse.config.js +14 -5
  22. package/Ellipse.config.js.map +4 -4
  23. package/Ellipse.js +130 -73
  24. package/Ellipse.js.map +4 -4
  25. package/Events.js +74 -26
  26. package/Events.js.map +2 -2
  27. package/FillerGauge.js +234 -47
  28. package/FillerGauge.js.map +2 -2
  29. package/Image.js +74 -26
  30. package/Image.js.map +2 -2
  31. package/Line/lineUtils.d.ts.map +1 -1
  32. package/Line/mockdata/LineData.d.ts +95 -0
  33. package/Line/mockdata/LineData.d.ts.map +1 -1
  34. package/Line.config.js +28 -7
  35. package/Line.config.js.map +2 -2
  36. package/Line.js +125 -41
  37. package/Line.js.map +2 -2
  38. package/LinkGraph.js +74 -26
  39. package/LinkGraph.js.map +2 -2
  40. package/Map/PureMap/BubbleLayer.d.ts.map +1 -1
  41. package/Map/PureMap/ClusterLayer.d.ts.map +1 -1
  42. package/Map/PureMap/MapUtils.d.ts +2 -2
  43. package/Map/PureMap/MapUtils.d.ts.map +1 -1
  44. package/Map/PureMap/PureMap.d.ts.map +1 -1
  45. package/Map.js +111 -37
  46. package/Map.js.map +2 -2
  47. package/Markdown/config.d.ts.map +1 -1
  48. package/Markdown.config.js +14 -5
  49. package/Markdown.config.js.map +4 -4
  50. package/Markdown.js +91 -34
  51. package/Markdown.js.map +4 -4
  52. package/MarkerGauge.js +243 -56
  53. package/MarkerGauge.js.map +4 -4
  54. package/NetworkGraph/PureNetworkGraph/PureNetworkGraph.d.ts.map +1 -1
  55. package/NetworkGraph/PureNetworkGraph/components/Node.d.ts.map +1 -1
  56. package/NetworkGraph/PureNetworkGraph/components/ZoomControls.d.ts.map +1 -1
  57. package/NetworkGraph/PureNetworkGraph/utils/dragUtils.d.ts +78 -0
  58. package/NetworkGraph/PureNetworkGraph/utils/dragUtils.d.ts.map +1 -0
  59. package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts +1 -2
  60. package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts.map +1 -1
  61. package/NetworkGraph/config.d.ts.map +1 -1
  62. package/NetworkGraph.config.js +1 -0
  63. package/NetworkGraph.config.js.map +2 -2
  64. package/NetworkGraph.js +366 -105
  65. package/NetworkGraph.js.map +4 -4
  66. package/PERFORMANCE.md +23 -0
  67. package/ParallelCoordinates/ParallelCoordinates.d.ts +1 -46
  68. package/ParallelCoordinates/ParallelCoordinates.d.ts.map +1 -1
  69. package/ParallelCoordinates/PureParallelCoordinates/PureParallelCoordinates.d.ts +12 -58
  70. package/ParallelCoordinates/PureParallelCoordinates/PureParallelCoordinates.d.ts.map +1 -1
  71. package/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesChart.d.ts +1 -0
  72. package/ParallelCoordinates/PureParallelCoordinates/src/ParallelCoordinatesChart.d.ts.map +1 -1
  73. package/ParallelCoordinates.js +150 -153
  74. package/ParallelCoordinates.js.map +4 -4
  75. package/Pie/Pie.d.ts.map +1 -1
  76. package/Pie/config.d.ts.map +1 -1
  77. package/Pie/pieUtils.d.ts +4 -0
  78. package/Pie/pieUtils.d.ts.map +1 -1
  79. package/Pie.config.js +16 -0
  80. package/Pie.config.js.map +2 -2
  81. package/Pie.js +121 -35
  82. package/Pie.js.map +2 -2
  83. package/Punchcard.js +74 -26
  84. package/Punchcard.js.map +2 -2
  85. package/Rectangle/config.d.ts.map +1 -1
  86. package/Rectangle.config.js +14 -5
  87. package/Rectangle.config.js.map +4 -4
  88. package/Rectangle.js +92 -35
  89. package/Rectangle.js.map +4 -4
  90. package/Sankey/PureSankey/PureSankey.d.ts +26 -72
  91. package/Sankey/PureSankey/PureSankey.d.ts.map +1 -1
  92. package/Sankey/PureSankey/SankeyLink.d.ts +3 -19
  93. package/Sankey/PureSankey/SankeyLink.d.ts.map +1 -1
  94. package/Sankey/PureSankey/SankeyNode.d.ts +3 -20
  95. package/Sankey/PureSankey/SankeyNode.d.ts.map +1 -1
  96. package/Sankey/PureSankey/SankeyTooltip.d.ts +3 -24
  97. package/Sankey/PureSankey/SankeyTooltip.d.ts.map +1 -1
  98. package/Sankey.js +270 -336
  99. package/Sankey.js.map +2 -2
  100. package/Scatter.config.js +168 -147
  101. package/Scatter.config.js.map +4 -4
  102. package/Scatter.js +249 -179
  103. package/Scatter.js.map +4 -4
  104. package/SingleValue.js +96 -75
  105. package/SingleValue.js.map +2 -2
  106. package/SingleValueIcon/config.d.ts.map +1 -1
  107. package/SingleValueIcon.config.js +14 -5
  108. package/SingleValueIcon.config.js.map +4 -4
  109. package/SingleValueIcon.js +118 -76
  110. package/SingleValueIcon.js.map +4 -4
  111. package/SingleValueRadial/PureSingleValueRadial/GaugeGraph.d.ts.map +1 -1
  112. package/SingleValueRadial.js +95 -76
  113. package/SingleValueRadial.js.map +2 -2
  114. package/Table/Table.d.ts.map +1 -1
  115. package/Table/hooks.d.ts +2 -0
  116. package/Table/hooks.d.ts.map +1 -1
  117. package/Table.js +95 -49
  118. package/Table.js.map +2 -2
  119. package/Timeline/PureTimeline/PureTimeline.d.ts.map +1 -1
  120. package/Timeline/PureTimeline/src/TimelinePlugin.d.ts.map +1 -1
  121. package/Timeline/PureTimeline/src/TimelineYAxis.d.ts.map +1 -1
  122. package/Timeline/PureTimeline/src/utils/timelineUtils.d.ts +2 -1
  123. package/Timeline/PureTimeline/src/utils/timelineUtils.d.ts.map +1 -1
  124. package/Timeline.js +154 -54
  125. package/Timeline.js.map +2 -2
  126. package/common/Charting.d.ts.map +1 -1
  127. package/common/Charting.js +3 -0
  128. package/common/Charting.js.map +2 -2
  129. package/common/GaugeMajorTicks.js +150 -13
  130. package/common/GaugeMajorTicks.js.map +4 -4
  131. package/common/GaugeValueMarker.js +84 -17
  132. package/common/GaugeValueMarker.js.map +4 -4
  133. package/common/OptionsDoc.js.map +1 -1
  134. package/common/OverviewDoc.d.ts.map +1 -1
  135. package/common/OverviewDoc.js +2 -2
  136. package/common/OverviewDoc.js.map +2 -2
  137. package/common/TimeSeriesChartWrapper.d.ts.map +1 -1
  138. package/common/TimeSeriesChartWrapper.js +72 -24
  139. package/common/TimeSeriesChartWrapper.js.map +2 -2
  140. package/common/chartingUtils.d.ts +9 -3
  141. package/common/chartingUtils.d.ts.map +1 -1
  142. package/common/chartingUtils.js +21 -16
  143. package/common/chartingUtils.js.map +2 -2
  144. package/common/editorConfig/AxesChartDataConfig.d.ts +3 -3
  145. package/common/editorConfig/AxesChartDataConfig.d.ts.map +1 -1
  146. package/common/editorConfig/AxesChartDataDisplay.d.ts +4 -0
  147. package/common/editorConfig/AxesChartDataDisplay.d.ts.map +1 -1
  148. package/common/editorConfig/AxesChartLegend.d.ts.map +1 -1
  149. package/common/gaugeUtils.d.ts +37 -0
  150. package/common/gaugeUtils.d.ts.map +1 -1
  151. package/common/gaugeUtils.js +152 -2
  152. package/common/gaugeUtils.js.map +4 -4
  153. package/common/hocs/mockdata/trellisData.d.ts +119 -0
  154. package/common/hocs/mockdata/trellisData.d.ts.map +1 -1
  155. package/common/interfaces/Overview.d.ts +1 -0
  156. package/common/interfaces/Overview.d.ts.map +1 -1
  157. package/common/interfaces/VizConfig.d.ts +2 -1
  158. package/common/interfaces/VizConfig.d.ts.map +1 -1
  159. package/common/utils/mapUtils.js.map +1 -1
  160. package/common/utils/trellisUtils.d.ts.map +1 -1
  161. package/common/utils/trellisUtils.js +4 -6
  162. package/common/utils/trellisUtils.js.map +2 -2
  163. package/common/withDashboardViz.js +74 -26
  164. package/common/withDashboardViz.js.map +2 -2
  165. package/package.json +36 -36
package/Scatter.config.js CHANGED
@@ -248,7 +248,7 @@ var TrellisBackgroundColorEditor = {
248
248
  showEditor: isTrellisEnabled
249
249
  };
250
250
 
251
- // src/common/editorConfig/AxesChartDataDisplay.ts
251
+ // src/common/editorConfig/AxesChartDataConfig.ts
252
252
  var isTrellisFeatureFlagOn2 = ({ featureFlags }) => {
253
253
  return Boolean(featureFlags == null ? void 0 : featureFlags.visualizations_enableTrellis);
254
254
  };
@@ -256,146 +256,8 @@ var isTrellisEnabled2 = ({ options, featureFlags }) => {
256
256
  const { splitByLayout = visualization_schemas_exports.LAYOUT_TYPE.Off } = options;
257
257
  return isTrellisFeatureFlagOn2({ featureFlags }) && splitByLayout === visualization_schemas_exports.LAYOUT_TYPE.Trellis;
258
258
  };
259
- var AxesChartDataDisplayBase = {
260
- label: (0, i18n_exports._)("Data display"),
261
- layout: [
262
- [
263
- {
264
- label: (0, i18n_exports._)("Stack mode"),
265
- option: "stackMode",
266
- editor: "editor.select",
267
- editorProps: {
268
- values: [
269
- { label: (0, i18n_exports._)("Not stacked"), value: "auto" },
270
- { label: (0, i18n_exports._)("Stacked"), value: "stacked" },
271
- { label: (0, i18n_exports._)("Stacked 100%"), value: "stacked100" }
272
- ]
273
- }
274
- }
275
- ],
276
- [
277
- {
278
- label: (0, i18n_exports._)("Null value display"),
279
- option: "nullValueDisplay",
280
- editor: "editor.radioBar",
281
- editorProps: {
282
- values: [
283
- { label: (0, i18n_exports._)("Gaps"), value: "gaps" },
284
- { label: (0, i18n_exports._)("Zero"), value: "zero" },
285
- { label: (0, i18n_exports._)("Connect"), value: "connect" }
286
- ]
287
- }
288
- }
289
- ],
290
- [
291
- {
292
- label: (0, i18n_exports._)("Data value display"),
293
- option: "dataValuesDisplay",
294
- editor: "editor.radioBar",
295
- editorProps: {
296
- values: [
297
- { label: (0, i18n_exports._)("Off"), value: "off" },
298
- { label: (0, i18n_exports._)("All"), value: "all" },
299
- { label: (0, i18n_exports._)("Min/Max"), value: "minmax" }
300
- ]
301
- }
302
- }
303
- ],
304
- [
305
- {
306
- label: (0, i18n_exports._)("Overlay fields"),
307
- option: "overlayFields",
308
- editor: "editor.columnMultiSelectionByFieldNameEditor",
309
- editorProps: {
310
- filterByTypes: ["number"]
311
- },
312
- isDisabled: isTrellisEnabled2
313
- }
314
- ],
315
- [
316
- {
317
- label: (0, i18n_exports._)("Split series"),
318
- option: "showSplitSeries",
319
- editor: "editor.toggle"
320
- }
321
- ],
322
- [
323
- {
324
- label: (0, i18n_exports._)("Independent y-axis for split series"),
325
- option: "showIndependentYRanges",
326
- editor: "editor.checkbox",
327
- showEditor: ({ options }) => options.showSplitSeries
328
- }
329
- ],
330
- ...TimechartTrellisEditorConfig
331
- ]
332
- };
333
- var AxesChartDataDisplayBar = {
334
- label: AxesChartDataDisplayBase.label,
335
- layout: [
336
- AxesChartDataDisplayBase.layout[0],
337
- // remove null value display editor at index 1
338
- ...AxesChartDataDisplayBase.layout.slice(2)
339
- ]
340
- };
341
- var AxesChartDataDisplayScatter = {
342
- label: AxesChartDataDisplayBase.label,
343
- layout: [
344
- ...TrellisEditorConfig,
345
- [
346
- {
347
- label: (0, i18n_exports._)("Shared y-axis scale"),
348
- option: "trellisSharedScale",
349
- editor: "editor.checkbox",
350
- showEditor: isTrellisEnabled2
351
- }
352
- ]
353
- ]
354
- };
355
- var AxesChartDataDisplayColumn = {
356
- label: AxesChartDataDisplayBase.label,
357
- layout: [
358
- AxesChartDataDisplayBase.layout[0],
359
- // remove null value display and add data value display
360
- AxesChartDataDisplayBase.layout[2],
361
- [
362
- {
363
- label: (0, i18n_exports._)("Show tooltip on hover"),
364
- option: "showTooltip",
365
- editor: "editor.checkbox"
366
- }
367
- ],
368
- ...AxesChartDataDisplayBase.layout.slice(3),
369
- [
370
- {
371
- label: (0, i18n_exports._)("Column grouping mode"),
372
- option: "columnGrouping",
373
- editor: "editor.radioBar",
374
- editorProps: {
375
- values: [
376
- { label: (0, i18n_exports._)("Auto"), value: "auto" },
377
- { label: (0, i18n_exports._)("Overlay"), value: "overlay" }
378
- ]
379
- }
380
- }
381
- ]
382
- ]
383
- };
384
- var AxesChartDataDisplayLine = {
385
- label: AxesChartDataDisplayBase.label,
386
- layout: [
387
- // remove stacked mode editor
388
- ...AxesChartDataDisplayBase.layout.slice(1)
389
- ]
390
- };
391
-
392
- // src/common/editorConfig/AxesChartDataConfig.ts
393
- var isTrellisFeatureFlagOn3 = ({ featureFlags }) => {
394
- return Boolean(featureFlags == null ? void 0 : featureFlags.visualizations_enableTrellis);
395
- };
396
- var isTrellisEnabled3 = ({ options, featureFlags }) => {
397
- const { splitByLayout = visualization_schemas_exports.LAYOUT_TYPE.Off } = options;
398
- return isTrellisFeatureFlagOn3({ featureFlags }) && splitByLayout === visualization_schemas_exports.LAYOUT_TYPE.Trellis;
259
+ var isAcceleratedRenderFeatureFlagOn = ({ featureFlags }) => {
260
+ return Boolean(featureFlags == null ? void 0 : featureFlags.visualizations_enableAcceleratedRender);
399
261
  };
400
262
  var AxesChartDataConfig = {
401
263
  label: (0, i18n_exports._)("Data configurations"),
@@ -458,7 +320,7 @@ var AxesChartDataConfigBar = {
458
320
  supportsDSL: true,
459
321
  expectedDataPrimitive: ["series", "frame"]
460
322
  },
461
- isDisabled: isTrellisEnabled3
323
+ isDisabled: isTrellisEnabled2
462
324
  }
463
325
  ])
464
326
  };
@@ -530,9 +392,6 @@ var AxesChartDataConfigBubble = {
530
392
  }
531
393
  ])
532
394
  };
533
- var isAcceleratedRenderFeatureFlagOn = ({ featureFlags }) => {
534
- return Boolean(featureFlags == null ? void 0 : featureFlags.visualizations_enableAcceleratedRender);
535
- };
536
395
  var AcceleratedRenderEditorLayout = [
537
396
  [
538
397
  {
@@ -542,7 +401,7 @@ var AcceleratedRenderEditorLayout = [
542
401
  showEditor: isAcceleratedRenderFeatureFlagOn,
543
402
  editorProps: {
544
403
  help: (0, i18n_exports._)(
545
- "Render visualizations faster for large datasets. Some functionalities might not be available in this mode."
404
+ "Render visualizations faster for large datasets. Split series is not available in this mode."
546
405
  ),
547
406
  helpFormat: "under"
548
407
  // helpTextLink: {
@@ -587,6 +446,168 @@ var AxesChartDataConfigLine = __spreadProps(__spreadValues({}, AxesChartDataConf
587
446
  layout: [...AcceleratedRenderEditorLayout, ...AxesChartDataConfigAreaColumnLine.layout]
588
447
  });
589
448
 
449
+ // src/common/editorConfig/AxesChartDataDisplay.ts
450
+ var isTrellisFeatureFlagOn3 = ({ featureFlags }) => {
451
+ return Boolean(featureFlags == null ? void 0 : featureFlags.visualizations_enableTrellis);
452
+ };
453
+ var isTrellisEnabled3 = ({ options, featureFlags }) => {
454
+ const { splitByLayout = visualization_schemas_exports.LAYOUT_TYPE.Off } = options;
455
+ return isTrellisFeatureFlagOn3({ featureFlags }) && splitByLayout === visualization_schemas_exports.LAYOUT_TYPE.Trellis;
456
+ };
457
+ var isAcceleratedRenderEnabled = ({ options, featureFlags }) => {
458
+ const { acceleratedRender } = options;
459
+ return isAcceleratedRenderFeatureFlagOn({ featureFlags }) && acceleratedRender;
460
+ };
461
+ var AxesChartDataDisplayBase = {
462
+ label: (0, i18n_exports._)("Data display"),
463
+ layout: [
464
+ [
465
+ {
466
+ label: (0, i18n_exports._)("Stack mode"),
467
+ option: "stackMode",
468
+ editor: "editor.select",
469
+ editorProps: {
470
+ values: [
471
+ { label: (0, i18n_exports._)("Not stacked"), value: "auto" },
472
+ { label: (0, i18n_exports._)("Stacked"), value: "stacked" },
473
+ { label: (0, i18n_exports._)("Stacked 100%"), value: "stacked100" }
474
+ ]
475
+ }
476
+ }
477
+ ],
478
+ [
479
+ {
480
+ label: (0, i18n_exports._)("Null value display"),
481
+ option: "nullValueDisplay",
482
+ editor: "editor.radioBar",
483
+ editorProps: {
484
+ values: [
485
+ { label: (0, i18n_exports._)("Gaps"), value: "gaps" },
486
+ { label: (0, i18n_exports._)("Zero"), value: "zero" },
487
+ { label: (0, i18n_exports._)("Connect"), value: "connect" }
488
+ ]
489
+ }
490
+ }
491
+ ],
492
+ [
493
+ {
494
+ label: (0, i18n_exports._)("Data value display"),
495
+ option: "dataValuesDisplay",
496
+ editor: "editor.radioBar",
497
+ editorProps: {
498
+ values: [
499
+ { label: (0, i18n_exports._)("Off"), value: "off" },
500
+ { label: (0, i18n_exports._)("All"), value: "all" },
501
+ { label: (0, i18n_exports._)("Min/Max"), value: "minmax" }
502
+ ]
503
+ }
504
+ }
505
+ ],
506
+ [
507
+ {
508
+ label: (0, i18n_exports._)("Overlay fields"),
509
+ option: "overlayFields",
510
+ editor: "editor.columnMultiSelectionByFieldNameEditor",
511
+ editorProps: {
512
+ filterByTypes: ["number"]
513
+ },
514
+ isDisabled: isTrellisEnabled3
515
+ }
516
+ ],
517
+ [
518
+ {
519
+ label: (0, i18n_exports._)("Split series"),
520
+ option: "showSplitSeries",
521
+ editor: "editor.toggle",
522
+ isDisabled: isAcceleratedRenderEnabled
523
+ }
524
+ ],
525
+ [
526
+ {
527
+ label: (0, i18n_exports._)("Independent y-axis for split series"),
528
+ option: "showIndependentYRanges",
529
+ editor: "editor.checkbox",
530
+ showEditor: ({ options, featureFlags }) => options.showSplitSeries && !isAcceleratedRenderEnabled({ options, featureFlags })
531
+ }
532
+ ],
533
+ [
534
+ {
535
+ label: (0, i18n_exports._)("Step position"),
536
+ option: "stepPosition",
537
+ editor: "editor.radioBar",
538
+ editorProps: {
539
+ values: [
540
+ { label: (0, i18n_exports._)("Off"), value: "off" },
541
+ { label: (0, i18n_exports._)("Before"), value: "before" },
542
+ { label: (0, i18n_exports._)("After"), value: "after" }
543
+ ]
544
+ },
545
+ showEditor: ({ options, featureFlags }) => isAcceleratedRenderEnabled({ options, featureFlags })
546
+ // step position is only supported when accelerated render is enabled
547
+ }
548
+ ],
549
+ ...TimechartTrellisEditorConfig
550
+ ]
551
+ };
552
+ var AxesChartDataDisplayBar = {
553
+ label: AxesChartDataDisplayBase.label,
554
+ layout: [
555
+ AxesChartDataDisplayBase.layout[0],
556
+ // remove null value display editor at index 1
557
+ ...AxesChartDataDisplayBase.layout.slice(2)
558
+ ]
559
+ };
560
+ var AxesChartDataDisplayScatter = {
561
+ label: AxesChartDataDisplayBase.label,
562
+ layout: [
563
+ ...TrellisEditorConfig,
564
+ [
565
+ {
566
+ label: (0, i18n_exports._)("Shared y-axis scale"),
567
+ option: "trellisSharedScale",
568
+ editor: "editor.checkbox",
569
+ showEditor: isTrellisEnabled3
570
+ }
571
+ ]
572
+ ]
573
+ };
574
+ var AxesChartDataDisplayColumn = {
575
+ label: AxesChartDataDisplayBase.label,
576
+ layout: [
577
+ AxesChartDataDisplayBase.layout[0],
578
+ // remove null value display and add data value display
579
+ AxesChartDataDisplayBase.layout[2],
580
+ [
581
+ {
582
+ label: (0, i18n_exports._)("Show tooltip on hover"),
583
+ option: "showTooltip",
584
+ editor: "editor.checkbox"
585
+ }
586
+ ],
587
+ ...AxesChartDataDisplayBase.layout.slice(3),
588
+ [
589
+ {
590
+ label: (0, i18n_exports._)("Column grouping mode"),
591
+ option: "columnGrouping",
592
+ editor: "editor.radioBar",
593
+ editorProps: {
594
+ values: [
595
+ { label: (0, i18n_exports._)("Auto"), value: "auto" },
596
+ { label: (0, i18n_exports._)("Overlay"), value: "overlay" }
597
+ ]
598
+ }
599
+ }
600
+ ]
601
+ ]
602
+ };
603
+ var AxesChartDataDisplayLine = {
604
+ label: AxesChartDataDisplayBase.label,
605
+ layout: [
606
+ // remove stacked mode editor
607
+ ...AxesChartDataDisplayBase.layout.slice(1)
608
+ ]
609
+ };
610
+
590
611
  // src/common/editorConfig/AxesChartXGridAndLabels.ts
591
612
  var AxesChartXGridAndLabelsCommon = {
592
613
  label: (0, i18n_exports._)("X-axis grid and labels"),
@@ -982,7 +1003,7 @@ var AxesChartLegendWithTrellisAndMode = ({
982
1003
  { label: (0, i18n_exports._)("Bottom"), value: "bottom" },
983
1004
  { label: (0, i18n_exports._)("Off"), value: "off" }
984
1005
  ],
985
- tooltip: showLegendTooltip && (0, i18n_exports._)('Legend mode must be "Standard" to configure legend display')
1006
+ tooltip: showLegendTooltip ? (0, i18n_exports._)('Legend mode must be "Standard" to configure legend display') : void 0
986
1007
  },
987
1008
  isDisabled: showLegendTooltip ? ({ options }) => options.legendMode === "seriesCompare" : void 0,
988
1009
  overrideDefaultValue: ({ options }) => (options == null ? void 0 : options.splitByLayout) === "trellis" ? "off" : "right"