@vizzly/dashboard 0.15.0-dev-9c6450e1992314d49bfd0ec35c6ffdf797865567 → 0.15.0-dev-e4e46cdb5d41c2a0c5b2637632228c4a6a4654e0
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.
|
@@ -4184,7 +4184,7 @@ var attributesSchema$2 = function attributesSchema(config) {
|
|
|
4184
4184
|
return Joi.object(_extends({}, baseAttributesSchema(config.attributesSchemaOptions), timeDimensionQuerySchema(config.queryEngineConfig, config.attributesSchemaOptions), {
|
|
4185
4185
|
stacked: Joi.valid(true, false, '100%'),
|
|
4186
4186
|
legend: Joi.valid(true, false),
|
|
4187
|
-
labels: Joi.valid(true, false).optional(),
|
|
4187
|
+
// labels: Joi.valid(true, false).optional(),
|
|
4188
4188
|
type: Joi.valid('lineChartV2').required(),
|
|
4189
4189
|
parameters: parametersSchema(config.queryEngineConfig, config.attributesSchemaOptions),
|
|
4190
4190
|
lineCurve: lineCurveSchema,
|
|
@@ -4294,13 +4294,8 @@ var CONSTANTS$2 = {
|
|
|
4294
4294
|
title: 'Show Legend',
|
|
4295
4295
|
description: '',
|
|
4296
4296
|
namespace: 'legend'
|
|
4297
|
-
},
|
|
4298
|
-
labels: {
|
|
4299
|
-
type: 'labels',
|
|
4300
|
-
title: 'Show Labels',
|
|
4301
|
-
description: '',
|
|
4302
|
-
namespace: 'labels'
|
|
4303
4297
|
}
|
|
4298
|
+
// labels: { type: 'labels', title: 'Show Labels', description: '', namespace: 'labels' },
|
|
4304
4299
|
}
|
|
4305
4300
|
},
|
|
4306
4301
|
axis_labels: {
|
|
@@ -4466,7 +4461,6 @@ var LineChart$1 = function LineChart(config) {
|
|
|
4466
4461
|
conditionalFormattingRules: [],
|
|
4467
4462
|
drilldown: [],
|
|
4468
4463
|
legend: true,
|
|
4469
|
-
labels: false,
|
|
4470
4464
|
goalLines: undefined,
|
|
4471
4465
|
approxXAxisLabelCount: 'auto',
|
|
4472
4466
|
approxYAxisLabelCount: 'auto',
|
|
@@ -4529,9 +4523,10 @@ var LineChart$1 = function LineChart(config) {
|
|
|
4529
4523
|
}), namespace(CONSTANTS$2, 'sort'), namespace(CONSTANTS$2, 'filter'), namespace(CONSTANTS$2, 'custom_metrics'), namespace(CONSTANTS$2, 'limit')];
|
|
4530
4524
|
},
|
|
4531
4525
|
formatPanelConfig: function formatPanelConfig() {
|
|
4532
|
-
var _CONSTANTS$format_pan
|
|
4526
|
+
var _CONSTANTS$format_pan;
|
|
4533
4527
|
return [headingConstant(CONSTANTS$2), _extends({}, namespace(CONSTANTS$2, 'chart_styles'), {
|
|
4534
|
-
subSection: [(_CONSTANTS$format_pan = CONSTANTS$2.format_panel.chart_styles) == null ? void 0 : _CONSTANTS$format_pan.subSectionDefinition.legend
|
|
4528
|
+
subSection: [(_CONSTANTS$format_pan = CONSTANTS$2.format_panel.chart_styles) == null ? void 0 : _CONSTANTS$format_pan.subSectionDefinition.legend // CONSTANTS.format_panel.chart_styles?.subSectionDefinition.labels as Section<'labels'>,
|
|
4529
|
+
]
|
|
4535
4530
|
}), axisLabelsConstants(CONSTANTS$2), _extends({}, namespace(CONSTANTS$2, 'conditional_formatting'), {
|
|
4536
4531
|
ruleType: 'lineColor'
|
|
4537
4532
|
}), namespace(CONSTANTS$2, 'goal_line')
|
|
@@ -8659,13 +8654,8 @@ var CONSTANTS$h = {
|
|
|
8659
8654
|
title: 'Show Legend',
|
|
8660
8655
|
description: '',
|
|
8661
8656
|
namespace: 'legend'
|
|
8662
|
-
},
|
|
8663
|
-
labels: {
|
|
8664
|
-
type: 'labels',
|
|
8665
|
-
title: 'Show Labels',
|
|
8666
|
-
description: '',
|
|
8667
|
-
namespace: 'labels'
|
|
8668
8657
|
}
|
|
8658
|
+
// labels: { type: 'labels', title: 'Show Labels', description: '', namespace: 'labels' },
|
|
8669
8659
|
}
|
|
8670
8660
|
},
|
|
8671
8661
|
axis_labels: {
|
|
@@ -8804,7 +8794,6 @@ var FunnelChart = function FunnelChart(config) {
|
|
|
8804
8794
|
yAxisFormat: null,
|
|
8805
8795
|
xAxisFormat: null,
|
|
8806
8796
|
legend: true,
|
|
8807
|
-
labels: false,
|
|
8808
8797
|
approxXAxisLabelCount: 'auto',
|
|
8809
8798
|
approxYAxisLabelCount: 'auto',
|
|
8810
8799
|
axisTitles: undefined,
|
|
@@ -8862,9 +8851,10 @@ var FunnelChart = function FunnelChart(config) {
|
|
|
8862
8851
|
}), namespace(CONSTANTS$h, 'sort'), namespace(CONSTANTS$h, 'filter'), namespace(CONSTANTS$h, 'custom_metrics'), namespace(CONSTANTS$h, 'limit')];
|
|
8863
8852
|
},
|
|
8864
8853
|
formatPanelConfig: function formatPanelConfig() {
|
|
8865
|
-
var _CONSTANTS$format_pan
|
|
8854
|
+
var _CONSTANTS$format_pan;
|
|
8866
8855
|
return [headingConstant(CONSTANTS$h), _extends({}, namespace(CONSTANTS$h, 'chart_styles'), {
|
|
8867
|
-
subSection: [(_CONSTANTS$format_pan = CONSTANTS$h.format_panel.chart_styles) == null ? void 0 : _CONSTANTS$format_pan.subSectionDefinition.legend
|
|
8856
|
+
subSection: [(_CONSTANTS$format_pan = CONSTANTS$h.format_panel.chart_styles) == null ? void 0 : _CONSTANTS$format_pan.subSectionDefinition.legend // CONSTANTS.format_panel.chart_styles?.subSectionDefinition.labels as Section<'labels'>,
|
|
8857
|
+
]
|
|
8868
8858
|
}), axisLabelsConstants(CONSTANTS$h), _extends({}, namespace(CONSTANTS$h, 'conditional_formatting'), {
|
|
8869
8859
|
ruleType: 'backgroundColor'
|
|
8870
8860
|
}), namespace(CONSTANTS$h, 'headline')];
|
|
@@ -9962,7 +9952,7 @@ var attributesSchema$i = function attributesSchema(config) {
|
|
|
9962
9952
|
return Joi.object(_extends({}, baseAttributesSchema(config.attributesSchemaOptions), timeDimensionQuerySchema(config.queryEngineConfig, config.attributesSchemaOptions), {
|
|
9963
9953
|
stacked: Joi.valid(true, false),
|
|
9964
9954
|
legend: Joi.valid(true, false),
|
|
9965
|
-
labels: Joi.valid(true, false).optional(),
|
|
9955
|
+
// labels: Joi.valid(true, false).optional(),
|
|
9966
9956
|
type: Joi.valid('barChartV2').required(),
|
|
9967
9957
|
parameters: parametersSchema(config.queryEngineConfig, config.attributesSchemaOptions),
|
|
9968
9958
|
conditionalFormattingRules: conditionalFormattingRulesSchema(config.queryEngineConfig),
|
|
@@ -10071,13 +10061,8 @@ var CONSTANTS$k = {
|
|
|
10071
10061
|
title: 'Show Legend',
|
|
10072
10062
|
description: '',
|
|
10073
10063
|
namespace: 'legend'
|
|
10074
|
-
},
|
|
10075
|
-
labels: {
|
|
10076
|
-
type: 'labels',
|
|
10077
|
-
title: 'Show Labels',
|
|
10078
|
-
description: '',
|
|
10079
|
-
namespace: 'labels'
|
|
10080
10064
|
}
|
|
10065
|
+
// labels: { type: 'labels', title: 'Show Labels', description: '', namespace: 'labels' },
|
|
10081
10066
|
}
|
|
10082
10067
|
},
|
|
10083
10068
|
axis_labels: {
|
|
@@ -10237,7 +10222,6 @@ var BarChart$1 = function BarChart(config) {
|
|
|
10237
10222
|
conditionalFormattingRules: [],
|
|
10238
10223
|
drilldown: [],
|
|
10239
10224
|
legend: true,
|
|
10240
|
-
labels: false,
|
|
10241
10225
|
goalLines: undefined,
|
|
10242
10226
|
approxXAxisLabelCount: 'auto',
|
|
10243
10227
|
approxYAxisLabelCount: 'auto',
|
|
@@ -10304,9 +10288,10 @@ var BarChart$1 = function BarChart(config) {
|
|
|
10304
10288
|
}), namespace(CONSTANTS$k, 'custom_metrics'), namespace(CONSTANTS$k, 'limit')];
|
|
10305
10289
|
},
|
|
10306
10290
|
formatPanelConfig: function formatPanelConfig() {
|
|
10307
|
-
var _CONSTANTS$format_pan
|
|
10291
|
+
var _CONSTANTS$format_pan;
|
|
10308
10292
|
return [headingConstant(CONSTANTS$k), _extends({}, namespace(CONSTANTS$k, 'chart_styles'), {
|
|
10309
|
-
subSection: [(_CONSTANTS$format_pan = CONSTANTS$k.format_panel.chart_styles) == null ? void 0 : _CONSTANTS$format_pan.subSectionDefinition.legend
|
|
10293
|
+
subSection: [(_CONSTANTS$format_pan = CONSTANTS$k.format_panel.chart_styles) == null ? void 0 : _CONSTANTS$format_pan.subSectionDefinition.legend // CONSTANTS.format_panel.chart_styles?.subSectionDefinition.labels as Section<'labels'>,
|
|
10294
|
+
]
|
|
10310
10295
|
}), axisLabelsConstants(CONSTANTS$k), _extends({}, namespace(CONSTANTS$k, 'conditional_formatting'), {
|
|
10311
10296
|
ruleType: 'lineColor'
|
|
10312
10297
|
}), namespace(CONSTANTS$k, 'goal_line')];
|
|
@@ -10334,7 +10319,7 @@ var BarChart$1 = function BarChart(config) {
|
|
|
10334
10319
|
var attributesSchema$j = function attributesSchema(config) {
|
|
10335
10320
|
return Joi.object(_extends({}, baseAttributesSchema(config.attributesSchemaOptions), timeDimensionQuerySchema(config.queryEngineConfig, config.attributesSchemaOptions), {
|
|
10336
10321
|
legend: Joi.valid(true, false),
|
|
10337
|
-
labels: Joi.valid(true, false).optional(),
|
|
10322
|
+
// labels: Joi.valid(true, false).optional(),
|
|
10338
10323
|
type: Joi.valid('waterfallChart').required(),
|
|
10339
10324
|
parameters: parametersSchema(config.queryEngineConfig, config.attributesSchemaOptions),
|
|
10340
10325
|
axisTitles: axisTitleSchema(),
|
|
@@ -10431,13 +10416,8 @@ var CONSTANTS$l = {
|
|
|
10431
10416
|
title: 'Show Legend',
|
|
10432
10417
|
description: '',
|
|
10433
10418
|
namespace: 'legend'
|
|
10434
|
-
},
|
|
10435
|
-
labels: {
|
|
10436
|
-
type: 'labels',
|
|
10437
|
-
title: 'Show Labels',
|
|
10438
|
-
description: '',
|
|
10439
|
-
namespace: 'labels'
|
|
10440
10419
|
}
|
|
10420
|
+
// labels: { type: 'labels', title: 'Show Labels', description: '', namespace: 'labels' },
|
|
10441
10421
|
}
|
|
10442
10422
|
},
|
|
10443
10423
|
axis_labels: {
|
|
@@ -10588,7 +10568,6 @@ var WaterfallChart = function WaterfallChart(config) {
|
|
|
10588
10568
|
yAxisFormat: null,
|
|
10589
10569
|
xAxisFormat: null,
|
|
10590
10570
|
legend: true,
|
|
10591
|
-
labels: false,
|
|
10592
10571
|
parameters: {},
|
|
10593
10572
|
axisTitles: undefined,
|
|
10594
10573
|
headline: undefined,
|
|
@@ -10649,9 +10628,10 @@ var WaterfallChart = function WaterfallChart(config) {
|
|
|
10649
10628
|
}), namespace(CONSTANTS$l, 'sort'), namespace(CONSTANTS$l, 'filter'), namespace(CONSTANTS$l, 'custom_metrics'), namespace(CONSTANTS$l, 'limit')];
|
|
10650
10629
|
},
|
|
10651
10630
|
formatPanelConfig: function formatPanelConfig() {
|
|
10652
|
-
var _CONSTANTS$format_pan
|
|
10631
|
+
var _CONSTANTS$format_pan;
|
|
10653
10632
|
return [headingConstant(CONSTANTS$l), namespace(CONSTANTS$l, 'waterfall_colors'), _extends({}, namespace(CONSTANTS$l, 'chart_styles'), {
|
|
10654
|
-
subSection: [(_CONSTANTS$format_pan = CONSTANTS$l.format_panel.chart_styles) == null ? void 0 : _CONSTANTS$format_pan.subSectionDefinition.legend
|
|
10633
|
+
subSection: [(_CONSTANTS$format_pan = CONSTANTS$l.format_panel.chart_styles) == null ? void 0 : _CONSTANTS$format_pan.subSectionDefinition.legend // CONSTANTS.format_panel.chart_styles?.subSectionDefinition.labels as Section<'labels'>,
|
|
10634
|
+
]
|
|
10655
10635
|
}), axisLabelsConstants(CONSTANTS$l)];
|
|
10656
10636
|
},
|
|
10657
10637
|
supportedCustomFields: {
|
|
@@ -10678,7 +10658,7 @@ var attributesSchema$k = function attributesSchema(config) {
|
|
|
10678
10658
|
return Joi.object(_extends({}, baseAttributesSchema(config.attributesSchemaOptions), timeDimensionQuerySchema(config.queryEngineConfig, config.attributesSchemaOptions), {
|
|
10679
10659
|
stacked: Joi.valid(true, false),
|
|
10680
10660
|
legend: Joi.valid(true, false),
|
|
10681
|
-
labels: Joi.valid(true, false).optional(),
|
|
10661
|
+
// labels: Joi.valid(true, false).optional(),
|
|
10682
10662
|
type: Joi.valid('areaChartV2').required(),
|
|
10683
10663
|
parameters: parametersSchema(config.queryEngineConfig, config.attributesSchemaOptions),
|
|
10684
10664
|
lineCurve: areaCurveSchema,
|
|
@@ -10794,13 +10774,8 @@ var CONSTANTS$m = {
|
|
|
10794
10774
|
title: 'Show Legend',
|
|
10795
10775
|
description: '',
|
|
10796
10776
|
namespace: 'legend'
|
|
10797
|
-
},
|
|
10798
|
-
labels: {
|
|
10799
|
-
type: 'labels',
|
|
10800
|
-
title: 'Show Labels',
|
|
10801
|
-
description: '',
|
|
10802
|
-
namespace: 'labels'
|
|
10803
10777
|
}
|
|
10778
|
+
// labels: { type: 'labels', title: 'Show Labels', description: '', namespace: 'labels' },
|
|
10804
10779
|
}
|
|
10805
10780
|
},
|
|
10806
10781
|
axis_labels: {
|
|
@@ -10967,7 +10942,6 @@ var AreaChart$1 = function AreaChart(config) {
|
|
|
10967
10942
|
conditionalFormattingRules: [],
|
|
10968
10943
|
drilldown: [],
|
|
10969
10944
|
legend: true,
|
|
10970
|
-
labels: false,
|
|
10971
10945
|
goalLines: undefined,
|
|
10972
10946
|
approxXAxisLabelCount: 'auto',
|
|
10973
10947
|
approxYAxisLabelCount: 'auto',
|
|
@@ -11031,9 +11005,10 @@ var AreaChart$1 = function AreaChart(config) {
|
|
|
11031
11005
|
}), namespace(CONSTANTS$m, 'sort'), namespace(CONSTANTS$m, 'filter'), namespace(CONSTANTS$m, 'custom_metrics'), namespace(CONSTANTS$m, 'limit')];
|
|
11032
11006
|
},
|
|
11033
11007
|
formatPanelConfig: function formatPanelConfig() {
|
|
11034
|
-
var _CONSTANTS$format_pan
|
|
11008
|
+
var _CONSTANTS$format_pan;
|
|
11035
11009
|
return [headingConstant(CONSTANTS$m), _extends({}, namespace(CONSTANTS$m, 'chart_styles'), {
|
|
11036
|
-
subSection: [(_CONSTANTS$format_pan = CONSTANTS$m.format_panel.chart_styles) == null ? void 0 : _CONSTANTS$format_pan.subSectionDefinition.legend
|
|
11010
|
+
subSection: [(_CONSTANTS$format_pan = CONSTANTS$m.format_panel.chart_styles) == null ? void 0 : _CONSTANTS$format_pan.subSectionDefinition.legend // CONSTANTS.format_panel.chart_styles?.subSectionDefinition.labels as Section<'labels'>,
|
|
11011
|
+
]
|
|
11037
11012
|
}), axisLabelsConstants(CONSTANTS$m), _extends({}, namespace(CONSTANTS$m, 'conditional_formatting'), {
|
|
11038
11013
|
ruleType: 'lineColor'
|
|
11039
11014
|
}), namespace(CONSTANTS$m, 'goal_line')];
|
|
@@ -11062,7 +11037,7 @@ var attributesSchema$l = function attributesSchema(config) {
|
|
|
11062
11037
|
return Joi.object(_extends({}, baseAttributesSchema(config.attributesSchemaOptions), {
|
|
11063
11038
|
stacked: Joi.valid(true, false),
|
|
11064
11039
|
legend: Joi.valid(true, false),
|
|
11065
|
-
labels: Joi.valid(true, false).optional(),
|
|
11040
|
+
// labels: Joi.valid(true, false).optional(),
|
|
11066
11041
|
barMeasure: Joi.array().items(measureSchema(config.queryEngineConfig.supportedAggregates, config.attributesSchemaOptions)),
|
|
11067
11042
|
lineMeasure: Joi.array().items(measureSchema(config.queryEngineConfig.supportedAggregates, config.attributesSchemaOptions)),
|
|
11068
11043
|
barDimension: dimensionSchema(config.queryEngineConfig.supportedTimeTruncFunctions, config.attributesSchemaOptions),
|
|
@@ -11208,13 +11183,8 @@ var CONSTANTS$n = {
|
|
|
11208
11183
|
title: 'Show Legend',
|
|
11209
11184
|
description: '',
|
|
11210
11185
|
namespace: 'legend'
|
|
11211
|
-
},
|
|
11212
|
-
labels: {
|
|
11213
|
-
type: 'labels',
|
|
11214
|
-
title: 'Show Labels',
|
|
11215
|
-
description: '',
|
|
11216
|
-
namespace: 'labels'
|
|
11217
11186
|
}
|
|
11187
|
+
// labels: { type: 'labels', title: 'Show Labels', description: '', namespace: 'labels' },
|
|
11218
11188
|
}
|
|
11219
11189
|
},
|
|
11220
11190
|
axis_labels: {
|
|
@@ -11346,7 +11316,6 @@ var ComboChartV2 = function ComboChartV2(config) {
|
|
|
11346
11316
|
yAxisFormat: null,
|
|
11347
11317
|
xAxisFormat: null,
|
|
11348
11318
|
legend: true,
|
|
11349
|
-
labels: false,
|
|
11350
11319
|
approxXAxisLabelCount: 'auto',
|
|
11351
11320
|
approxYAxisLabelCount: 'auto',
|
|
11352
11321
|
goalLines: undefined,
|
|
@@ -11387,18 +11356,19 @@ var ComboChartV2 = function ComboChartV2(config) {
|
|
|
11387
11356
|
}), namespace(CONSTANTS$n, 'combo_chart_dimension'), namespace(CONSTANTS$n, 'sort'), namespace(CONSTANTS$n, 'filter'), namespace(CONSTANTS$n, 'custom_metrics'), namespace(CONSTANTS$n, 'limit')];
|
|
11388
11357
|
},
|
|
11389
11358
|
formatPanelConfig: function formatPanelConfig() {
|
|
11390
|
-
var _CONSTANTS$format_pan, _CONSTANTS$format_pan2, _CONSTANTS$format_pan3, _CONSTANTS$format_pan4, _CONSTANTS$format_pan5, _CONSTANTS$format_pan6, _CONSTANTS$format_pan7
|
|
11359
|
+
var _CONSTANTS$format_pan, _CONSTANTS$format_pan2, _CONSTANTS$format_pan3, _CONSTANTS$format_pan4, _CONSTANTS$format_pan5, _CONSTANTS$format_pan6, _CONSTANTS$format_pan7;
|
|
11391
11360
|
return [headingConstant(CONSTANTS$n), _extends({}, namespace(CONSTANTS$n, 'chart_styles'), {
|
|
11392
|
-
subSection: [(_CONSTANTS$format_pan = CONSTANTS$n.format_panel.chart_styles) == null ? void 0 : _CONSTANTS$format_pan.subSectionDefinition.legend
|
|
11361
|
+
subSection: [(_CONSTANTS$format_pan = CONSTANTS$n.format_panel.chart_styles) == null ? void 0 : _CONSTANTS$format_pan.subSectionDefinition.legend // CONSTANTS.format_panel.chart_styles?.subSectionDefinition.labels as Section<'labels'>,
|
|
11362
|
+
]
|
|
11393
11363
|
}), axisLabelsConstants(CONSTANTS$n), _extends({}, namespace(CONSTANTS$n, 'conditional_formatting'), {
|
|
11394
11364
|
ruleType: 'backgroundColor',
|
|
11395
11365
|
subSection: [{
|
|
11396
|
-
title: (_CONSTANTS$
|
|
11397
|
-
namespace: (_CONSTANTS$
|
|
11366
|
+
title: (_CONSTANTS$format_pan2 = (_CONSTANTS$format_pan3 = CONSTANTS$n.format_panel.conditional_formatting) == null || (_CONSTANTS$format_pan3 = _CONSTANTS$format_pan3.subSectionDefinition) == null ? void 0 : _CONSTANTS$format_pan3.bar.title) != null ? _CONSTANTS$format_pan2 : '',
|
|
11367
|
+
namespace: (_CONSTANTS$format_pan4 = CONSTANTS$n.format_panel.conditional_formatting) == null || (_CONSTANTS$format_pan4 = _CONSTANTS$format_pan4.subSectionDefinition) == null ? void 0 : _CONSTANTS$format_pan4.bar.namespace,
|
|
11398
11368
|
propKey: 'bar'
|
|
11399
11369
|
}, {
|
|
11400
|
-
title: (_CONSTANTS$
|
|
11401
|
-
namespace: (_CONSTANTS$
|
|
11370
|
+
title: (_CONSTANTS$format_pan5 = (_CONSTANTS$format_pan6 = CONSTANTS$n.format_panel.conditional_formatting) == null || (_CONSTANTS$format_pan6 = _CONSTANTS$format_pan6.subSectionDefinition) == null ? void 0 : _CONSTANTS$format_pan6.line.title) != null ? _CONSTANTS$format_pan5 : '',
|
|
11371
|
+
namespace: (_CONSTANTS$format_pan7 = CONSTANTS$n.format_panel.conditional_formatting) == null || (_CONSTANTS$format_pan7 = _CONSTANTS$format_pan7.subSectionDefinition) == null ? void 0 : _CONSTANTS$format_pan7.line.namespace,
|
|
11402
11372
|
propKey: 'line'
|
|
11403
11373
|
}]
|
|
11404
11374
|
}), namespace(CONSTANTS$n, 'goal_line')];
|
|
@@ -47925,7 +47895,6 @@ var LineChartV2View = function LineChartV2View(props) {
|
|
|
47925
47895
|
overflowX: 'hidden'
|
|
47926
47896
|
},
|
|
47927
47897
|
children: function children(parent) {
|
|
47928
|
-
var _props$attributes$lab;
|
|
47929
47898
|
if (chartRepresentation.lines.length === 0) return jsxRuntime.jsx(LoadingComponent, {});
|
|
47930
47899
|
return jsxRuntime.jsx(LineChart$5, {
|
|
47931
47900
|
width: parent.width,
|
|
@@ -47936,7 +47905,7 @@ var LineChartV2View = function LineChartV2View(props) {
|
|
|
47936
47905
|
removeStroke: false,
|
|
47937
47906
|
showRoundedTotal: false,
|
|
47938
47907
|
showLegend: props.attributes.legend,
|
|
47939
|
-
showLabels:
|
|
47908
|
+
showLabels: false,
|
|
47940
47909
|
axis: {
|
|
47941
47910
|
showXAxisLabels: props.attributes.approxXAxisLabelCount !== 0,
|
|
47942
47911
|
showYAxisLabels: props.attributes.approxYAxisLabelCount !== 0
|
|
@@ -48296,7 +48265,7 @@ var AreaChartV2View = function AreaChartV2View(props) {
|
|
|
48296
48265
|
overflowX: 'hidden'
|
|
48297
48266
|
},
|
|
48298
48267
|
children: function children(parent) {
|
|
48299
|
-
var _props$attributes$vie2, _props$attributes$sta
|
|
48268
|
+
var _props$attributes$vie2, _props$attributes$sta;
|
|
48300
48269
|
if (chartRepresentation.areas.length === 0) return jsxRuntime.jsx(LoadingComponent, {});
|
|
48301
48270
|
return jsxRuntime.jsx(AreaChart$5, {
|
|
48302
48271
|
width: parent.width,
|
|
@@ -48309,7 +48278,7 @@ var AreaChartV2View = function AreaChartV2View(props) {
|
|
|
48309
48278
|
removeStroke: false,
|
|
48310
48279
|
showRoundedTotal: false,
|
|
48311
48280
|
showLegend: props.attributes.legend,
|
|
48312
|
-
showLabels:
|
|
48281
|
+
showLabels: false,
|
|
48313
48282
|
axis: {
|
|
48314
48283
|
showXAxisLabels: props.attributes.approxXAxisLabelCount !== 0,
|
|
48315
48284
|
showYAxisLabels: props.attributes.approxYAxisLabelCount !== 0
|
|
@@ -48691,7 +48660,6 @@ var BarChartV2View = function BarChartV2View(props) {
|
|
|
48691
48660
|
overflowX: 'hidden'
|
|
48692
48661
|
},
|
|
48693
48662
|
children: function children(parent) {
|
|
48694
|
-
var _props$attributes$lab;
|
|
48695
48663
|
if (chartRepresentation.bars.length === 0) return jsxRuntime.jsx(LoadingComponent, {});
|
|
48696
48664
|
return jsxRuntime.jsx(BarChart$5, {
|
|
48697
48665
|
width: parent.width,
|
|
@@ -48702,7 +48670,7 @@ var BarChartV2View = function BarChartV2View(props) {
|
|
|
48702
48670
|
removeStroke: false,
|
|
48703
48671
|
showRoundedTotal: false,
|
|
48704
48672
|
showLegend: props.attributes.legend,
|
|
48705
|
-
showLabels:
|
|
48673
|
+
showLabels: false,
|
|
48706
48674
|
axis: {
|
|
48707
48675
|
showXAxisLabels: props.attributes.approxXAxisLabelCount !== 0,
|
|
48708
48676
|
showYAxisLabels: props.attributes.approxYAxisLabelCount !== 0
|
|
@@ -49380,7 +49348,7 @@ var ComboChartViewV2 = function ComboChartViewV2(props) {
|
|
|
49380
49348
|
overflowX: 'hidden'
|
|
49381
49349
|
},
|
|
49382
49350
|
children: function children(parent) {
|
|
49383
|
-
var _props$attributes$sta2
|
|
49351
|
+
var _props$attributes$sta2;
|
|
49384
49352
|
var numberOfXTicksFittingIntoSpace = howManyTicksFitInWidth(comboChartRepresentation.x.ticks || [], parent.width);
|
|
49385
49353
|
return jsxRuntime.jsx(ComboChart$4, {
|
|
49386
49354
|
width: parent.width,
|
|
@@ -49398,7 +49366,7 @@ var ComboChartViewV2 = function ComboChartViewV2(props) {
|
|
|
49398
49366
|
removeStroke: false,
|
|
49399
49367
|
showRoundedTotal: false,
|
|
49400
49368
|
showLegend: props.attributes.legend,
|
|
49401
|
-
showLabels:
|
|
49369
|
+
showLabels: false,
|
|
49402
49370
|
axis: {
|
|
49403
49371
|
showXAxisLabels: props.attributes.approxXAxisLabelCount !== 0,
|
|
49404
49372
|
showYAxisLabels: props.attributes.approxYAxisLabelCount !== 0
|
|
@@ -51952,7 +51920,7 @@ var defaultProps$8 = {
|
|
|
51952
51920
|
approxYAxisLabelCount: 'auto'
|
|
51953
51921
|
};
|
|
51954
51922
|
var FunnelChartView = function FunnelChartView(props) {
|
|
51955
|
-
var _props$library, _props2, _props3, _props4, _props5, _props6, _props7, _props$viewId, _props8, _props$library2, _props9, _props10, _props11, _theme$charts, _props13,
|
|
51923
|
+
var _props$library, _props2, _props3, _props4, _props5, _props6, _props7, _props$viewId, _props8, _props$library2, _props9, _props10, _props11, _theme$charts, _props13, _props14, _props$viewId2, _theme$charts2;
|
|
51956
51924
|
var _props = props,
|
|
51957
51925
|
displayTitle = _props.displayTitle,
|
|
51958
51926
|
displaySubject = _props.displaySubject;
|
|
@@ -52043,11 +52011,11 @@ var FunnelChartView = function FunnelChartView(props) {
|
|
|
52043
52011
|
colors: themeToColorScale(theme == null ? void 0 : theme.colors, series$1.length),
|
|
52044
52012
|
data: resultSet$1,
|
|
52045
52013
|
legend: showLegend((_props13 = props) == null ? void 0 : _props13.legend, (theme == null ? void 0 : theme.detail) === 'verbose'),
|
|
52046
|
-
labels:
|
|
52014
|
+
labels: false,
|
|
52047
52015
|
removeStroke: false,
|
|
52048
52016
|
forceXAxisAsTime: !!props.timeDimension,
|
|
52049
52017
|
theme: theme == null ? void 0 : theme.charts,
|
|
52050
|
-
axisTitles: (
|
|
52018
|
+
axisTitles: (_props14 = props) == null ? void 0 : _props14.axisTitles,
|
|
52051
52019
|
formatSeriesName: formatSeriesName(props.result, textOverride, props.type, (_props$viewId2 = props.viewId) != null ? _props$viewId2 : '', labelFormat),
|
|
52052
52020
|
conditionalFormattingPossibilities: function conditionalFormattingPossibilities(dataKey) {
|
|
52053
52021
|
return getExplanationsOfConditionFormattingRulesThatApplyToSeries(props.dimension, props.conditionalFormattingRules,
|
|
@@ -54266,7 +54234,6 @@ var WaterfallChartView = function WaterfallChartView(props) {
|
|
|
54266
54234
|
displayTitle = props.displayTitle,
|
|
54267
54235
|
headline = props.headline,
|
|
54268
54236
|
id = props.id,
|
|
54269
|
-
labels = props.labels,
|
|
54270
54237
|
legend = props.legend,
|
|
54271
54238
|
library = props.library,
|
|
54272
54239
|
localFilters = props.localFilters,
|
|
@@ -54374,7 +54341,7 @@ var WaterfallChartView = function WaterfallChartView(props) {
|
|
|
54374
54341
|
height: parent.height,
|
|
54375
54342
|
options: {
|
|
54376
54343
|
showLegend: showLegend(legend, (theme == null ? void 0 : theme.detail) === 'verbose'),
|
|
54377
|
-
showLabels:
|
|
54344
|
+
showLabels: false,
|
|
54378
54345
|
showTooltipRoundedTotal: true,
|
|
54379
54346
|
removeStroke: false,
|
|
54380
54347
|
axis: {
|
|
@@ -72288,8 +72255,6 @@ var getInMemoryDb = function getInMemoryDb() {
|
|
|
72288
72255
|
// @ts-ignore
|
|
72289
72256
|
var InMemoryDb = window.VizzlyInMemoryDb;
|
|
72290
72257
|
if (!InMemoryDb) throw new MissingVizzlyInMemoryDb("VizzlyInMemoryDb missing! This means that 'window.VizzlyInMemoryDb' was not set. This is required for the in-browser vizzly setup.\n\nPlease ensure you have added the script tag to load the in-browser query engine.\n\nFor example, this should be added within the <head> tag;\n<script src=\"https://static.app.vizzly.co/query-engine/0.8.29/vizzly-in-memory-db.umd.js\"></script>\n\nNote, you can change the version of the in-memory database by changing '0.8.3' to the version you require.\n");
|
|
72291
|
-
|
|
72292
|
-
// @ts-ignore
|
|
72293
72258
|
return InMemoryDb;
|
|
72294
72259
|
};
|
|
72295
72260
|
|
|
@@ -73027,8 +72992,6 @@ var VizzlyServices = /*#__PURE__*/function () {
|
|
|
73027
72992
|
case 9:
|
|
73028
72993
|
return _context5.abrupt("return", saved.body);
|
|
73029
72994
|
case 10:
|
|
73030
|
-
return _context5.abrupt("return", undefined);
|
|
73031
|
-
case 11:
|
|
73032
72995
|
case "end":
|
|
73033
72996
|
return _context5.stop();
|
|
73034
72997
|
}
|
|
@@ -73328,8 +73291,6 @@ var VizzlyServices = /*#__PURE__*/function () {
|
|
|
73328
73291
|
_context12.t0 = _context12["catch"](0);
|
|
73329
73292
|
logError('Error updating global library:', _context12.t0);
|
|
73330
73293
|
case 12:
|
|
73331
|
-
return _context12.abrupt("return", undefined);
|
|
73332
|
-
case 13:
|
|
73333
73294
|
case "end":
|
|
73334
73295
|
return _context12.stop();
|
|
73335
73296
|
}
|