@splunk/visualizations 25.13.0 → 26.0.0
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.
- package/Area.config.js +216 -216
- package/Area.config.js.map +1 -1
- package/Area.js +529 -561
- package/Area.js.map +1 -1
- package/Bar.config.js +213 -213
- package/Bar.config.js.map +1 -1
- package/Bar.js +394 -386
- package/Bar.js.map +1 -1
- package/Bubble.config.js +140 -140
- package/Bubble.config.js.map +1 -1
- package/Bubble.js +313 -305
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.config.js +15 -15
- package/ChoroplethSvg.config.js.map +1 -1
- package/ChoroplethSvg.js +149 -144
- package/ChoroplethSvg.js.map +1 -1
- package/Column.config.js +205 -205
- package/Column.config.js.map +1 -1
- package/Column.js +387 -379
- package/Column.js.map +1 -1
- package/Ellipse.config.js +45 -45
- package/Ellipse.config.js.map +1 -1
- package/Ellipse.js +157 -144
- package/Ellipse.js.map +1 -1
- package/Events.config.js +11 -11
- package/Events.config.js.map +1 -1
- package/Events.js +274 -262
- package/Events.js.map +1 -1
- package/FillerGauge.config.js +46 -46
- package/FillerGauge.config.js.map +1 -1
- package/FillerGauge.js +267 -262
- package/FillerGauge.js.map +1 -1
- package/Image.config.js +8 -8
- package/Image.config.js.map +1 -1
- package/Image.js +110 -104
- package/Image.js.map +1 -1
- package/Line.config.js +220 -220
- package/Line.config.js.map +1 -1
- package/Line.js +404 -396
- package/Line.js.map +1 -1
- package/LinkGraph.config.js +27 -27
- package/LinkGraph.config.js.map +1 -1
- package/LinkGraph.js +557 -548
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +71 -71
- package/Map.config.js.map +1 -1
- package/Map.js +472 -466
- package/Map.js.map +1 -1
- package/Markdown.config.js +23 -23
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +151 -145
- package/Markdown.js.map +1 -1
- package/MarkerGauge.config.js +84 -84
- package/MarkerGauge.config.js.map +1 -1
- package/MarkerGauge.js +295 -289
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.config.js +23 -23
- package/ParallelCoordinates.config.js.map +1 -1
- package/ParallelCoordinates.js +164 -162
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.config.js +24 -24
- package/Pie.config.js.map +1 -1
- package/Pie.js +233 -228
- package/Pie.js.map +1 -1
- package/Punchcard.config.js +33 -33
- package/Punchcard.config.js.map +1 -1
- package/Punchcard.js +278 -279
- package/Punchcard.js.map +1 -1
- package/Rectangle.config.js +46 -46
- package/Rectangle.config.js.map +1 -1
- package/Rectangle.js +154 -142
- package/Rectangle.js.map +1 -1
- package/Sankey.config.js +19 -19
- package/Sankey.config.js.map +1 -1
- package/Sankey.js +281 -275
- package/Sankey.js.map +1 -1
- package/Scatter.config.js +135 -135
- package/Scatter.config.js.map +1 -1
- package/Scatter.js +304 -299
- package/Scatter.js.map +1 -1
- package/SingleValue.config.js +119 -119
- package/SingleValue.config.js.map +1 -1
- package/SingleValue.js +359 -341
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +14 -14
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.config.js +117 -117
- package/SingleValueIcon.config.js.map +1 -1
- package/SingleValueIcon.js +373 -371
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.config.js +157 -115
- package/SingleValueRadial.config.js.map +1 -1
- package/SingleValueRadial.js +1114 -540
- package/SingleValueRadial.js.map +1 -1
- package/SparkLine.js +50 -20
- package/SparkLine.js.map +1 -1
- package/Table.config.js +54 -54
- package/Table.config.js.map +1 -1
- package/Table.js +302 -286
- package/Table.js.map +1 -1
- package/common/Charting.js +41 -41
- package/common/Charting.js.map +1 -1
- package/common/EventsDoc.js +15 -14
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +2 -2
- package/common/GaugeMajorTicks.js.map +1 -1
- package/common/GaugeValueMarker.js +2 -2
- package/common/GaugeValueMarker.js.map +1 -1
- package/common/OptionsDoc.js +22 -22
- package/common/OptionsDoc.js.map +1 -1
- package/common/OverviewDoc.js +32 -27
- package/common/OverviewDoc.js.map +1 -1
- package/common/SplunkVisualization.js +4 -4
- package/common/SplunkVisualization.js.map +1 -1
- package/common/SplunkVisualizationApi.js +2 -2
- package/common/SplunkVisualizationApi.js.map +1 -1
- package/common/ThemesDoc.js +14 -14
- package/common/ThemesDoc.js.map +1 -1
- package/common/chartingUtils.js +12 -12
- package/common/chartingUtils.js.map +1 -1
- package/common/docUtils.js +4 -4
- package/common/docUtils.js.map +1 -1
- package/common/gaugeUtils.js +112 -112
- package/common/gaugeUtils.js.map +1 -1
- package/common/shapeUtils.js +21 -15
- package/common/shapeUtils.js.map +1 -1
- package/common/utils/configUtils.js +10 -9
- package/common/utils/configUtils.js.map +1 -1
- package/common/utils/dataUtils.js +3 -3
- package/common/utils/dataUtils.js.map +1 -1
- package/common/utils/hocUtils.js +2 -2
- package/common/utils/hocUtils.js.map +1 -1
- package/common/utils/layoutUtils.js +2 -2
- package/common/utils/layoutUtils.js.map +1 -1
- package/common/utils/mapUtils.js +84 -80
- package/common/utils/mapUtils.js.map +1 -1
- package/common/utils/singleValueUtils.js +2 -2
- package/common/utils/singleValueUtils.js.map +1 -1
- package/common/utils/testHelper.js +27 -9
- package/common/utils/testHelper.js.map +1 -1
- package/common/utils/trellisUtils.js +26 -26
- package/common/utils/trellisUtils.js.map +1 -1
- package/common/utils/urlUtils.js +2 -2
- package/common/utils/urlUtils.js.map +1 -1
- package/common/withDashboardViz.js +107 -104
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +19 -19
package/Bubble.config.js
CHANGED
|
@@ -305,8 +305,8 @@ function hasCompatibleOptions(vizOptions, presetOptions) {
|
|
|
305
305
|
*/
|
|
306
306
|
function getInitialPreset(vizContext, vizOptions, presets) {
|
|
307
307
|
return presets.find(function (preset) {
|
|
308
|
-
var presetContext = lodash_1.get(preset, ['value', 'context'], {});
|
|
309
|
-
var presetOptions = lodash_1.get(preset, ['value', 'options'], {});
|
|
308
|
+
var presetContext = (0, lodash_1.get)(preset, ['value', 'context'], {});
|
|
309
|
+
var presetOptions = (0, lodash_1.get)(preset, ['value', 'options'], {});
|
|
310
310
|
var presetContextKeys = Object.keys(presetContext);
|
|
311
311
|
var presetOptionKeys = Object.keys(presetOptions);
|
|
312
312
|
// all presets have to explicitly specify which options to reset (i.e. need explicitly undefined keys)
|
|
@@ -323,7 +323,7 @@ exports.getInitialPreset = getInitialPreset;
|
|
|
323
323
|
* @returns {{ label: string; value; string }[]} array of { label, value } tuples
|
|
324
324
|
*/
|
|
325
325
|
function generatePrecisionValues(numPrecisionValues) {
|
|
326
|
-
return lodash_1.range(0, numPrecisionValues + 1).map(function (i) {
|
|
326
|
+
return (0, lodash_1.range)(0, numPrecisionValues + 1).map(function (i) {
|
|
327
327
|
return {
|
|
328
328
|
label: "".concat(i, " (0").concat(i > 0 ? '.' : '').concat('0'.repeat(i), ")"),
|
|
329
329
|
value: i
|
|
@@ -427,7 +427,7 @@ var background = function background(_ref) {
|
|
|
427
427
|
themes = _ref.themes,
|
|
428
428
|
labelPosition = _ref.labelPosition;
|
|
429
429
|
return [{
|
|
430
|
-
label: i18n_1._(label || 'Background'),
|
|
430
|
+
label: (0, i18n_1._)(label || 'Background'),
|
|
431
431
|
option: 'backgroundColor',
|
|
432
432
|
editor: 'editor.color',
|
|
433
433
|
editorProps: {
|
|
@@ -460,9 +460,9 @@ exports.AxesChartDataConfigAreaColumnLine = exports.AxesChartDataConfigBubble =
|
|
|
460
460
|
var i18n_1 = __webpack_require__(0);
|
|
461
461
|
var configUtils_1 = __webpack_require__(4);
|
|
462
462
|
var AxesChartDataConfig = {
|
|
463
|
-
label: i18n_1._('Data configurations'),
|
|
463
|
+
label: (0, i18n_1._)('Data configurations'),
|
|
464
464
|
layout: [[{
|
|
465
|
-
label: i18n_1._('X'),
|
|
465
|
+
label: (0, i18n_1._)('X'),
|
|
466
466
|
option: 'x',
|
|
467
467
|
editor: 'editor.columnSelector',
|
|
468
468
|
editorProps: {
|
|
@@ -471,7 +471,7 @@ var AxesChartDataConfig = {
|
|
|
471
471
|
expectedDataPrimitive: ['series']
|
|
472
472
|
}
|
|
473
473
|
}], [{
|
|
474
|
-
label: i18n_1._('Y'),
|
|
474
|
+
label: (0, i18n_1._)('Y'),
|
|
475
475
|
option: 'y',
|
|
476
476
|
editor: 'editor.columnMultiSelector',
|
|
477
477
|
editorProps: {
|
|
@@ -481,7 +481,7 @@ var AxesChartDataConfig = {
|
|
|
481
481
|
expectedDataPrimitive: ['series', 'frame']
|
|
482
482
|
}
|
|
483
483
|
}], [{
|
|
484
|
-
label: i18n_1._('Result limit'),
|
|
484
|
+
label: (0, i18n_1._)('Result limit'),
|
|
485
485
|
option: 'resultLimit',
|
|
486
486
|
editor: 'editor.number',
|
|
487
487
|
editorProps: {
|
|
@@ -492,8 +492,8 @@ var AxesChartDataConfig = {
|
|
|
492
492
|
exports.AxesChartDataConfigBar = {
|
|
493
493
|
label: AxesChartDataConfig.label,
|
|
494
494
|
// insert Y2 after Y
|
|
495
|
-
layout: configUtils_1.insertLayout(AxesChartDataConfig.layout, 2, [{
|
|
496
|
-
label: i18n_1._('Y2'),
|
|
495
|
+
layout: (0, configUtils_1.insertLayout)(AxesChartDataConfig.layout, 2, [{
|
|
496
|
+
label: (0, i18n_1._)('Y2'),
|
|
497
497
|
option: 'y2',
|
|
498
498
|
editor: 'editor.columnMultiSelector',
|
|
499
499
|
editorProps: {
|
|
@@ -507,7 +507,7 @@ exports.AxesChartDataConfigBar = {
|
|
|
507
507
|
exports.AxesChartDataConfigScatter = {
|
|
508
508
|
label: AxesChartDataConfig.label,
|
|
509
509
|
layout: [[{
|
|
510
|
-
label: i18n_1._('X'),
|
|
510
|
+
label: (0, i18n_1._)('X'),
|
|
511
511
|
option: 'x',
|
|
512
512
|
editor: 'editor.columnSelector',
|
|
513
513
|
editorProps: {
|
|
@@ -516,7 +516,7 @@ exports.AxesChartDataConfigScatter = {
|
|
|
516
516
|
expectedDataPrimitive: ['series']
|
|
517
517
|
}
|
|
518
518
|
}], [{
|
|
519
|
-
label: i18n_1._('Y'),
|
|
519
|
+
label: (0, i18n_1._)('Y'),
|
|
520
520
|
option: 'y',
|
|
521
521
|
editor: 'editor.columnSelector',
|
|
522
522
|
editorProps: {
|
|
@@ -526,7 +526,7 @@ exports.AxesChartDataConfigScatter = {
|
|
|
526
526
|
expectedDataPrimitive: ['series']
|
|
527
527
|
}
|
|
528
528
|
}], [{
|
|
529
|
-
label: i18n_1._('Category'),
|
|
529
|
+
label: (0, i18n_1._)('Category'),
|
|
530
530
|
option: 'category',
|
|
531
531
|
editor: 'editor.columnSelector',
|
|
532
532
|
editorProps: {
|
|
@@ -535,7 +535,7 @@ exports.AxesChartDataConfigScatter = {
|
|
|
535
535
|
expectedDataPrimitive: ['series']
|
|
536
536
|
}
|
|
537
537
|
}], [{
|
|
538
|
-
label: i18n_1._('Result limit'),
|
|
538
|
+
label: (0, i18n_1._)('Result limit'),
|
|
539
539
|
option: 'resultLimit',
|
|
540
540
|
editor: 'editor.number',
|
|
541
541
|
editorProps: {
|
|
@@ -546,8 +546,8 @@ exports.AxesChartDataConfigScatter = {
|
|
|
546
546
|
exports.AxesChartDataConfigBubble = {
|
|
547
547
|
label: exports.AxesChartDataConfigScatter.label,
|
|
548
548
|
// layout: insert Size after Category
|
|
549
|
-
layout: configUtils_1.insertLayout(exports.AxesChartDataConfigScatter.layout, 3, [{
|
|
550
|
-
label: i18n_1._('Size'),
|
|
549
|
+
layout: (0, configUtils_1.insertLayout)(exports.AxesChartDataConfigScatter.layout, 3, [{
|
|
550
|
+
label: (0, i18n_1._)('Size'),
|
|
551
551
|
option: 'size',
|
|
552
552
|
editor: 'editor.columnSelector',
|
|
553
553
|
editorProps: {
|
|
@@ -560,7 +560,7 @@ exports.AxesChartDataConfigBubble = {
|
|
|
560
560
|
exports.AxesChartDataConfigAreaColumnLine = {
|
|
561
561
|
label: exports.AxesChartDataConfigBar.label,
|
|
562
562
|
layout: [].concat(_toConsumableArray(exports.AxesChartDataConfigBar.layout), [[{
|
|
563
|
-
label: i18n_1._('Annotation x'),
|
|
563
|
+
label: (0, i18n_1._)('Annotation x'),
|
|
564
564
|
option: 'annotationX',
|
|
565
565
|
editor: 'editor.columnSelector',
|
|
566
566
|
editorProps: {
|
|
@@ -569,7 +569,7 @@ exports.AxesChartDataConfigAreaColumnLine = {
|
|
|
569
569
|
expectedDataPrimitive: ['series']
|
|
570
570
|
}
|
|
571
571
|
}], [{
|
|
572
|
-
label: i18n_1._('Annotation labels'),
|
|
572
|
+
label: (0, i18n_1._)('Annotation labels'),
|
|
573
573
|
option: 'annotationLabel',
|
|
574
574
|
editor: 'editor.columnSelector',
|
|
575
575
|
editorProps: {
|
|
@@ -597,7 +597,7 @@ var variables_1 = __webpack_require__(10);
|
|
|
597
597
|
var BackgroundColor_1 = __webpack_require__(13);
|
|
598
598
|
var themes = {
|
|
599
599
|
defaultBackgroundColor: function defaultBackgroundColor(props) {
|
|
600
|
-
return pick_1.default({
|
|
600
|
+
return (0, pick_1.default)({
|
|
601
601
|
enterprise: {
|
|
602
602
|
dark: variables_1.default.black(props),
|
|
603
603
|
light: variables_1.default.backgroundColor(props)
|
|
@@ -607,15 +607,15 @@ var themes = {
|
|
|
607
607
|
}
|
|
608
608
|
};
|
|
609
609
|
var AxesChartColorAndStyle = {
|
|
610
|
-
label: i18n_1._('Color and style'),
|
|
611
|
-
layout: [BackgroundColor_1.default({
|
|
610
|
+
label: (0, i18n_1._)('Color and style'),
|
|
611
|
+
layout: [(0, BackgroundColor_1.default)({
|
|
612
612
|
themes: themes
|
|
613
613
|
}), [{
|
|
614
|
-
label: i18n_1._('Series colors'),
|
|
614
|
+
label: (0, i18n_1._)('Series colors'),
|
|
615
615
|
option: 'seriesColors',
|
|
616
616
|
editor: 'editor.seriesColors'
|
|
617
617
|
}], [{
|
|
618
|
-
label: i18n_1._('Series colors by field name'),
|
|
618
|
+
label: (0, i18n_1._)('Series colors by field name'),
|
|
619
619
|
option: 'seriesColorsByField',
|
|
620
620
|
editor: 'editor.seriesColorsByField'
|
|
621
621
|
}]]
|
|
@@ -634,45 +634,45 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
634
634
|
});
|
|
635
635
|
var i18n_1 = __webpack_require__(0);
|
|
636
636
|
var AxesChartLegend = {
|
|
637
|
-
label: i18n_1._('Legend'),
|
|
637
|
+
label: (0, i18n_1._)('Legend'),
|
|
638
638
|
layout: [[{
|
|
639
|
-
label: i18n_1._('Legend display'),
|
|
639
|
+
label: (0, i18n_1._)('Legend display'),
|
|
640
640
|
option: 'legendDisplay',
|
|
641
641
|
editor: 'editor.select',
|
|
642
642
|
editorProps: {
|
|
643
643
|
values: [{
|
|
644
|
-
label: i18n_1._('Right'),
|
|
644
|
+
label: (0, i18n_1._)('Right'),
|
|
645
645
|
value: 'right'
|
|
646
646
|
}, {
|
|
647
|
-
label: i18n_1._('Left'),
|
|
647
|
+
label: (0, i18n_1._)('Left'),
|
|
648
648
|
value: 'left'
|
|
649
649
|
}, {
|
|
650
|
-
label: i18n_1._('Top'),
|
|
650
|
+
label: (0, i18n_1._)('Top'),
|
|
651
651
|
value: 'top'
|
|
652
652
|
}, {
|
|
653
|
-
label: i18n_1._('Bottom'),
|
|
653
|
+
label: (0, i18n_1._)('Bottom'),
|
|
654
654
|
value: 'bottom'
|
|
655
655
|
}, {
|
|
656
|
-
label: i18n_1._('Off'),
|
|
656
|
+
label: (0, i18n_1._)('Off'),
|
|
657
657
|
value: 'off'
|
|
658
658
|
}]
|
|
659
659
|
}
|
|
660
660
|
}], [{
|
|
661
|
-
label: i18n_1._('Legend truncation'),
|
|
661
|
+
label: (0, i18n_1._)('Legend truncation'),
|
|
662
662
|
option: 'legendTruncation',
|
|
663
663
|
editor: 'editor.radioBar',
|
|
664
664
|
editorProps: {
|
|
665
665
|
values: [{
|
|
666
|
-
label: i18n_1._('A...'),
|
|
666
|
+
label: (0, i18n_1._)('A...'),
|
|
667
667
|
value: 'ellipsisEnd'
|
|
668
668
|
}, {
|
|
669
|
-
label: i18n_1._('A...Z'),
|
|
669
|
+
label: (0, i18n_1._)('A...Z'),
|
|
670
670
|
value: 'ellipsisMiddle'
|
|
671
671
|
}, {
|
|
672
|
-
label: i18n_1._('...Z'),
|
|
672
|
+
label: (0, i18n_1._)('...Z'),
|
|
673
673
|
value: 'ellipsisStart'
|
|
674
674
|
}, {
|
|
675
|
-
label: i18n_1._('Off'),
|
|
675
|
+
label: (0, i18n_1._)('Off'),
|
|
676
676
|
value: 'ellipsisOff'
|
|
677
677
|
}]
|
|
678
678
|
},
|
|
@@ -699,13 +699,13 @@ exports.AxesChartXGridAndLabelsBubbleScatter = exports.AxesChartXGridAndLabelsCo
|
|
|
699
699
|
var i18n_1 = __webpack_require__(0);
|
|
700
700
|
var configUtils_1 = __webpack_require__(4);
|
|
701
701
|
exports.AxesChartXGridAndLabelsCommon = {
|
|
702
|
-
label: i18n_1._('X-axis grid and labels'),
|
|
702
|
+
label: (0, i18n_1._)('X-axis grid and labels'),
|
|
703
703
|
layout: [[{
|
|
704
|
-
label: i18n_1._('Axis title'),
|
|
704
|
+
label: (0, i18n_1._)('Axis title'),
|
|
705
705
|
option: 'xAxisTitleVisibility',
|
|
706
706
|
editor: 'editor.toggle'
|
|
707
707
|
}], [{
|
|
708
|
-
label: i18n_1._('Axis title text'),
|
|
708
|
+
label: (0, i18n_1._)('Axis title text'),
|
|
709
709
|
option: 'xAxisTitleText',
|
|
710
710
|
editor: 'editor.text',
|
|
711
711
|
showEditor: function showEditor(_ref) {
|
|
@@ -713,18 +713,18 @@ exports.AxesChartXGridAndLabelsCommon = {
|
|
|
713
713
|
return options.xAxisTitleVisibility === 'show' || options.xAxisTitleVisibility === undefined;
|
|
714
714
|
}
|
|
715
715
|
}], [{
|
|
716
|
-
label: i18n_1._('Label visibility'),
|
|
716
|
+
label: (0, i18n_1._)('Label visibility'),
|
|
717
717
|
option: 'xAxisLabelVisibility',
|
|
718
718
|
editor: 'editor.radioBar',
|
|
719
719
|
editorProps: {
|
|
720
720
|
values: [{
|
|
721
|
-
label: i18n_1._('Auto'),
|
|
721
|
+
label: (0, i18n_1._)('Auto'),
|
|
722
722
|
value: 'auto'
|
|
723
723
|
}, {
|
|
724
|
-
label: i18n_1._('Show'),
|
|
724
|
+
label: (0, i18n_1._)('Show'),
|
|
725
725
|
value: 'show'
|
|
726
726
|
}, {
|
|
727
|
-
label: i18n_1._('Hide'),
|
|
727
|
+
label: (0, i18n_1._)('Hide'),
|
|
728
728
|
value: 'hide'
|
|
729
729
|
}]
|
|
730
730
|
}
|
|
@@ -733,24 +733,24 @@ exports.AxesChartXGridAndLabelsCommon = {
|
|
|
733
733
|
var AxesChartXGridAndLabels = {
|
|
734
734
|
label: exports.AxesChartXGridAndLabelsCommon.label,
|
|
735
735
|
layout: [].concat(_toConsumableArray(exports.AxesChartXGridAndLabelsCommon.layout), [[{
|
|
736
|
-
label: i18n_1._('Label rotation'),
|
|
736
|
+
label: (0, i18n_1._)('Label rotation'),
|
|
737
737
|
option: 'xAxisLabelRotation',
|
|
738
738
|
editor: 'editor.select',
|
|
739
739
|
editorProps: {
|
|
740
740
|
values: [{
|
|
741
|
-
label: i18n_1._('-90'),
|
|
741
|
+
label: (0, i18n_1._)('-90'),
|
|
742
742
|
value: -90
|
|
743
743
|
}, {
|
|
744
|
-
label: i18n_1._('-45'),
|
|
744
|
+
label: (0, i18n_1._)('-45'),
|
|
745
745
|
value: -45
|
|
746
746
|
}, {
|
|
747
|
-
label: i18n_1._('0'),
|
|
747
|
+
label: (0, i18n_1._)('0'),
|
|
748
748
|
value: 0
|
|
749
749
|
}, {
|
|
750
|
-
label: i18n_1._('45'),
|
|
750
|
+
label: (0, i18n_1._)('45'),
|
|
751
751
|
value: 45
|
|
752
752
|
}, {
|
|
753
|
-
label: i18n_1._('90'),
|
|
753
|
+
label: (0, i18n_1._)('90'),
|
|
754
754
|
value: 90
|
|
755
755
|
}]
|
|
756
756
|
},
|
|
@@ -759,7 +759,7 @@ var AxesChartXGridAndLabels = {
|
|
|
759
759
|
return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
|
|
760
760
|
}
|
|
761
761
|
}], [{
|
|
762
|
-
label: i18n_1._('Number of time label parts'),
|
|
762
|
+
label: (0, i18n_1._)('Number of time label parts'),
|
|
763
763
|
option: 'xAxisMaxLabelParts',
|
|
764
764
|
editor: 'editor.number',
|
|
765
765
|
editorProps: {
|
|
@@ -771,31 +771,31 @@ var AxesChartXGridAndLabels = {
|
|
|
771
771
|
return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
|
|
772
772
|
}
|
|
773
773
|
}], [{
|
|
774
|
-
label: i18n_1._('Axis line visibility'),
|
|
774
|
+
label: (0, i18n_1._)('Axis line visibility'),
|
|
775
775
|
option: 'xAxisLineVisibility',
|
|
776
776
|
editor: 'editor.checkbox'
|
|
777
777
|
}], [{
|
|
778
|
-
label: i18n_1._('Major gridlines'),
|
|
778
|
+
label: (0, i18n_1._)('Major gridlines'),
|
|
779
779
|
option: 'showXMajorGridLines',
|
|
780
780
|
editor: 'editor.checkbox'
|
|
781
781
|
}], [{
|
|
782
|
-
label: i18n_1._('Major tick visibility'),
|
|
782
|
+
label: (0, i18n_1._)('Major tick visibility'),
|
|
783
783
|
option: 'xAxisMajorTickVisibility',
|
|
784
784
|
editor: 'editor.radioBar',
|
|
785
785
|
editorProps: {
|
|
786
786
|
values: [{
|
|
787
|
-
label: i18n_1._('Auto'),
|
|
787
|
+
label: (0, i18n_1._)('Auto'),
|
|
788
788
|
value: 'auto'
|
|
789
789
|
}, {
|
|
790
|
-
label: i18n_1._('Show'),
|
|
790
|
+
label: (0, i18n_1._)('Show'),
|
|
791
791
|
value: 'show'
|
|
792
792
|
}, {
|
|
793
|
-
label: i18n_1._('Hide'),
|
|
793
|
+
label: (0, i18n_1._)('Hide'),
|
|
794
794
|
value: 'hide'
|
|
795
795
|
}]
|
|
796
796
|
}
|
|
797
797
|
}], [{
|
|
798
|
-
label: i18n_1._('Major tick size (px)'),
|
|
798
|
+
label: (0, i18n_1._)('Major tick size (px)'),
|
|
799
799
|
option: 'xAxisMajorTickSize',
|
|
800
800
|
editor: 'editor.slider',
|
|
801
801
|
editorProps: {
|
|
@@ -811,38 +811,38 @@ var AxesChartXGridAndLabels = {
|
|
|
811
811
|
};
|
|
812
812
|
exports.AxesChartXGridAndLabelsBubbleScatter = {
|
|
813
813
|
label: exports.AxesChartXGridAndLabelsCommon.label,
|
|
814
|
-
layout: [].concat(_toConsumableArray(configUtils_1.insertLayout(exports.AxesChartXGridAndLabelsCommon.layout, 2, [{
|
|
815
|
-
label: i18n_1._('Axis scale'),
|
|
814
|
+
layout: [].concat(_toConsumableArray((0, configUtils_1.insertLayout)(exports.AxesChartXGridAndLabelsCommon.layout, 2, [{
|
|
815
|
+
label: (0, i18n_1._)('Axis scale'),
|
|
816
816
|
option: 'xAxisScale',
|
|
817
817
|
editor: 'editor.radioBar',
|
|
818
818
|
editorProps: {
|
|
819
819
|
values: [{
|
|
820
|
-
label: i18n_1._('Linear'),
|
|
820
|
+
label: (0, i18n_1._)('Linear'),
|
|
821
821
|
value: 'linear'
|
|
822
822
|
}, {
|
|
823
|
-
label: i18n_1._('Log'),
|
|
823
|
+
label: (0, i18n_1._)('Log'),
|
|
824
824
|
value: 'log'
|
|
825
825
|
}]
|
|
826
826
|
}
|
|
827
827
|
}])), [[{
|
|
828
|
-
label: i18n_1._('Label rotation'),
|
|
828
|
+
label: (0, i18n_1._)('Label rotation'),
|
|
829
829
|
option: 'xAxisLabelRotation',
|
|
830
830
|
editor: 'editor.select',
|
|
831
831
|
editorProps: {
|
|
832
832
|
values: [{
|
|
833
|
-
label: i18n_1._('-90'),
|
|
833
|
+
label: (0, i18n_1._)('-90'),
|
|
834
834
|
value: -90
|
|
835
835
|
}, {
|
|
836
|
-
label: i18n_1._('-45'),
|
|
836
|
+
label: (0, i18n_1._)('-45'),
|
|
837
837
|
value: -45
|
|
838
838
|
}, {
|
|
839
|
-
label: i18n_1._('0'),
|
|
839
|
+
label: (0, i18n_1._)('0'),
|
|
840
840
|
value: 0
|
|
841
841
|
}, {
|
|
842
|
-
label: i18n_1._('45'),
|
|
842
|
+
label: (0, i18n_1._)('45'),
|
|
843
843
|
value: 45
|
|
844
844
|
}, {
|
|
845
|
-
label: i18n_1._('90'),
|
|
845
|
+
label: (0, i18n_1._)('90'),
|
|
846
846
|
value: 90
|
|
847
847
|
}]
|
|
848
848
|
},
|
|
@@ -851,7 +851,7 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
|
|
|
851
851
|
return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
|
|
852
852
|
}
|
|
853
853
|
}], [{
|
|
854
|
-
label: i18n_1._('Round axis labels'),
|
|
854
|
+
label: (0, i18n_1._)('Round axis labels'),
|
|
855
855
|
option: 'showRoundedXAxisLabels',
|
|
856
856
|
editor: 'editor.checkbox',
|
|
857
857
|
showEditor: function showEditor(_ref6) {
|
|
@@ -859,7 +859,7 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
|
|
|
859
859
|
return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
|
|
860
860
|
}
|
|
861
861
|
}], [{
|
|
862
|
-
label: i18n_1._('SI prefix abbreviation for labels'),
|
|
862
|
+
label: (0, i18n_1._)('SI prefix abbreviation for labels'),
|
|
863
863
|
option: 'xAxisAbbreviation',
|
|
864
864
|
editor: 'editor.checkbox',
|
|
865
865
|
showEditor: function showEditor(_ref7) {
|
|
@@ -867,23 +867,23 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
|
|
|
867
867
|
return options.xAxisLabelVisibility === 'show' || options.xAxisLabelVisibility === 'auto' || options.xAxisLabelVisibility === undefined;
|
|
868
868
|
}
|
|
869
869
|
}], [{
|
|
870
|
-
label: i18n_1._('Include zero'),
|
|
870
|
+
label: (0, i18n_1._)('Include zero'),
|
|
871
871
|
option: 'showXAxisWithZero',
|
|
872
872
|
editor: 'editor.checkbox'
|
|
873
873
|
}], [{
|
|
874
|
-
label: i18n_1._('Extend to whole grid'),
|
|
874
|
+
label: (0, i18n_1._)('Extend to whole grid'),
|
|
875
875
|
option: 'showXAxisExtendedRange',
|
|
876
876
|
editor: 'editor.checkbox'
|
|
877
877
|
}], [{
|
|
878
|
-
label: i18n_1._('Minimum axis value'),
|
|
878
|
+
label: (0, i18n_1._)('Minimum axis value'),
|
|
879
879
|
option: 'xAxisMin',
|
|
880
880
|
editor: 'editor.number'
|
|
881
881
|
}, {
|
|
882
|
-
label: i18n_1._('Maximum axis value'),
|
|
882
|
+
label: (0, i18n_1._)('Maximum axis value'),
|
|
883
883
|
option: 'xAxisMax',
|
|
884
884
|
editor: 'editor.number'
|
|
885
885
|
}], [{
|
|
886
|
-
label: i18n_1._('Axis line visibility'),
|
|
886
|
+
label: (0, i18n_1._)('Axis line visibility'),
|
|
887
887
|
option: 'xAxisLineVisibility',
|
|
888
888
|
editor: 'editor.checkbox'
|
|
889
889
|
}],
|
|
@@ -896,23 +896,23 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
|
|
|
896
896
|
// },
|
|
897
897
|
// ],
|
|
898
898
|
[{
|
|
899
|
-
label: i18n_1._('Major tick visibility'),
|
|
899
|
+
label: (0, i18n_1._)('Major tick visibility'),
|
|
900
900
|
option: 'xAxisMajorTickVisibility',
|
|
901
901
|
editor: 'editor.radioBar',
|
|
902
902
|
editorProps: {
|
|
903
903
|
values: [{
|
|
904
|
-
label: i18n_1._('Auto'),
|
|
904
|
+
label: (0, i18n_1._)('Auto'),
|
|
905
905
|
value: 'auto'
|
|
906
906
|
}, {
|
|
907
|
-
label: i18n_1._('Show'),
|
|
907
|
+
label: (0, i18n_1._)('Show'),
|
|
908
908
|
value: 'show'
|
|
909
909
|
}, {
|
|
910
|
-
label: i18n_1._('Hide'),
|
|
910
|
+
label: (0, i18n_1._)('Hide'),
|
|
911
911
|
value: 'hide'
|
|
912
912
|
}]
|
|
913
913
|
}
|
|
914
914
|
}], [{
|
|
915
|
-
label: i18n_1._('Major tick size (px)'),
|
|
915
|
+
label: (0, i18n_1._)('Major tick size (px)'),
|
|
916
916
|
option: 'xAxisMajorTickSize',
|
|
917
917
|
editor: 'editor.slider',
|
|
918
918
|
editorProps: {
|
|
@@ -925,7 +925,7 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
|
|
|
925
925
|
return options.xAxisMajorTickVisibility === 'show' || options.xAxisMajorTickVisibility === 'auto' || options.xAxisMajorTickVisibility === undefined;
|
|
926
926
|
}
|
|
927
927
|
}], [{
|
|
928
|
-
label: i18n_1._('Major tick interval spacing'),
|
|
928
|
+
label: (0, i18n_1._)('Major tick interval spacing'),
|
|
929
929
|
option: 'xAxisMajorTickInterval',
|
|
930
930
|
editor: 'editor.number',
|
|
931
931
|
showEditor: function showEditor(_ref9) {
|
|
@@ -933,27 +933,27 @@ exports.AxesChartXGridAndLabelsBubbleScatter = {
|
|
|
933
933
|
return options.xAxisMajorTickVisibility === 'show' || options.xAxisMajorTickVisibility === 'auto' || options.xAxisMajorTickVisibility === undefined;
|
|
934
934
|
}
|
|
935
935
|
}], [{
|
|
936
|
-
label: i18n_1._('Minor gridlines'),
|
|
936
|
+
label: (0, i18n_1._)('Minor gridlines'),
|
|
937
937
|
option: 'showXMinorGridLines',
|
|
938
938
|
editor: 'editor.checkbox'
|
|
939
939
|
}], [{
|
|
940
|
-
label: i18n_1._('Minor tick visibility'),
|
|
940
|
+
label: (0, i18n_1._)('Minor tick visibility'),
|
|
941
941
|
option: 'xAxisMinorTickVisibility',
|
|
942
942
|
editor: 'editor.radioBar',
|
|
943
943
|
editorProps: {
|
|
944
944
|
values: [{
|
|
945
|
-
label: i18n_1._('Auto'),
|
|
945
|
+
label: (0, i18n_1._)('Auto'),
|
|
946
946
|
value: 'auto'
|
|
947
947
|
}, {
|
|
948
|
-
label: i18n_1._('Show'),
|
|
948
|
+
label: (0, i18n_1._)('Show'),
|
|
949
949
|
value: 'show'
|
|
950
950
|
}, {
|
|
951
|
-
label: i18n_1._('Hide'),
|
|
951
|
+
label: (0, i18n_1._)('Hide'),
|
|
952
952
|
value: 'hide'
|
|
953
953
|
}]
|
|
954
954
|
}
|
|
955
955
|
}], [{
|
|
956
|
-
label: i18n_1._('Minor tick size (px)'),
|
|
956
|
+
label: (0, i18n_1._)('Minor tick size (px)'),
|
|
957
957
|
option: 'xAxisMinorTickSize',
|
|
958
958
|
editor: 'editor.slider',
|
|
959
959
|
editorProps: {
|
|
@@ -981,13 +981,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
981
981
|
});
|
|
982
982
|
var i18n_1 = __webpack_require__(0);
|
|
983
983
|
var AxesChartYGridAndLabels = {
|
|
984
|
-
label: i18n_1._('Y-axis grid and labels'),
|
|
984
|
+
label: (0, i18n_1._)('Y-axis grid and labels'),
|
|
985
985
|
layout: [[{
|
|
986
|
-
label: i18n_1._('Axis title'),
|
|
986
|
+
label: (0, i18n_1._)('Axis title'),
|
|
987
987
|
option: 'yAxisTitleVisibility',
|
|
988
988
|
editor: 'editor.toggle'
|
|
989
989
|
}], [{
|
|
990
|
-
label: i18n_1._('Axis title text'),
|
|
990
|
+
label: (0, i18n_1._)('Axis title text'),
|
|
991
991
|
option: 'yAxisTitleText',
|
|
992
992
|
editor: 'editor.text',
|
|
993
993
|
showEditor: function showEditor(_ref) {
|
|
@@ -995,36 +995,36 @@ var AxesChartYGridAndLabels = {
|
|
|
995
995
|
return options.yAxisTitleVisibility === 'show' || options.yAxisTitleVisibility === undefined;
|
|
996
996
|
}
|
|
997
997
|
}], [{
|
|
998
|
-
label: i18n_1._('Scale'),
|
|
998
|
+
label: (0, i18n_1._)('Scale'),
|
|
999
999
|
option: 'yAxisScale',
|
|
1000
1000
|
editor: 'editor.radioBar',
|
|
1001
1001
|
editorProps: {
|
|
1002
1002
|
values: [{
|
|
1003
|
-
label: i18n_1._('Linear'),
|
|
1003
|
+
label: (0, i18n_1._)('Linear'),
|
|
1004
1004
|
value: 'linear'
|
|
1005
1005
|
}, {
|
|
1006
|
-
label: i18n_1._('Log'),
|
|
1006
|
+
label: (0, i18n_1._)('Log'),
|
|
1007
1007
|
value: 'log'
|
|
1008
1008
|
}]
|
|
1009
1009
|
}
|
|
1010
1010
|
}], [{
|
|
1011
|
-
label: i18n_1._('Label visibility'),
|
|
1011
|
+
label: (0, i18n_1._)('Label visibility'),
|
|
1012
1012
|
option: 'yAxisLabelVisibility',
|
|
1013
1013
|
editor: 'editor.radioBar',
|
|
1014
1014
|
editorProps: {
|
|
1015
1015
|
values: [{
|
|
1016
|
-
label: i18n_1._('Auto'),
|
|
1016
|
+
label: (0, i18n_1._)('Auto'),
|
|
1017
1017
|
value: 'auto'
|
|
1018
1018
|
}, {
|
|
1019
|
-
label: i18n_1._('Show'),
|
|
1019
|
+
label: (0, i18n_1._)('Show'),
|
|
1020
1020
|
value: 'show'
|
|
1021
1021
|
}, {
|
|
1022
|
-
label: i18n_1._('Hide'),
|
|
1022
|
+
label: (0, i18n_1._)('Hide'),
|
|
1023
1023
|
value: 'hide'
|
|
1024
1024
|
}]
|
|
1025
1025
|
}
|
|
1026
1026
|
}], [{
|
|
1027
|
-
label: i18n_1._('SI prefix abbreviation for labels'),
|
|
1027
|
+
label: (0, i18n_1._)('SI prefix abbreviation for labels'),
|
|
1028
1028
|
option: 'yAxisAbbreviation',
|
|
1029
1029
|
editor: 'editor.checkbox',
|
|
1030
1030
|
showEditor: function showEditor(_ref2) {
|
|
@@ -1032,47 +1032,47 @@ var AxesChartYGridAndLabels = {
|
|
|
1032
1032
|
return options.yAxisLabelVisibility === 'show' || options.yAxisLabelVisibility === 'auto' || options.yAxisLabelVisibility === undefined;
|
|
1033
1033
|
}
|
|
1034
1034
|
}], [{
|
|
1035
|
-
label: i18n_1._('Include zero'),
|
|
1035
|
+
label: (0, i18n_1._)('Include zero'),
|
|
1036
1036
|
option: 'showYAxisWithZero',
|
|
1037
1037
|
editor: 'editor.checkbox'
|
|
1038
1038
|
}], [{
|
|
1039
|
-
label: i18n_1._('Extend to whole grid'),
|
|
1039
|
+
label: (0, i18n_1._)('Extend to whole grid'),
|
|
1040
1040
|
option: 'showYAxisExtendedRange',
|
|
1041
1041
|
editor: 'editor.checkbox'
|
|
1042
1042
|
}], [{
|
|
1043
|
-
label: i18n_1._('Minimum axis value'),
|
|
1043
|
+
label: (0, i18n_1._)('Minimum axis value'),
|
|
1044
1044
|
option: 'yAxisMin',
|
|
1045
1045
|
editor: 'editor.number'
|
|
1046
1046
|
}, {
|
|
1047
|
-
label: i18n_1._('Maximum axis value'),
|
|
1047
|
+
label: (0, i18n_1._)('Maximum axis value'),
|
|
1048
1048
|
option: 'yAxisMax',
|
|
1049
1049
|
editor: 'editor.number'
|
|
1050
1050
|
}], [{
|
|
1051
|
-
label: i18n_1._('Axis line visibility'),
|
|
1051
|
+
label: (0, i18n_1._)('Axis line visibility'),
|
|
1052
1052
|
option: 'yAxisLineVisibility',
|
|
1053
1053
|
editor: 'editor.checkbox'
|
|
1054
1054
|
}], [{
|
|
1055
|
-
label: i18n_1._('Major gridlines'),
|
|
1055
|
+
label: (0, i18n_1._)('Major gridlines'),
|
|
1056
1056
|
option: 'showYMajorGridLines',
|
|
1057
1057
|
editor: 'editor.checkbox'
|
|
1058
1058
|
}], [{
|
|
1059
|
-
label: i18n_1._('Major tick visibility'),
|
|
1059
|
+
label: (0, i18n_1._)('Major tick visibility'),
|
|
1060
1060
|
option: 'yAxisMajorTickVisibility',
|
|
1061
1061
|
editor: 'editor.radioBar',
|
|
1062
1062
|
editorProps: {
|
|
1063
1063
|
values: [{
|
|
1064
|
-
label: i18n_1._('Auto'),
|
|
1064
|
+
label: (0, i18n_1._)('Auto'),
|
|
1065
1065
|
value: 'auto'
|
|
1066
1066
|
}, {
|
|
1067
|
-
label: i18n_1._('Show'),
|
|
1067
|
+
label: (0, i18n_1._)('Show'),
|
|
1068
1068
|
value: 'show'
|
|
1069
1069
|
}, {
|
|
1070
|
-
label: i18n_1._('Hide'),
|
|
1070
|
+
label: (0, i18n_1._)('Hide'),
|
|
1071
1071
|
value: 'hide'
|
|
1072
1072
|
}]
|
|
1073
1073
|
}
|
|
1074
1074
|
}], [{
|
|
1075
|
-
label: i18n_1._('Major tick size (px)'),
|
|
1075
|
+
label: (0, i18n_1._)('Major tick size (px)'),
|
|
1076
1076
|
option: 'yAxisMajorTickSize',
|
|
1077
1077
|
editor: 'editor.slider',
|
|
1078
1078
|
editorProps: {
|
|
@@ -1085,7 +1085,7 @@ var AxesChartYGridAndLabels = {
|
|
|
1085
1085
|
return options.yAxisMajorTickVisibility === 'show' || options.yAxisMajorTickVisibility === 'auto' || options.yAxisMajorTickVisibility === undefined;
|
|
1086
1086
|
}
|
|
1087
1087
|
}], [{
|
|
1088
|
-
label: i18n_1._('Major tick interval spacing'),
|
|
1088
|
+
label: (0, i18n_1._)('Major tick interval spacing'),
|
|
1089
1089
|
option: 'yAxisMajorTickInterval',
|
|
1090
1090
|
editor: 'editor.number',
|
|
1091
1091
|
showEditor: function showEditor(_ref4) {
|
|
@@ -1093,27 +1093,27 @@ var AxesChartYGridAndLabels = {
|
|
|
1093
1093
|
return options.yAxisMajorTickVisibility === 'show' || options.yAxisMajorTickVisibility === 'auto' || options.yAxisMajorTickVisibility === undefined;
|
|
1094
1094
|
}
|
|
1095
1095
|
}], [{
|
|
1096
|
-
label: i18n_1._('Minor gridlines'),
|
|
1096
|
+
label: (0, i18n_1._)('Minor gridlines'),
|
|
1097
1097
|
option: 'showYMinorGridLines',
|
|
1098
1098
|
editor: 'editor.checkbox'
|
|
1099
1099
|
}], [{
|
|
1100
|
-
label: i18n_1._('Minor tick visibility'),
|
|
1100
|
+
label: (0, i18n_1._)('Minor tick visibility'),
|
|
1101
1101
|
option: 'yAxisMinorTickVisibility',
|
|
1102
1102
|
editor: 'editor.radioBar',
|
|
1103
1103
|
editorProps: {
|
|
1104
1104
|
values: [{
|
|
1105
|
-
label: i18n_1._('Auto'),
|
|
1105
|
+
label: (0, i18n_1._)('Auto'),
|
|
1106
1106
|
value: 'auto'
|
|
1107
1107
|
}, {
|
|
1108
|
-
label: i18n_1._('Show'),
|
|
1108
|
+
label: (0, i18n_1._)('Show'),
|
|
1109
1109
|
value: 'show'
|
|
1110
1110
|
}, {
|
|
1111
|
-
label: i18n_1._('Hide'),
|
|
1111
|
+
label: (0, i18n_1._)('Hide'),
|
|
1112
1112
|
value: 'hide'
|
|
1113
1113
|
}]
|
|
1114
1114
|
}
|
|
1115
1115
|
}], [{
|
|
1116
|
-
label: i18n_1._('Minor tick size (px)'),
|
|
1116
|
+
label: (0, i18n_1._)('Minor tick size (px)'),
|
|
1117
1117
|
option: 'yAxisMinorTickSize',
|
|
1118
1118
|
editor: 'editor.slider',
|
|
1119
1119
|
editorProps: {
|
|
@@ -1273,19 +1273,19 @@ var optionsSchema = {
|
|
|
1273
1273
|
bubbleSizeMethod: {
|
|
1274
1274
|
default: 'area',
|
|
1275
1275
|
description: 'Specify how bubble size is measured.',
|
|
1276
|
-
pattern: schemaUtils_1.getPattern(['area', 'diameter']),
|
|
1276
|
+
pattern: (0, schemaUtils_1.getPattern)(['area', 'diameter']),
|
|
1277
1277
|
type: 'string'
|
|
1278
1278
|
},
|
|
1279
1279
|
legendDisplay: {
|
|
1280
1280
|
default: 'right',
|
|
1281
1281
|
description: 'Specify the location of the legend on the panel.',
|
|
1282
|
-
pattern: schemaUtils_1.getPattern(['right', 'left', 'top', 'bottom', 'off']),
|
|
1282
|
+
pattern: (0, schemaUtils_1.getPattern)(['right', 'left', 'top', 'bottom', 'off']),
|
|
1283
1283
|
type: 'string'
|
|
1284
1284
|
},
|
|
1285
1285
|
legendTruncation: {
|
|
1286
1286
|
default: 'ellipsisEnd',
|
|
1287
1287
|
description: 'Specify where to use ellipsis to replace legend labels that overflow the layout.',
|
|
1288
|
-
pattern: schemaUtils_1.getPattern(['ellipsisEnd', 'ellipsisMiddle', 'ellipsisStart', 'ellipsisOff']),
|
|
1288
|
+
pattern: (0, schemaUtils_1.getPattern)(['ellipsisEnd', 'ellipsisMiddle', 'ellipsisStart', 'ellipsisOff']),
|
|
1289
1289
|
type: 'string'
|
|
1290
1290
|
},
|
|
1291
1291
|
resultLimit: {
|
|
@@ -1361,40 +1361,40 @@ var optionsSchema = {
|
|
|
1361
1361
|
default: 'off',
|
|
1362
1362
|
description: 'Specify whether to abbreviate large x-axis values with the closest International System of Units (SI) prefix.',
|
|
1363
1363
|
enum: ['off', 'auto'],
|
|
1364
|
-
pattern: schemaUtils_1.getPattern(['auto', 'off']),
|
|
1364
|
+
pattern: (0, schemaUtils_1.getPattern)(['auto', 'off']),
|
|
1365
1365
|
type: 'string'
|
|
1366
1366
|
},
|
|
1367
1367
|
yAxisAbbreviation: {
|
|
1368
1368
|
default: 'auto',
|
|
1369
1369
|
description: 'Specify whether to abbreviate large y-axis values with the closest International System of Units (SI) prefix.',
|
|
1370
1370
|
enum: ['off', 'auto'],
|
|
1371
|
-
pattern: schemaUtils_1.getPattern(['auto', 'off']),
|
|
1371
|
+
pattern: (0, schemaUtils_1.getPattern)(['auto', 'off']),
|
|
1372
1372
|
type: 'string'
|
|
1373
1373
|
},
|
|
1374
1374
|
xAxisLabelVisibility: {
|
|
1375
1375
|
default: 'auto',
|
|
1376
1376
|
description: 'Specify whether to show or hide labels on the x-axis.',
|
|
1377
|
-
pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
|
|
1377
|
+
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
1378
1378
|
type: 'string'
|
|
1379
1379
|
},
|
|
1380
1380
|
yAxisLabelVisibility: {
|
|
1381
1381
|
default: 'auto',
|
|
1382
1382
|
description: 'Specify whether to show or hide labels on the y-axis.',
|
|
1383
|
-
pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
|
|
1383
|
+
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
1384
1384
|
type: 'string'
|
|
1385
1385
|
},
|
|
1386
1386
|
xAxisLineVisibility: {
|
|
1387
1387
|
default: 'hide',
|
|
1388
1388
|
description: 'Specify whether to show the x-axis line.',
|
|
1389
1389
|
enum: ['hide', 'show'],
|
|
1390
|
-
pattern: schemaUtils_1.getPattern(['show', 'hide']),
|
|
1390
|
+
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
1391
1391
|
type: 'string'
|
|
1392
1392
|
},
|
|
1393
1393
|
yAxisLineVisibility: {
|
|
1394
1394
|
default: 'hide',
|
|
1395
1395
|
description: 'Specify whether to show the y-axis line.',
|
|
1396
1396
|
enum: ['hide', 'show'],
|
|
1397
|
-
pattern: schemaUtils_1.getPattern(['show', 'hide']),
|
|
1397
|
+
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
1398
1398
|
type: 'string'
|
|
1399
1399
|
},
|
|
1400
1400
|
xAxisMajorTickInterval: {
|
|
@@ -1430,25 +1430,25 @@ var optionsSchema = {
|
|
|
1430
1430
|
xAxisMajorTickVisibility: {
|
|
1431
1431
|
default: 'auto',
|
|
1432
1432
|
description: 'Specify whether to show or hide major tick marks on the x-axis.',
|
|
1433
|
-
pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
|
|
1433
|
+
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
1434
1434
|
type: 'string'
|
|
1435
1435
|
},
|
|
1436
1436
|
yAxisMajorTickVisibility: {
|
|
1437
1437
|
default: 'auto',
|
|
1438
1438
|
description: 'Specify whether to show or hide major tick marks on the y-axis.',
|
|
1439
|
-
pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
|
|
1439
|
+
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
1440
1440
|
type: 'string'
|
|
1441
1441
|
},
|
|
1442
1442
|
xAxisMinorTickVisibility: {
|
|
1443
1443
|
default: 'auto',
|
|
1444
1444
|
description: 'Specify whether to show or hide minor tick marks on the x-axis .',
|
|
1445
|
-
pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
|
|
1445
|
+
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
1446
1446
|
type: 'string'
|
|
1447
1447
|
},
|
|
1448
1448
|
yAxisMinorTickVisibility: {
|
|
1449
1449
|
default: 'auto',
|
|
1450
1450
|
description: 'Specify whether to show or hide minor tick marks on the y-axis.',
|
|
1451
|
-
pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
|
|
1451
|
+
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
1452
1452
|
type: 'string'
|
|
1453
1453
|
},
|
|
1454
1454
|
xAxisMax: {
|
|
@@ -1474,13 +1474,13 @@ var optionsSchema = {
|
|
|
1474
1474
|
xAxisScale: {
|
|
1475
1475
|
default: 'linear',
|
|
1476
1476
|
description: 'Specify the type of scale that applies to a numerical x-axis.',
|
|
1477
|
-
pattern: schemaUtils_1.getPattern(['linear', 'log']),
|
|
1477
|
+
pattern: (0, schemaUtils_1.getPattern)(['linear', 'log']),
|
|
1478
1478
|
type: 'string'
|
|
1479
1479
|
},
|
|
1480
1480
|
yAxisScale: {
|
|
1481
1481
|
default: 'linear',
|
|
1482
1482
|
description: 'Specify the type of scale that applies to a numerical y-axis.',
|
|
1483
|
-
pattern: schemaUtils_1.getPattern(['linear', 'log']),
|
|
1483
|
+
pattern: (0, schemaUtils_1.getPattern)(['linear', 'log']),
|
|
1484
1484
|
type: 'string'
|
|
1485
1485
|
},
|
|
1486
1486
|
xAxisTitleText: {
|
|
@@ -1495,20 +1495,20 @@ var optionsSchema = {
|
|
|
1495
1495
|
default: 'show',
|
|
1496
1496
|
description: 'Specify whether to hide the title of the x-axis.',
|
|
1497
1497
|
enum: ['hide', 'show'],
|
|
1498
|
-
pattern: schemaUtils_1.getPattern(['show', 'hide']),
|
|
1498
|
+
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
1499
1499
|
type: 'string'
|
|
1500
1500
|
},
|
|
1501
1501
|
yAxisTitleVisibility: {
|
|
1502
1502
|
default: 'show',
|
|
1503
1503
|
description: 'Specify whether to hide the title of the y-axis.',
|
|
1504
1504
|
enum: ['hide', 'show'],
|
|
1505
|
-
pattern: schemaUtils_1.getPattern(['show', 'hide']),
|
|
1505
|
+
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
1506
1506
|
type: 'string'
|
|
1507
1507
|
}
|
|
1508
1508
|
};
|
|
1509
1509
|
var themes = {
|
|
1510
1510
|
defaultBackgroundColor: function defaultBackgroundColor(props) {
|
|
1511
|
-
return pick_1.default({
|
|
1511
|
+
return (0, pick_1.default)({
|
|
1512
1512
|
enterprise: {
|
|
1513
1513
|
dark: variables_1.default.black(props),
|
|
1514
1514
|
light: variables_1.default.backgroundColor(props)
|
|
@@ -1520,14 +1520,14 @@ var themes = {
|
|
|
1520
1520
|
var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigBubble, {
|
|
1521
1521
|
label: AxesChartColorAndStyle_1.default.label,
|
|
1522
1522
|
layout: [].concat(_toConsumableArray(AxesChartColorAndStyle_1.default.layout.slice(0, 2)), [[{
|
|
1523
|
-
label: i18n_1._('Series colors by category name'),
|
|
1523
|
+
label: (0, i18n_1._)('Series colors by category name'),
|
|
1524
1524
|
option: 'seriesColorsByField',
|
|
1525
1525
|
editor: 'editor.seriesColorsByField',
|
|
1526
1526
|
editorProps: {
|
|
1527
1527
|
isCategorical: true
|
|
1528
1528
|
}
|
|
1529
1529
|
}], [{
|
|
1530
|
-
label: i18n_1._('Maximum bubble size'),
|
|
1530
|
+
label: (0, i18n_1._)('Maximum bubble size'),
|
|
1531
1531
|
option: 'bubbleSizeMax',
|
|
1532
1532
|
editor: 'editor.slider',
|
|
1533
1533
|
editorProps: {
|
|
@@ -1536,7 +1536,7 @@ var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigBubble, {
|
|
|
1536
1536
|
step: 1
|
|
1537
1537
|
}
|
|
1538
1538
|
}], [{
|
|
1539
|
-
label: i18n_1._('Minimum bubble size'),
|
|
1539
|
+
label: (0, i18n_1._)('Minimum bubble size'),
|
|
1540
1540
|
option: 'bubbleSizeMin',
|
|
1541
1541
|
editor: 'editor.slider',
|
|
1542
1542
|
editorProps: {
|
|
@@ -1545,15 +1545,15 @@ var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigBubble, {
|
|
|
1545
1545
|
step: 1
|
|
1546
1546
|
}
|
|
1547
1547
|
}], [{
|
|
1548
|
-
label: i18n_1._('Calculation method for bubble size'),
|
|
1548
|
+
label: (0, i18n_1._)('Calculation method for bubble size'),
|
|
1549
1549
|
option: 'bubbleSizeMethod',
|
|
1550
1550
|
editor: 'editor.radioBar',
|
|
1551
1551
|
editorProps: {
|
|
1552
1552
|
values: [{
|
|
1553
|
-
label: i18n_1._('Area'),
|
|
1553
|
+
label: (0, i18n_1._)('Area'),
|
|
1554
1554
|
value: 'area'
|
|
1555
1555
|
}, {
|
|
1556
|
-
label: i18n_1._('Diameter'),
|
|
1556
|
+
label: (0, i18n_1._)('Diameter'),
|
|
1557
1557
|
value: 'diameter'
|
|
1558
1558
|
}]
|
|
1559
1559
|
}
|
|
@@ -1570,7 +1570,7 @@ var config = {
|
|
|
1570
1570
|
/**
|
|
1571
1571
|
* viz name
|
|
1572
1572
|
*/
|
|
1573
|
-
name: i18n_1._('Bubble'),
|
|
1573
|
+
name: (0, i18n_1._)('Bubble'),
|
|
1574
1574
|
category: VizCategory_1.VizCategory.CORRELATION,
|
|
1575
1575
|
/**
|
|
1576
1576
|
* viz icon
|
|
@@ -1593,7 +1593,7 @@ var config = {
|
|
|
1593
1593
|
supports: [VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS, VizBehavior_1.VizBehavior.PLACEHOLDER, VizBehavior_1.VizBehavior.EVENTS],
|
|
1594
1594
|
themes: themes
|
|
1595
1595
|
};
|
|
1596
|
-
exports.default = configUtils_1.enhanceConfig(config);
|
|
1596
|
+
exports.default = (0, configUtils_1.enhanceConfig)(config);
|
|
1597
1597
|
|
|
1598
1598
|
/***/ })
|
|
1599
1599
|
/******/ ]);
|