@splunk/visualizations 25.13.1 → 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 +273 -261
- 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 +471 -465
- 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 +2 -2
- 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/Area.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: {
|
|
@@ -1147,52 +1147,52 @@ var i18n_1 = __webpack_require__(0);
|
|
|
1147
1147
|
var lodash_1 = __webpack_require__(6);
|
|
1148
1148
|
var configUtils_1 = __webpack_require__(4);
|
|
1149
1149
|
exports.AxesChartDataDisplayLine = {
|
|
1150
|
-
label: i18n_1._('Data display'),
|
|
1150
|
+
label: (0, i18n_1._)('Data display'),
|
|
1151
1151
|
layout: [[{
|
|
1152
|
-
label: i18n_1._('Null value display'),
|
|
1152
|
+
label: (0, i18n_1._)('Null value display'),
|
|
1153
1153
|
option: 'nullValueDisplay',
|
|
1154
1154
|
editor: 'editor.radioBar',
|
|
1155
1155
|
editorProps: {
|
|
1156
1156
|
values: [{
|
|
1157
|
-
label: i18n_1._('Gaps'),
|
|
1157
|
+
label: (0, i18n_1._)('Gaps'),
|
|
1158
1158
|
value: 'gaps'
|
|
1159
1159
|
}, {
|
|
1160
|
-
label: i18n_1._('Zero'),
|
|
1160
|
+
label: (0, i18n_1._)('Zero'),
|
|
1161
1161
|
value: 'zero'
|
|
1162
1162
|
}, {
|
|
1163
|
-
label: i18n_1._('Connect'),
|
|
1163
|
+
label: (0, i18n_1._)('Connect'),
|
|
1164
1164
|
value: 'connect'
|
|
1165
1165
|
}]
|
|
1166
1166
|
}
|
|
1167
1167
|
}], [{
|
|
1168
|
-
label: i18n_1._('Data value display'),
|
|
1168
|
+
label: (0, i18n_1._)('Data value display'),
|
|
1169
1169
|
option: 'dataValuesDisplay',
|
|
1170
1170
|
editor: 'editor.radioBar',
|
|
1171
1171
|
editorProps: {
|
|
1172
1172
|
values: [{
|
|
1173
|
-
label: i18n_1._('Off'),
|
|
1173
|
+
label: (0, i18n_1._)('Off'),
|
|
1174
1174
|
value: 'off'
|
|
1175
1175
|
}, {
|
|
1176
|
-
label: i18n_1._('All'),
|
|
1176
|
+
label: (0, i18n_1._)('All'),
|
|
1177
1177
|
value: 'all'
|
|
1178
1178
|
}, {
|
|
1179
|
-
label: i18n_1._('Min/Max'),
|
|
1179
|
+
label: (0, i18n_1._)('Min/Max'),
|
|
1180
1180
|
value: 'minmax'
|
|
1181
1181
|
}]
|
|
1182
1182
|
}
|
|
1183
1183
|
}], [{
|
|
1184
|
-
label: i18n_1._('Overlay fields'),
|
|
1184
|
+
label: (0, i18n_1._)('Overlay fields'),
|
|
1185
1185
|
option: 'overlayFields',
|
|
1186
1186
|
editor: 'editor.columnMultiSelectionByFieldNameEditor',
|
|
1187
1187
|
editorProps: {
|
|
1188
1188
|
filterByTypes: ['number']
|
|
1189
1189
|
}
|
|
1190
1190
|
}], [{
|
|
1191
|
-
label: i18n_1._('Split series'),
|
|
1191
|
+
label: (0, i18n_1._)('Split series'),
|
|
1192
1192
|
option: 'showSplitSeries',
|
|
1193
1193
|
editor: 'editor.toggle'
|
|
1194
1194
|
}], [{
|
|
1195
|
-
label: i18n_1._('Independent y-axis for split series'),
|
|
1195
|
+
label: (0, i18n_1._)('Independent y-axis for split series'),
|
|
1196
1196
|
option: 'showIndependentYRanges',
|
|
1197
1197
|
editor: 'editor.checkbox',
|
|
1198
1198
|
showEditor: function showEditor(_ref) {
|
|
@@ -1204,18 +1204,18 @@ exports.AxesChartDataDisplayLine = {
|
|
|
1204
1204
|
var AxesChartDataDisplay = {
|
|
1205
1205
|
label: exports.AxesChartDataDisplayLine.label,
|
|
1206
1206
|
layout: [[{
|
|
1207
|
-
label: i18n_1._('Stack mode'),
|
|
1207
|
+
label: (0, i18n_1._)('Stack mode'),
|
|
1208
1208
|
option: 'stackMode',
|
|
1209
1209
|
editor: 'editor.select',
|
|
1210
1210
|
editorProps: {
|
|
1211
1211
|
values: [{
|
|
1212
|
-
label: i18n_1._('Not stacked'),
|
|
1212
|
+
label: (0, i18n_1._)('Not stacked'),
|
|
1213
1213
|
value: 'auto'
|
|
1214
1214
|
}, {
|
|
1215
|
-
label: i18n_1._('Stacked'),
|
|
1215
|
+
label: (0, i18n_1._)('Stacked'),
|
|
1216
1216
|
value: 'stacked'
|
|
1217
1217
|
}, {
|
|
1218
|
-
label: i18n_1._('Stacked 100%'),
|
|
1218
|
+
label: (0, i18n_1._)('Stacked 100%'),
|
|
1219
1219
|
value: 'stacked100'
|
|
1220
1220
|
}]
|
|
1221
1221
|
}
|
|
@@ -1224,39 +1224,39 @@ var AxesChartDataDisplay = {
|
|
|
1224
1224
|
exports.AxesChartDataDisplayBar = {
|
|
1225
1225
|
label: exports.AxesChartDataDisplayLine.label,
|
|
1226
1226
|
layout: [[{
|
|
1227
|
-
label: i18n_1._('Stack mode'),
|
|
1227
|
+
label: (0, i18n_1._)('Stack mode'),
|
|
1228
1228
|
option: 'stackMode',
|
|
1229
1229
|
editor: 'editor.select',
|
|
1230
1230
|
editorProps: {
|
|
1231
1231
|
values: [{
|
|
1232
|
-
label: i18n_1._('Not stacked'),
|
|
1232
|
+
label: (0, i18n_1._)('Not stacked'),
|
|
1233
1233
|
value: 'auto'
|
|
1234
1234
|
}, {
|
|
1235
|
-
label: i18n_1._('Stacked'),
|
|
1235
|
+
label: (0, i18n_1._)('Stacked'),
|
|
1236
1236
|
value: 'stacked'
|
|
1237
1237
|
}, {
|
|
1238
|
-
label: i18n_1._('Stacked 100%'),
|
|
1238
|
+
label: (0, i18n_1._)('Stacked 100%'),
|
|
1239
1239
|
value: 'stacked100'
|
|
1240
1240
|
}]
|
|
1241
1241
|
}
|
|
1242
|
-
}]].concat(_toConsumableArray(lodash_1.drop(exports.AxesChartDataDisplayLine.layout)))
|
|
1242
|
+
}]].concat(_toConsumableArray((0, lodash_1.drop)(exports.AxesChartDataDisplayLine.layout)))
|
|
1243
1243
|
};
|
|
1244
1244
|
exports.AxesChartDataDisplayColumn = {
|
|
1245
1245
|
label: exports.AxesChartDataDisplayBar.label,
|
|
1246
|
-
layout: [].concat(_toConsumableArray(configUtils_1.insertLayout(exports.AxesChartDataDisplayBar.layout, 2, [{
|
|
1247
|
-
label: i18n_1._('Show tooltip on hover'),
|
|
1246
|
+
layout: [].concat(_toConsumableArray((0, configUtils_1.insertLayout)(exports.AxesChartDataDisplayBar.layout, 2, [{
|
|
1247
|
+
label: (0, i18n_1._)('Show tooltip on hover'),
|
|
1248
1248
|
option: 'showTooltip',
|
|
1249
1249
|
editor: 'editor.checkbox'
|
|
1250
1250
|
}])), [[{
|
|
1251
|
-
label: i18n_1._('Column grouping mode'),
|
|
1251
|
+
label: (0, i18n_1._)('Column grouping mode'),
|
|
1252
1252
|
option: 'columnGrouping',
|
|
1253
1253
|
editor: 'editor.radioBar',
|
|
1254
1254
|
editorProps: {
|
|
1255
1255
|
values: [{
|
|
1256
|
-
label: i18n_1._('Auto'),
|
|
1256
|
+
label: (0, i18n_1._)('Auto'),
|
|
1257
1257
|
value: 'auto'
|
|
1258
1258
|
}, {
|
|
1259
|
-
label: i18n_1._('Overlay'),
|
|
1259
|
+
label: (0, i18n_1._)('Overlay'),
|
|
1260
1260
|
value: 'overlay'
|
|
1261
1261
|
}]
|
|
1262
1262
|
}
|
|
@@ -1276,13 +1276,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
1276
1276
|
});
|
|
1277
1277
|
var i18n_1 = __webpack_require__(0);
|
|
1278
1278
|
var axesChartY2GridAndLabels = {
|
|
1279
|
-
label: i18n_1._('Y2-axis grid and labels'),
|
|
1279
|
+
label: (0, i18n_1._)('Y2-axis grid and labels'),
|
|
1280
1280
|
layout: [[{
|
|
1281
|
-
label: i18n_1._('Axis title'),
|
|
1281
|
+
label: (0, i18n_1._)('Axis title'),
|
|
1282
1282
|
option: 'y2AxisTitleVisibility',
|
|
1283
1283
|
editor: 'editor.toggle'
|
|
1284
1284
|
}], [{
|
|
1285
|
-
label: i18n_1._('Axis title'),
|
|
1285
|
+
label: (0, i18n_1._)('Axis title'),
|
|
1286
1286
|
option: 'y2AxisTitleText',
|
|
1287
1287
|
editor: 'editor.text',
|
|
1288
1288
|
showEditor: function showEditor(_ref) {
|
|
@@ -1290,7 +1290,7 @@ var axesChartY2GridAndLabels = {
|
|
|
1290
1290
|
return options.y2AxisTitleVisibility === 'show' || options.y2AxisTitleVisibility === undefined;
|
|
1291
1291
|
}
|
|
1292
1292
|
}], [{
|
|
1293
|
-
label: i18n_1._('Show overlays on the y2-axis'),
|
|
1293
|
+
label: (0, i18n_1._)('Show overlays on the y2-axis'),
|
|
1294
1294
|
option: 'showOverlayY2Axis',
|
|
1295
1295
|
editor: 'editor.checkbox',
|
|
1296
1296
|
showEditor: function showEditor(_ref2) {
|
|
@@ -1298,36 +1298,36 @@ var axesChartY2GridAndLabels = {
|
|
|
1298
1298
|
return Array.isArray(options.overlayFields) && options.overlayFields.length > 0;
|
|
1299
1299
|
}
|
|
1300
1300
|
}], [{
|
|
1301
|
-
label: i18n_1._('Scale'),
|
|
1301
|
+
label: (0, i18n_1._)('Scale'),
|
|
1302
1302
|
option: 'y2AxisScale',
|
|
1303
1303
|
editor: 'editor.radioBar',
|
|
1304
1304
|
editorProps: {
|
|
1305
1305
|
values: [{
|
|
1306
|
-
label: i18n_1._('Linear'),
|
|
1306
|
+
label: (0, i18n_1._)('Linear'),
|
|
1307
1307
|
value: 'linear'
|
|
1308
1308
|
}, {
|
|
1309
|
-
label: i18n_1._('Log'),
|
|
1309
|
+
label: (0, i18n_1._)('Log'),
|
|
1310
1310
|
value: 'log'
|
|
1311
1311
|
}]
|
|
1312
1312
|
}
|
|
1313
1313
|
}], [{
|
|
1314
|
-
label: i18n_1._('Label visibility'),
|
|
1314
|
+
label: (0, i18n_1._)('Label visibility'),
|
|
1315
1315
|
option: 'y2AxisLabelVisibility',
|
|
1316
1316
|
editor: 'editor.radioBar',
|
|
1317
1317
|
editorProps: {
|
|
1318
1318
|
values: [{
|
|
1319
|
-
label: i18n_1._('Auto'),
|
|
1319
|
+
label: (0, i18n_1._)('Auto'),
|
|
1320
1320
|
value: 'auto'
|
|
1321
1321
|
}, {
|
|
1322
|
-
label: i18n_1._('Show'),
|
|
1322
|
+
label: (0, i18n_1._)('Show'),
|
|
1323
1323
|
value: 'show'
|
|
1324
1324
|
}, {
|
|
1325
|
-
label: i18n_1._('Hide'),
|
|
1325
|
+
label: (0, i18n_1._)('Hide'),
|
|
1326
1326
|
value: 'hide'
|
|
1327
1327
|
}]
|
|
1328
1328
|
}
|
|
1329
1329
|
}], [{
|
|
1330
|
-
label: i18n_1._('Round axis labels'),
|
|
1330
|
+
label: (0, i18n_1._)('Round axis labels'),
|
|
1331
1331
|
option: 'showRoundedY2AxisLabels',
|
|
1332
1332
|
editor: 'editor.checkbox',
|
|
1333
1333
|
showEditor: function showEditor(_ref3) {
|
|
@@ -1335,7 +1335,7 @@ var axesChartY2GridAndLabels = {
|
|
|
1335
1335
|
return options.y2AxisLabelVisibility === 'show' || options.y2AxisLabelVisibility === 'auto' || options.y2AxisLabelVisibility === undefined;
|
|
1336
1336
|
}
|
|
1337
1337
|
}], [{
|
|
1338
|
-
label: i18n_1._('SI prefix abbreviation for labels'),
|
|
1338
|
+
label: (0, i18n_1._)('SI prefix abbreviation for labels'),
|
|
1339
1339
|
option: 'y2AxisAbbreviation',
|
|
1340
1340
|
editor: 'editor.checkbox',
|
|
1341
1341
|
showEditor: function showEditor(_ref4) {
|
|
@@ -1343,43 +1343,43 @@ var axesChartY2GridAndLabels = {
|
|
|
1343
1343
|
return options.y2AxisLabelVisibility === 'show' || options.y2AxisLabelVisibility === 'auto' || options.y2AxisLabelVisibility === undefined;
|
|
1344
1344
|
}
|
|
1345
1345
|
}], [{
|
|
1346
|
-
label: i18n_1._('Include zero'),
|
|
1346
|
+
label: (0, i18n_1._)('Include zero'),
|
|
1347
1347
|
option: 'showY2AxisWithZero',
|
|
1348
1348
|
editor: 'editor.checkbox'
|
|
1349
1349
|
}], [{
|
|
1350
|
-
label: i18n_1._('Minimum axis value'),
|
|
1350
|
+
label: (0, i18n_1._)('Minimum axis value'),
|
|
1351
1351
|
option: 'y2AxisMin',
|
|
1352
1352
|
editor: 'editor.number'
|
|
1353
1353
|
}, {
|
|
1354
|
-
label: i18n_1._('Maximum axis value'),
|
|
1354
|
+
label: (0, i18n_1._)('Maximum axis value'),
|
|
1355
1355
|
option: 'y2AxisMax',
|
|
1356
1356
|
editor: 'editor.number'
|
|
1357
1357
|
}], [{
|
|
1358
|
-
label: i18n_1._('Axis line visibility'),
|
|
1358
|
+
label: (0, i18n_1._)('Axis line visibility'),
|
|
1359
1359
|
option: 'y2AxisLineVisibility',
|
|
1360
1360
|
editor: 'editor.checkbox'
|
|
1361
1361
|
}], [{
|
|
1362
|
-
label: i18n_1._('Major gridlines'),
|
|
1362
|
+
label: (0, i18n_1._)('Major gridlines'),
|
|
1363
1363
|
option: 'showY2MajorGridLines',
|
|
1364
1364
|
editor: 'editor.checkbox'
|
|
1365
1365
|
}], [{
|
|
1366
|
-
label: i18n_1._('Major tick visibility'),
|
|
1366
|
+
label: (0, i18n_1._)('Major tick visibility'),
|
|
1367
1367
|
option: 'y2AxisMajorTickVisibility',
|
|
1368
1368
|
editor: 'editor.radioBar',
|
|
1369
1369
|
editorProps: {
|
|
1370
1370
|
values: [{
|
|
1371
|
-
label: i18n_1._('Auto'),
|
|
1371
|
+
label: (0, i18n_1._)('Auto'),
|
|
1372
1372
|
value: 'auto'
|
|
1373
1373
|
}, {
|
|
1374
|
-
label: i18n_1._('Show'),
|
|
1374
|
+
label: (0, i18n_1._)('Show'),
|
|
1375
1375
|
value: 'show'
|
|
1376
1376
|
}, {
|
|
1377
|
-
label: i18n_1._('Hide'),
|
|
1377
|
+
label: (0, i18n_1._)('Hide'),
|
|
1378
1378
|
value: 'hide'
|
|
1379
1379
|
}]
|
|
1380
1380
|
}
|
|
1381
1381
|
}], [{
|
|
1382
|
-
label: i18n_1._('Major tick size (px)'),
|
|
1382
|
+
label: (0, i18n_1._)('Major tick size (px)'),
|
|
1383
1383
|
option: 'y2AxisMajorTickSize',
|
|
1384
1384
|
editor: 'editor.slider',
|
|
1385
1385
|
editorProps: {
|
|
@@ -1392,7 +1392,7 @@ var axesChartY2GridAndLabels = {
|
|
|
1392
1392
|
return options.y2AxisMajorTickVisibility === 'show' || options.y2AxisMajorTickVisibility === 'auto' || options.y2AxisMajorTickVisibility === undefined;
|
|
1393
1393
|
}
|
|
1394
1394
|
}], [{
|
|
1395
|
-
label: i18n_1._('Major tick interval spacing'),
|
|
1395
|
+
label: (0, i18n_1._)('Major tick interval spacing'),
|
|
1396
1396
|
option: 'y2AxisMajorTickInterval',
|
|
1397
1397
|
editor: 'editor.number',
|
|
1398
1398
|
showEditor: function showEditor(_ref6) {
|
|
@@ -1400,27 +1400,27 @@ var axesChartY2GridAndLabels = {
|
|
|
1400
1400
|
return options.y2AxisMajorTickVisibility === 'show' || options.y2AxisMajorTickVisibility === 'auto' || options.y2AxisMajorTickVisibility === undefined;
|
|
1401
1401
|
}
|
|
1402
1402
|
}], [{
|
|
1403
|
-
label: i18n_1._('Minor gridlines'),
|
|
1403
|
+
label: (0, i18n_1._)('Minor gridlines'),
|
|
1404
1404
|
option: 'showY2MinorGridLines',
|
|
1405
1405
|
editor: 'editor.checkbox'
|
|
1406
1406
|
}], [{
|
|
1407
|
-
label: i18n_1._('Minor tick visibility'),
|
|
1407
|
+
label: (0, i18n_1._)('Minor tick visibility'),
|
|
1408
1408
|
option: 'y2AxisMinorTickVisibility',
|
|
1409
1409
|
editor: 'editor.radioBar',
|
|
1410
1410
|
editorProps: {
|
|
1411
1411
|
values: [{
|
|
1412
|
-
label: i18n_1._('Auto'),
|
|
1412
|
+
label: (0, i18n_1._)('Auto'),
|
|
1413
1413
|
value: 'auto'
|
|
1414
1414
|
}, {
|
|
1415
|
-
label: i18n_1._('Show'),
|
|
1415
|
+
label: (0, i18n_1._)('Show'),
|
|
1416
1416
|
value: 'show'
|
|
1417
1417
|
}, {
|
|
1418
|
-
label: i18n_1._('Hide'),
|
|
1418
|
+
label: (0, i18n_1._)('Hide'),
|
|
1419
1419
|
value: 'hide'
|
|
1420
1420
|
}]
|
|
1421
1421
|
}
|
|
1422
1422
|
}], [{
|
|
1423
|
-
label: i18n_1._('Minor tick size (px)'),
|
|
1423
|
+
label: (0, i18n_1._)('Minor tick size (px)'),
|
|
1424
1424
|
option: 'y2AxisMinorTickSize',
|
|
1425
1425
|
editor: 'editor.slider',
|
|
1426
1426
|
editorProps: {
|
|
@@ -1575,13 +1575,13 @@ var optionsSchema = {
|
|
|
1575
1575
|
dataValuesDisplay: {
|
|
1576
1576
|
description: 'Specify the labels to display. Enter "all" to show labels for all data points, "off" to show no labels, or "minmax" to show high and low values.',
|
|
1577
1577
|
type: 'string',
|
|
1578
|
-
pattern: schemaUtils_1.getPattern(['off', 'all', 'minmax']),
|
|
1578
|
+
pattern: (0, schemaUtils_1.getPattern)(['off', 'all', 'minmax']),
|
|
1579
1579
|
default: 'off'
|
|
1580
1580
|
},
|
|
1581
1581
|
legendDisplay: {
|
|
1582
1582
|
default: 'right',
|
|
1583
1583
|
description: 'Specify the location of the legend on the panel. You must select the Standard legend mode to make this change.',
|
|
1584
|
-
pattern: schemaUtils_1.getPattern(['right', 'left', 'top', 'bottom', 'off']),
|
|
1584
|
+
pattern: (0, schemaUtils_1.getPattern)(['right', 'left', 'top', 'bottom', 'off']),
|
|
1585
1585
|
type: 'string'
|
|
1586
1586
|
},
|
|
1587
1587
|
legendLabels: {
|
|
@@ -1594,13 +1594,13 @@ var optionsSchema = {
|
|
|
1594
1594
|
legendMode: {
|
|
1595
1595
|
default: 'standard',
|
|
1596
1596
|
description: 'Specify visual and behavioral settings for the tooltip and legend. "seriesCompare" is useful when comparing series.',
|
|
1597
|
-
pattern: schemaUtils_1.getPattern(['standard', 'seriesCompare']),
|
|
1597
|
+
pattern: (0, schemaUtils_1.getPattern)(['standard', 'seriesCompare']),
|
|
1598
1598
|
type: 'string'
|
|
1599
1599
|
},
|
|
1600
1600
|
legendTruncation: {
|
|
1601
1601
|
default: 'ellipsisEnd',
|
|
1602
1602
|
description: 'Specify how to display legend labels when they overflow the layout boundaries by replacing overflow text with an ellipsis.',
|
|
1603
|
-
pattern: schemaUtils_1.getPattern(['ellipsisEnd', 'ellipsisMiddle', 'ellipsisStart', 'ellipsisOff']),
|
|
1603
|
+
pattern: (0, schemaUtils_1.getPattern)(['ellipsisEnd', 'ellipsisMiddle', 'ellipsisStart', 'ellipsisOff']),
|
|
1604
1604
|
type: 'string'
|
|
1605
1605
|
},
|
|
1606
1606
|
lineWidth: {
|
|
@@ -1611,7 +1611,7 @@ var optionsSchema = {
|
|
|
1611
1611
|
nullValueDisplay: {
|
|
1612
1612
|
default: 'gaps',
|
|
1613
1613
|
description: 'Specify the handling of null values for area and line charts .',
|
|
1614
|
-
pattern: schemaUtils_1.getPattern(['gaps', 'zero', 'connect']),
|
|
1614
|
+
pattern: (0, schemaUtils_1.getPattern)(['gaps', 'zero', 'connect']),
|
|
1615
1615
|
type: 'string'
|
|
1616
1616
|
},
|
|
1617
1617
|
resultLimit: {
|
|
@@ -1634,7 +1634,7 @@ var optionsSchema = {
|
|
|
1634
1634
|
stackMode: {
|
|
1635
1635
|
description: 'Specify stack mode.',
|
|
1636
1636
|
type: 'string',
|
|
1637
|
-
pattern: schemaUtils_1.getPattern(['auto', 'stacked', 'stacked100']),
|
|
1637
|
+
pattern: (0, schemaUtils_1.getPattern)(['auto', 'stacked', 'stacked100']),
|
|
1638
1638
|
default: 'auto'
|
|
1639
1639
|
},
|
|
1640
1640
|
showIndependentYRanges: {
|
|
@@ -1701,40 +1701,40 @@ var optionsSchema = {
|
|
|
1701
1701
|
xAxisLabelVisibility: {
|
|
1702
1702
|
default: 'auto',
|
|
1703
1703
|
description: 'Specify whether to show labels on the x-axis.',
|
|
1704
|
-
pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
|
|
1704
|
+
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
1705
1705
|
type: 'string'
|
|
1706
1706
|
},
|
|
1707
1707
|
yAxisLabelVisibility: {
|
|
1708
1708
|
default: 'auto',
|
|
1709
1709
|
description: 'Specify whether to show labels on the y-axis.',
|
|
1710
|
-
pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
|
|
1710
|
+
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
1711
1711
|
type: 'string'
|
|
1712
1712
|
},
|
|
1713
1713
|
y2AxisLabelVisibility: {
|
|
1714
1714
|
default: 'auto',
|
|
1715
1715
|
description: 'Specify whether to show labels on the second y-axis.',
|
|
1716
|
-
pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
|
|
1716
|
+
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
1717
1717
|
type: 'string'
|
|
1718
1718
|
},
|
|
1719
1719
|
xAxisLineVisibility: {
|
|
1720
1720
|
default: 'hide',
|
|
1721
1721
|
description: 'Specify whether to show the x-axis line.',
|
|
1722
1722
|
enum: ['hide', 'show'],
|
|
1723
|
-
pattern: schemaUtils_1.getPattern(['show', 'hide']),
|
|
1723
|
+
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
1724
1724
|
type: 'string'
|
|
1725
1725
|
},
|
|
1726
1726
|
yAxisLineVisibility: {
|
|
1727
1727
|
default: 'hide',
|
|
1728
1728
|
description: 'Specify whether to show the y-axis line.',
|
|
1729
1729
|
enum: ['hide', 'show'],
|
|
1730
|
-
pattern: schemaUtils_1.getPattern(['show', 'hide']),
|
|
1730
|
+
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
1731
1731
|
type: 'string'
|
|
1732
1732
|
},
|
|
1733
1733
|
y2AxisLineVisibility: {
|
|
1734
1734
|
default: 'hide',
|
|
1735
1735
|
description: 'Specify whether to show the second y-axis line.',
|
|
1736
1736
|
enum: ['hide', 'show'],
|
|
1737
|
-
pattern: schemaUtils_1.getPattern(['show', 'hide']),
|
|
1737
|
+
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
1738
1738
|
type: 'string'
|
|
1739
1739
|
},
|
|
1740
1740
|
xAxisMajorTickSize: {
|
|
@@ -1765,31 +1765,31 @@ var optionsSchema = {
|
|
|
1765
1765
|
xAxisMajorTickVisibility: {
|
|
1766
1766
|
default: 'auto',
|
|
1767
1767
|
description: 'Specify whether to show major tick marks on the x-axis.',
|
|
1768
|
-
pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
|
|
1768
|
+
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
1769
1769
|
type: 'string'
|
|
1770
1770
|
},
|
|
1771
1771
|
yAxisMajorTickVisibility: {
|
|
1772
1772
|
default: 'auto',
|
|
1773
1773
|
description: 'Specify whether to show major tick marks on the y-axis.',
|
|
1774
|
-
pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
|
|
1774
|
+
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
1775
1775
|
type: 'string'
|
|
1776
1776
|
},
|
|
1777
1777
|
y2AxisMajorTickVisibility: {
|
|
1778
1778
|
default: 'auto',
|
|
1779
1779
|
description: 'Specify whether to show major tick marks on the second y-axis.',
|
|
1780
|
-
pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
|
|
1780
|
+
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
1781
1781
|
type: 'string'
|
|
1782
1782
|
},
|
|
1783
1783
|
yAxisMinorTickVisibility: {
|
|
1784
1784
|
default: 'auto',
|
|
1785
1785
|
description: 'Specify whether to show minor tick marks on the y-axis.',
|
|
1786
|
-
pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
|
|
1786
|
+
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
1787
1787
|
type: 'string'
|
|
1788
1788
|
},
|
|
1789
1789
|
y2AxisMinorTickVisibility: {
|
|
1790
1790
|
default: 'auto',
|
|
1791
1791
|
description: 'Specify whether to show minor tick marks on the second y-axis.',
|
|
1792
|
-
pattern: schemaUtils_1.getPattern(['auto', 'show', 'hide']),
|
|
1792
|
+
pattern: (0, schemaUtils_1.getPattern)(['auto', 'show', 'hide']),
|
|
1793
1793
|
type: 'string'
|
|
1794
1794
|
},
|
|
1795
1795
|
xAxisMaxLabelParts: {
|
|
@@ -1801,13 +1801,13 @@ var optionsSchema = {
|
|
|
1801
1801
|
},
|
|
1802
1802
|
yAxisScale: {
|
|
1803
1803
|
type: 'string',
|
|
1804
|
-
pattern: schemaUtils_1.getPattern(['linear', 'log']),
|
|
1804
|
+
pattern: (0, schemaUtils_1.getPattern)(['linear', 'log']),
|
|
1805
1805
|
description: 'Specify the type of scale that applies to a numerical y-axis.',
|
|
1806
1806
|
default: 'linear'
|
|
1807
1807
|
},
|
|
1808
1808
|
y2AxisScale: {
|
|
1809
1809
|
type: 'string',
|
|
1810
|
-
pattern: schemaUtils_1.getPattern(['linear', 'log']),
|
|
1810
|
+
pattern: (0, schemaUtils_1.getPattern)(['linear', 'log']),
|
|
1811
1811
|
description: 'Specify the type of scale that applies to a numerical second y-axis.',
|
|
1812
1812
|
default: 'linear'
|
|
1813
1813
|
},
|
|
@@ -1827,35 +1827,35 @@ var optionsSchema = {
|
|
|
1827
1827
|
default: 'show',
|
|
1828
1828
|
description: 'Specify whether to show the title of the x-axis.',
|
|
1829
1829
|
enum: ['hide', 'show'],
|
|
1830
|
-
pattern: schemaUtils_1.getPattern(['show', 'hide']),
|
|
1830
|
+
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
1831
1831
|
type: 'string'
|
|
1832
1832
|
},
|
|
1833
1833
|
yAxisTitleVisibility: {
|
|
1834
1834
|
default: 'show',
|
|
1835
1835
|
description: 'Specify whether to show the title of the y-axis.',
|
|
1836
1836
|
enum: ['hide', 'show'],
|
|
1837
|
-
pattern: schemaUtils_1.getPattern(['show', 'hide']),
|
|
1837
|
+
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
1838
1838
|
type: 'string'
|
|
1839
1839
|
},
|
|
1840
1840
|
y2AxisTitleVisibility: {
|
|
1841
1841
|
default: 'show',
|
|
1842
1842
|
description: 'Specify whether to show the title of the second y-axis.',
|
|
1843
1843
|
enum: ['hide', 'show'],
|
|
1844
|
-
pattern: schemaUtils_1.getPattern(['show', 'hide']),
|
|
1844
|
+
pattern: (0, schemaUtils_1.getPattern)(['show', 'hide']),
|
|
1845
1845
|
type: 'string'
|
|
1846
1846
|
},
|
|
1847
1847
|
yAxisAbbreviation: {
|
|
1848
1848
|
default: 'auto',
|
|
1849
1849
|
description: 'Specify whether to abbreviate large y-axis values with the closest International System of Units (SI) prefix.',
|
|
1850
1850
|
enum: ['auto', 'off'],
|
|
1851
|
-
pattern: schemaUtils_1.getPattern(['off', 'auto']),
|
|
1851
|
+
pattern: (0, schemaUtils_1.getPattern)(['off', 'auto']),
|
|
1852
1852
|
type: 'string'
|
|
1853
1853
|
},
|
|
1854
1854
|
y2AxisAbbreviation: {
|
|
1855
1855
|
default: 'auto',
|
|
1856
1856
|
description: 'Specify whether to abbreviate large second y-axis values with the closest International System of Units (SI) prefix.',
|
|
1857
1857
|
enum: ['auto', 'off'],
|
|
1858
|
-
pattern: schemaUtils_1.getPattern(['off', 'auto']),
|
|
1858
|
+
pattern: (0, schemaUtils_1.getPattern)(['off', 'auto']),
|
|
1859
1859
|
type: 'string'
|
|
1860
1860
|
},
|
|
1861
1861
|
yAxisMajorTickInterval: {
|
|
@@ -1916,7 +1916,7 @@ var optionsSchema = {
|
|
|
1916
1916
|
};
|
|
1917
1917
|
var themes = {
|
|
1918
1918
|
defaultBackgroundColor: function defaultBackgroundColor(props) {
|
|
1919
|
-
return pick_1.default({
|
|
1919
|
+
return (0, pick_1.default)({
|
|
1920
1920
|
enterprise: {
|
|
1921
1921
|
dark: variables_1.default.black(props),
|
|
1922
1922
|
light: variables_1.default.backgroundColor(props)
|
|
@@ -1928,7 +1928,7 @@ var themes = {
|
|
|
1928
1928
|
var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigAreaColumnLine, AxesChartDataDisplay_1.default, {
|
|
1929
1929
|
label: AxesChartColorAndStyle_1.default.label,
|
|
1930
1930
|
layout: [].concat(_toConsumableArray(AxesChartColorAndStyle_1.default.layout), [[{
|
|
1931
|
-
label: i18n_1._('Area opacity (0-1)'),
|
|
1931
|
+
label: (0, i18n_1._)('Area opacity (0-1)'),
|
|
1932
1932
|
option: 'areaOpacity',
|
|
1933
1933
|
editor: 'editor.slider',
|
|
1934
1934
|
editorProps: {
|
|
@@ -1937,11 +1937,11 @@ var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigAreaColumnLine, Axe
|
|
|
1937
1937
|
step: 0.01
|
|
1938
1938
|
}
|
|
1939
1939
|
}], [{
|
|
1940
|
-
label: i18n_1._('Show area outlines'),
|
|
1940
|
+
label: (0, i18n_1._)('Show area outlines'),
|
|
1941
1941
|
option: 'showLines',
|
|
1942
1942
|
editor: 'editor.checkbox'
|
|
1943
1943
|
}], [{
|
|
1944
|
-
label: i18n_1._('Line width'),
|
|
1944
|
+
label: (0, i18n_1._)('Line width'),
|
|
1945
1945
|
option: 'lineWidth',
|
|
1946
1946
|
editor: 'editor.slider',
|
|
1947
1947
|
editorProps: {
|
|
@@ -1954,7 +1954,7 @@ var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigAreaColumnLine, Axe
|
|
|
1954
1954
|
return Array.isArray(options.overlayFields) && options.overlayFields.length > 0;
|
|
1955
1955
|
}
|
|
1956
1956
|
}], [{
|
|
1957
|
-
label: i18n_1._('Annotation colors'),
|
|
1957
|
+
label: (0, i18n_1._)('Annotation colors'),
|
|
1958
1958
|
option: 'annotationColor',
|
|
1959
1959
|
editor: 'editor.columnSelector',
|
|
1960
1960
|
editorProps: {
|
|
@@ -1966,48 +1966,48 @@ var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigAreaColumnLine, Axe
|
|
|
1966
1966
|
}, {
|
|
1967
1967
|
label: AxesChartLegend_1.default.label,
|
|
1968
1968
|
layout: [[{
|
|
1969
|
-
label: i18n_1._('Legend display'),
|
|
1969
|
+
label: (0, i18n_1._)('Legend display'),
|
|
1970
1970
|
option: 'legendDisplay',
|
|
1971
1971
|
editor: 'editor.select',
|
|
1972
1972
|
editorProps: {
|
|
1973
1973
|
values: [{
|
|
1974
|
-
label: i18n_1._('Right'),
|
|
1974
|
+
label: (0, i18n_1._)('Right'),
|
|
1975
1975
|
value: 'right'
|
|
1976
1976
|
}, {
|
|
1977
|
-
label: i18n_1._('Left'),
|
|
1977
|
+
label: (0, i18n_1._)('Left'),
|
|
1978
1978
|
value: 'left'
|
|
1979
1979
|
}, {
|
|
1980
|
-
label: i18n_1._('Top'),
|
|
1980
|
+
label: (0, i18n_1._)('Top'),
|
|
1981
1981
|
value: 'top'
|
|
1982
1982
|
}, {
|
|
1983
|
-
label: i18n_1._('Bottom'),
|
|
1983
|
+
label: (0, i18n_1._)('Bottom'),
|
|
1984
1984
|
value: 'bottom'
|
|
1985
1985
|
}, {
|
|
1986
|
-
label: i18n_1._('Off'),
|
|
1986
|
+
label: (0, i18n_1._)('Off'),
|
|
1987
1987
|
value: 'off'
|
|
1988
1988
|
}],
|
|
1989
|
-
tooltip: i18n_1._('Legend mode must be "Standard" to configure legend display')
|
|
1989
|
+
tooltip: (0, i18n_1._)('Legend mode must be "Standard" to configure legend display')
|
|
1990
1990
|
},
|
|
1991
1991
|
isDisabled: function isDisabled(_ref2) {
|
|
1992
1992
|
var options = _ref2.options;
|
|
1993
1993
|
return options.legendMode === 'seriesCompare';
|
|
1994
1994
|
}
|
|
1995
1995
|
}], [{
|
|
1996
|
-
label: i18n_1._('Legend truncation'),
|
|
1996
|
+
label: (0, i18n_1._)('Legend truncation'),
|
|
1997
1997
|
option: 'legendTruncation',
|
|
1998
1998
|
editor: 'editor.radioBar',
|
|
1999
1999
|
editorProps: {
|
|
2000
2000
|
values: [{
|
|
2001
|
-
label: i18n_1._('A...'),
|
|
2001
|
+
label: (0, i18n_1._)('A...'),
|
|
2002
2002
|
value: 'ellipsisEnd'
|
|
2003
2003
|
}, {
|
|
2004
|
-
label: i18n_1._('A...Z'),
|
|
2004
|
+
label: (0, i18n_1._)('A...Z'),
|
|
2005
2005
|
value: 'ellipsisMiddle'
|
|
2006
2006
|
}, {
|
|
2007
|
-
label: i18n_1._('...Z'),
|
|
2007
|
+
label: (0, i18n_1._)('...Z'),
|
|
2008
2008
|
value: 'ellipsisStart'
|
|
2009
2009
|
}, {
|
|
2010
|
-
label: i18n_1._('Off'),
|
|
2010
|
+
label: (0, i18n_1._)('Off'),
|
|
2011
2011
|
value: 'ellipsisOff'
|
|
2012
2012
|
}]
|
|
2013
2013
|
},
|
|
@@ -2016,15 +2016,15 @@ var editorConfig = [AxesChartDataConfig_1.AxesChartDataConfigAreaColumnLine, Axe
|
|
|
2016
2016
|
return options.legendDisplay === 'left' || options.legendDisplay === 'right' || options.legendDisplay === 'top' || options.legendDisplay === 'bottom' || options.legendDisplay === undefined;
|
|
2017
2017
|
}
|
|
2018
2018
|
}], [{
|
|
2019
|
-
label: i18n_1._('Legend mode'),
|
|
2019
|
+
label: (0, i18n_1._)('Legend mode'),
|
|
2020
2020
|
option: 'legendMode',
|
|
2021
2021
|
editor: 'editor.radioBar',
|
|
2022
2022
|
editorProps: {
|
|
2023
2023
|
values: [{
|
|
2024
|
-
label: i18n_1._('Standard'),
|
|
2024
|
+
label: (0, i18n_1._)('Standard'),
|
|
2025
2025
|
value: 'standard'
|
|
2026
2026
|
}, {
|
|
2027
|
-
label: i18n_1._('Compare series'),
|
|
2027
|
+
label: (0, i18n_1._)('Compare series'),
|
|
2028
2028
|
value: 'seriesCompare'
|
|
2029
2029
|
}]
|
|
2030
2030
|
},
|
|
@@ -2045,7 +2045,7 @@ var config = {
|
|
|
2045
2045
|
/**
|
|
2046
2046
|
* viz name
|
|
2047
2047
|
*/
|
|
2048
|
-
name: i18n_1._('Area'),
|
|
2048
|
+
name: (0, i18n_1._)('Area'),
|
|
2049
2049
|
category: VizCategory_1.VizCategory.TRENDS,
|
|
2050
2050
|
/**
|
|
2051
2051
|
* viz icon
|
|
@@ -2077,7 +2077,7 @@ var config = {
|
|
|
2077
2077
|
supports: [VizBehavior_1.VizBehavior.DYNAMIC_OPTIONS, VizBehavior_1.VizBehavior.PLACEHOLDER, VizBehavior_1.VizBehavior.EVENTS],
|
|
2078
2078
|
themes: themes
|
|
2079
2079
|
};
|
|
2080
|
-
exports.default = configUtils_1.enhanceConfig(config);
|
|
2080
|
+
exports.default = (0, configUtils_1.enhanceConfig)(config);
|
|
2081
2081
|
|
|
2082
2082
|
/***/ })
|
|
2083
2083
|
/******/ ]);
|