@cdc/chart 4.25.8 → 4.25.10
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/.claude/settings.local.json +9 -0
- package/dist/cdcchart.js +37524 -35243
- package/examples/feature/__data__/planet-example-data.json +0 -30
- package/examples/grouped-bar-test.json +400 -0
- package/examples/private/d.json +382 -0
- package/examples/private/example-2.json +49784 -0
- package/examples/private/f2.json +1 -0
- package/examples/private/f4.json +1577 -0
- package/examples/private/forecast.json +1180 -0
- package/examples/private/lollipop.json +468 -0
- package/examples/private/new.json +48756 -0
- package/examples/private/pie-chart-legend.json +904 -0
- package/examples/suppressed_tooltip.json +480 -0
- package/index.html +10 -22
- package/package.json +25 -7
- package/src/CdcChart.tsx +1 -2
- package/src/CdcChartComponent.tsx +174 -32
- package/src/_stories/Chart.Anchors.stories.tsx +2 -2
- package/src/_stories/Chart.BoxPlot.stories.tsx +1 -1
- package/src/_stories/Chart.CI.stories.tsx +1 -1
- package/src/_stories/Chart.CustomColors.stories.tsx +1 -1
- package/src/_stories/Chart.DynamicSeries.stories.tsx +2 -2
- package/src/_stories/Chart.Filters.stories.tsx +2 -2
- package/src/_stories/Chart.Legend.Gradient.stories.tsx +2 -2
- package/src/_stories/Chart.Patterns.stories.tsx +19 -0
- package/src/_stories/Chart.ScatterPlot.stories.tsx +1 -1
- package/src/_stories/Chart.stories.tsx +8 -5
- package/src/_stories/Chart.tooltip.stories.tsx +1 -1
- package/src/_stories/ChartAnnotation.stories.tsx +1 -1
- package/src/_stories/ChartAxisLabels.stories.tsx +2 -2
- package/src/_stories/ChartAxisTitles.stories.tsx +2 -2
- package/src/_stories/ChartEditor.stories.tsx +60 -60
- package/src/_stories/ChartLine.Suppression.stories.tsx +1 -1
- package/src/_stories/ChartLine.Symbols.stories.tsx +1 -1
- package/src/_stories/ChartPrefixSuffix.stories.tsx +2 -2
- package/src/_stories/_mock/stacked-pattern-test.json +520 -0
- package/src/components/Annotations/components/AnnotationDraggable.tsx +1 -0
- package/src/components/Annotations/components/AnnotationDropdown.tsx +1 -1
- package/src/components/BarChart/components/BarChart.Horizontal.tsx +159 -20
- package/src/components/BarChart/components/BarChart.StackedHorizontal.tsx +138 -5
- package/src/components/BarChart/components/BarChart.StackedVertical.tsx +215 -73
- package/src/components/BarChart/components/BarChart.Vertical.tsx +153 -21
- package/src/components/BarChart/helpers/index.ts +43 -4
- package/src/components/BarChart/helpers/lollipopColors.ts +27 -0
- package/src/components/BarChart/helpers/useBarChart.ts +25 -3
- package/src/components/BoxPlot/BoxPlot.Vertical.tsx +2 -1
- package/src/components/DeviationBar.jsx +9 -6
- package/src/components/EditorPanel/EditorPanel.tsx +364 -39
- package/src/components/EditorPanel/EditorPanelContext.ts +3 -0
- package/src/components/EditorPanel/components/Panels/Panel.PatternSettings.tsx +414 -0
- package/src/components/EditorPanel/components/Panels/Panel.Series.tsx +28 -20
- package/src/components/EditorPanel/components/Panels/Panel.Visual.tsx +115 -120
- package/src/components/EditorPanel/components/Panels/index.tsx +3 -1
- package/src/components/EditorPanel/components/Panels/panelVisual.styles.css +0 -8
- package/src/components/EditorPanel/helpers/updateFieldRankByValue.ts +49 -48
- package/src/components/Forecasting/Forecasting.tsx +36 -6
- package/src/components/ForestPlot/ForestPlot.tsx +11 -7
- package/src/components/ForestPlot/ForestPlotProps.ts +1 -1
- package/src/components/Legend/Legend.Component.tsx +106 -13
- package/src/components/Legend/helpers/createFormatLabels.tsx +230 -171
- package/src/components/LegendWrapper.tsx +1 -1
- package/src/components/LineChart/components/LineChart.Circle.tsx +2 -2
- package/src/components/LineChart/index.tsx +2 -2
- package/src/components/LinearChart.tsx +22 -5
- package/src/components/PairedBarChart.jsx +6 -4
- package/src/components/PieChart/PieChart.tsx +170 -54
- package/src/components/Sankey/components/Sankey.tsx +7 -1
- package/src/components/ScatterPlot/ScatterPlot.jsx +32 -4
- package/src/data/initial-state.js +315 -293
- package/src/helpers/buildForecastPaletteMappings.ts +112 -0
- package/src/helpers/buildForecastPaletteOptions.ts +109 -0
- package/src/helpers/getColorScale.ts +72 -8
- package/src/helpers/getNewRuntime.ts +1 -1
- package/src/helpers/getTransformedData.ts +1 -1
- package/src/hooks/useChartHoverAnalytics.tsx +44 -0
- package/src/hooks/useReduceData.ts +105 -70
- package/src/hooks/useTooltip.tsx +57 -15
- package/src/index.jsx +0 -2
- package/src/scss/main.scss +12 -0
- package/src/store/chart.reducer.ts +1 -1
- package/src/test/CdcChart.test.jsx +8 -3
- package/src/types/ChartConfig.ts +30 -6
- package/src/types/ChartContext.ts +1 -0
- package/vite.config.js +1 -1
- package/vitest.config.ts +16 -0
- package/src/coreStyles_chart.scss +0 -3
- package/src/helpers/configHelpers.ts +0 -28
- package/src/helpers/generateColorsArray.ts +0 -8
- package/src/hooks/useColorPalette.js +0 -76
|
@@ -1,312 +1,334 @@
|
|
|
1
|
-
|
|
2
|
-
annotations: [],
|
|
3
|
-
allowLineToBarGraph: undefined,
|
|
4
|
-
type: 'chart',
|
|
5
|
-
debugSvg: false,
|
|
6
|
-
chartMessage: {
|
|
7
|
-
noData: 'No Data Available'
|
|
8
|
-
},
|
|
9
|
-
title: '',
|
|
10
|
-
showTitle: true,
|
|
11
|
-
showDownloadMediaButton: false,
|
|
12
|
-
theme: 'theme-blue',
|
|
13
|
-
animate: false,
|
|
14
|
-
lineDatapointStyle: 'hover',
|
|
15
|
-
lineDatapointColor: 'Same as Line',
|
|
16
|
-
barHasBorder: 'true',
|
|
17
|
-
isLollipopChart: false,
|
|
18
|
-
lollipopShape: 'circle',
|
|
19
|
-
lollipopColorStyle: 'two-tone',
|
|
20
|
-
visualizationSubType: 'regular',
|
|
21
|
-
barStyle: '',
|
|
22
|
-
roundingStyle: 'standard',
|
|
23
|
-
tipRounding: 'top',
|
|
24
|
-
isResponsiveTicks: false,
|
|
25
|
-
general: {
|
|
26
|
-
annotationDropdownText: 'Annotations',
|
|
27
|
-
showMissingDataLabel: true,
|
|
28
|
-
showSuppressedSymbol: true,
|
|
29
|
-
showZeroValueData: true,
|
|
30
|
-
hideNullValue: true
|
|
31
|
-
},
|
|
32
|
-
padding: {
|
|
33
|
-
left: 5,
|
|
34
|
-
right: 5
|
|
35
|
-
},
|
|
36
|
-
preliminaryData: [],
|
|
37
|
-
yAxis: {
|
|
38
|
-
hideAxis: false,
|
|
39
|
-
displayNumbersOnBar: false,
|
|
40
|
-
hideLabel: false,
|
|
41
|
-
hideTicks: false,
|
|
42
|
-
size: 50,
|
|
43
|
-
gridLines: false,
|
|
44
|
-
enablePadding: false,
|
|
45
|
-
min: '',
|
|
46
|
-
max: '',
|
|
47
|
-
labelColor: '#1c1d1f',
|
|
48
|
-
tickLabelColor: '#1c1d1f',
|
|
49
|
-
tickColor: '#1c1d1f',
|
|
50
|
-
rightHideAxis: false,
|
|
51
|
-
rightAxisSize: 0,
|
|
52
|
-
rightLabel: '',
|
|
53
|
-
rightLabelOffsetSize: 0,
|
|
54
|
-
rightAxisLabelColor: '#1c1d1f',
|
|
55
|
-
rightAxisTickLabelColor: '#1c1d1f',
|
|
56
|
-
rightAxisTickColor: '#1c1d1f',
|
|
57
|
-
numTicks: '',
|
|
58
|
-
axisPadding: 0,
|
|
59
|
-
scalePadding: 10,
|
|
60
|
-
tickRotation: 0,
|
|
61
|
-
anchors: [],
|
|
62
|
-
shoMissingDataLabel: true,
|
|
63
|
-
showMissingDataLine: true,
|
|
64
|
-
categories: []
|
|
65
|
-
},
|
|
66
|
-
boxplot: {
|
|
67
|
-
plots: [],
|
|
68
|
-
borders: 'true',
|
|
69
|
-
plotOutlierValues: false,
|
|
70
|
-
plotNonOutlierValues: true,
|
|
71
|
-
labels: {
|
|
72
|
-
q1: 'Lower Quartile',
|
|
73
|
-
q2: 'q2',
|
|
74
|
-
q3: 'Upper Quartile',
|
|
75
|
-
q4: 'q4',
|
|
76
|
-
minimum: 'Minimum',
|
|
77
|
-
maximum: 'Maximum',
|
|
78
|
-
mean: 'Mean',
|
|
79
|
-
median: 'Median',
|
|
80
|
-
sd: 'Standard Deviation',
|
|
81
|
-
iqr: 'Interquartile Range',
|
|
82
|
-
count: 'Count',
|
|
83
|
-
outliers: 'Outliers',
|
|
84
|
-
values: 'Values',
|
|
85
|
-
lowerBounds: 'Lower Bounds',
|
|
86
|
-
upperBounds: 'Upper Bounds'
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
topAxis: {
|
|
90
|
-
hasLine: false
|
|
91
|
-
},
|
|
1
|
+
import { USE_V2_MIGRATION } from '@cdc/core/helpers/constants'
|
|
92
2
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
targetLabel: 'Target',
|
|
107
|
-
hideAxis: false,
|
|
108
|
-
hideLabel: false,
|
|
109
|
-
hideTicks: false,
|
|
110
|
-
size: 75,
|
|
111
|
-
tickRotation: 0,
|
|
112
|
-
min: '',
|
|
113
|
-
max: '',
|
|
114
|
-
labelColor: '#1c1d1f',
|
|
115
|
-
tickLabelColor: '#1c1d1f',
|
|
116
|
-
tickColor: '#1c1d1f',
|
|
117
|
-
numTicks: '',
|
|
118
|
-
labelOffset: 0,
|
|
119
|
-
axisPadding: 200,
|
|
120
|
-
target: 0,
|
|
121
|
-
maxTickRotation: 0,
|
|
122
|
-
padding: 5,
|
|
123
|
-
showYearsOnce: false,
|
|
124
|
-
sortByRecentDate: false,
|
|
125
|
-
brushActive: false
|
|
126
|
-
},
|
|
127
|
-
table: {
|
|
128
|
-
label: 'Data Table',
|
|
129
|
-
expanded: true,
|
|
130
|
-
limitHeight: false,
|
|
131
|
-
height: '',
|
|
132
|
-
caption: '',
|
|
133
|
-
showDownloadUrl: false,
|
|
134
|
-
showDataTableLink: true,
|
|
135
|
-
showDownloadLinkBelow: true,
|
|
136
|
-
indexLabel: '',
|
|
137
|
-
download: false,
|
|
138
|
-
showVertical: true,
|
|
139
|
-
dateDisplayFormat: '',
|
|
140
|
-
showMissingDataLabel: true,
|
|
141
|
-
showSuppressedSymbol: true,
|
|
142
|
-
collapsible: true
|
|
143
|
-
},
|
|
144
|
-
orientation: 'vertical',
|
|
145
|
-
color: 'pinkpurple',
|
|
146
|
-
columns: {
|
|
147
|
-
// start with a blank list
|
|
148
|
-
},
|
|
149
|
-
legend: {
|
|
150
|
-
hide: false,
|
|
151
|
-
behavior: 'isolate',
|
|
152
|
-
axisAlign: true,
|
|
153
|
-
singleRow: true,
|
|
154
|
-
colorCode: '',
|
|
155
|
-
reverseLabelOrder: false,
|
|
156
|
-
description: '',
|
|
157
|
-
dynamicLegend: false,
|
|
158
|
-
dynamicLegendDefaultText: 'Show All',
|
|
159
|
-
dynamicLegendItemLimit: 5,
|
|
160
|
-
dynamicLegendItemLimitMessage: 'Dynamic Legend Item Limit Hit.',
|
|
161
|
-
dynamicLegendChartMessage: 'Select Options from the Legend',
|
|
162
|
-
label: '',
|
|
163
|
-
lineMode: false,
|
|
164
|
-
verticalSorted: false,
|
|
165
|
-
highlightOnHover: false,
|
|
166
|
-
hideSuppressedLabels: false,
|
|
167
|
-
hideSuppressionLink: false,
|
|
168
|
-
seriesHighlight: [],
|
|
169
|
-
style: 'circles',
|
|
170
|
-
subStyle: 'linear blocks',
|
|
171
|
-
groupBy: '',
|
|
172
|
-
shape: 'circle',
|
|
173
|
-
tickRotation: '',
|
|
174
|
-
order: 'dataColumn',
|
|
175
|
-
hideBorder: {
|
|
176
|
-
side: false,
|
|
177
|
-
topBottom: true
|
|
178
|
-
},
|
|
179
|
-
position: 'right',
|
|
180
|
-
orderedValues: []
|
|
181
|
-
},
|
|
3
|
+
// Dynamic initial state based on migration flag
|
|
4
|
+
const createInitialState = () => {
|
|
5
|
+
const paletteDefaults = USE_V2_MIGRATION
|
|
6
|
+
? {
|
|
7
|
+
isReversed: true,
|
|
8
|
+
version: '2.0',
|
|
9
|
+
name: 'sequential_bluereverse'
|
|
10
|
+
}
|
|
11
|
+
: {
|
|
12
|
+
isReversed: true,
|
|
13
|
+
version: '1.0',
|
|
14
|
+
name: 'qualitative_bold'
|
|
15
|
+
}
|
|
182
16
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
17
|
+
return {
|
|
18
|
+
annotations: [],
|
|
19
|
+
allowLineToBarGraph: undefined,
|
|
20
|
+
type: 'chart',
|
|
21
|
+
debugSvg: false,
|
|
22
|
+
chartMessage: {
|
|
23
|
+
noData: 'No Data Available'
|
|
24
|
+
},
|
|
25
|
+
title: '',
|
|
26
|
+
showTitle: true,
|
|
27
|
+
showDownloadMediaButton: false,
|
|
28
|
+
theme: 'theme-blue',
|
|
29
|
+
animate: false,
|
|
30
|
+
lineDatapointStyle: 'hover',
|
|
31
|
+
lineDatapointColor: 'Same as Line',
|
|
32
|
+
barHasBorder: 'true',
|
|
33
|
+
isLollipopChart: false,
|
|
34
|
+
lollipopShape: 'circle',
|
|
35
|
+
lollipopColorStyle: 'two-tone',
|
|
36
|
+
visualizationSubType: 'regular',
|
|
37
|
+
barStyle: '',
|
|
38
|
+
roundingStyle: 'standard',
|
|
39
|
+
tipRounding: 'top',
|
|
40
|
+
isResponsiveTicks: false,
|
|
41
|
+
general: {
|
|
42
|
+
annotationDropdownText: 'Annotations',
|
|
43
|
+
showMissingDataLabel: true,
|
|
44
|
+
showSuppressedSymbol: true,
|
|
45
|
+
showZeroValueData: true,
|
|
46
|
+
hideNullValue: true,
|
|
47
|
+
palette: paletteDefaults
|
|
48
|
+
},
|
|
49
|
+
padding: {
|
|
50
|
+
left: 5,
|
|
51
|
+
right: 5
|
|
52
|
+
},
|
|
53
|
+
preliminaryData: [],
|
|
54
|
+
yAxis: {
|
|
55
|
+
hideAxis: false,
|
|
56
|
+
displayNumbersOnBar: false,
|
|
57
|
+
hideLabel: false,
|
|
58
|
+
hideTicks: false,
|
|
59
|
+
size: 50,
|
|
60
|
+
gridLines: false,
|
|
61
|
+
enablePadding: false,
|
|
62
|
+
min: '',
|
|
63
|
+
max: '',
|
|
64
|
+
labelColor: '#1c1d1f',
|
|
65
|
+
tickLabelColor: '#1c1d1f',
|
|
66
|
+
tickColor: '#1c1d1f',
|
|
67
|
+
rightHideAxis: false,
|
|
68
|
+
rightAxisSize: 0,
|
|
69
|
+
rightLabel: '',
|
|
70
|
+
rightLabelOffsetSize: 0,
|
|
71
|
+
rightAxisLabelColor: '#1c1d1f',
|
|
72
|
+
rightAxisTickLabelColor: '#1c1d1f',
|
|
73
|
+
rightAxisTickColor: '#1c1d1f',
|
|
74
|
+
numTicks: '',
|
|
75
|
+
axisPadding: 0,
|
|
76
|
+
scalePadding: 10,
|
|
77
|
+
tickRotation: 0,
|
|
78
|
+
anchors: [],
|
|
79
|
+
shoMissingDataLabel: true,
|
|
80
|
+
showMissingDataLine: true,
|
|
81
|
+
categories: []
|
|
228
82
|
},
|
|
229
|
-
|
|
230
|
-
|
|
83
|
+
boxplot: {
|
|
84
|
+
plots: [],
|
|
85
|
+
borders: 'true',
|
|
86
|
+
plotOutlierValues: false,
|
|
87
|
+
plotNonOutlierValues: true,
|
|
88
|
+
labels: {
|
|
89
|
+
q1: 'Lower Quartile',
|
|
90
|
+
q2: 'q2',
|
|
91
|
+
q3: 'Upper Quartile',
|
|
92
|
+
q4: 'q4',
|
|
93
|
+
minimum: 'Minimum',
|
|
94
|
+
maximum: 'Maximum',
|
|
95
|
+
mean: 'Mean',
|
|
96
|
+
median: 'Median',
|
|
97
|
+
sd: 'Standard Deviation',
|
|
98
|
+
iqr: 'Interquartile Range',
|
|
99
|
+
count: 'Count',
|
|
100
|
+
outliers: 'Outliers',
|
|
101
|
+
values: 'Values',
|
|
102
|
+
lowerBounds: 'Lower Bounds',
|
|
103
|
+
upperBounds: 'Upper Bounds'
|
|
104
|
+
}
|
|
231
105
|
},
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
diamondHeight: 5,
|
|
235
|
-
column: ''
|
|
106
|
+
topAxis: {
|
|
107
|
+
hasLine: false
|
|
236
108
|
},
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
109
|
+
|
|
110
|
+
isLegendValue: false,
|
|
111
|
+
barThickness: 0.35,
|
|
112
|
+
barHeight: 25,
|
|
113
|
+
barSpace: 15,
|
|
114
|
+
heights: {
|
|
115
|
+
vertical: 300,
|
|
116
|
+
horizontal: 750
|
|
117
|
+
},
|
|
118
|
+
xAxis: {
|
|
119
|
+
sortDates: false,
|
|
120
|
+
anchors: [],
|
|
121
|
+
type: 'categorical',
|
|
122
|
+
showTargetLabel: true,
|
|
123
|
+
targetLabel: 'Target',
|
|
124
|
+
hideAxis: false,
|
|
125
|
+
hideLabel: false,
|
|
126
|
+
hideTicks: false,
|
|
127
|
+
size: 75,
|
|
128
|
+
tickRotation: 0,
|
|
129
|
+
min: '',
|
|
130
|
+
max: '',
|
|
131
|
+
labelColor: '#1c1d1f',
|
|
132
|
+
tickLabelColor: '#1c1d1f',
|
|
133
|
+
tickColor: '#1c1d1f',
|
|
134
|
+
numTicks: '',
|
|
135
|
+
labelOffset: 0,
|
|
136
|
+
axisPadding: 200,
|
|
137
|
+
target: 0,
|
|
138
|
+
maxTickRotation: 0,
|
|
139
|
+
padding: 5,
|
|
140
|
+
showYearsOnce: false,
|
|
141
|
+
sortByRecentDate: false,
|
|
142
|
+
brushActive: false
|
|
245
143
|
},
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
144
|
+
table: {
|
|
145
|
+
label: 'Data Table',
|
|
146
|
+
expanded: true,
|
|
147
|
+
limitHeight: false,
|
|
148
|
+
height: '',
|
|
149
|
+
caption: '',
|
|
150
|
+
showDownloadUrl: false,
|
|
151
|
+
showDataTableLink: true,
|
|
152
|
+
showDownloadLinkBelow: true,
|
|
153
|
+
indexLabel: '',
|
|
154
|
+
download: false,
|
|
155
|
+
showVertical: true,
|
|
156
|
+
dateDisplayFormat: '',
|
|
157
|
+
showMissingDataLabel: true,
|
|
158
|
+
showSuppressedSymbol: true,
|
|
159
|
+
collapsible: true
|
|
250
160
|
},
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
161
|
+
orientation: 'vertical',
|
|
162
|
+
color: 'qualitative-bold',
|
|
163
|
+
columns: {
|
|
164
|
+
// start with a blank list
|
|
255
165
|
},
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
166
|
+
legend: {
|
|
167
|
+
hide: false,
|
|
168
|
+
behavior: 'isolate',
|
|
169
|
+
axisAlign: true,
|
|
170
|
+
singleRow: true,
|
|
171
|
+
colorCode: '',
|
|
172
|
+
reverseLabelOrder: false,
|
|
173
|
+
description: '',
|
|
174
|
+
dynamicLegend: false,
|
|
175
|
+
dynamicLegendDefaultText: 'Show All',
|
|
176
|
+
dynamicLegendItemLimit: 5,
|
|
177
|
+
dynamicLegendItemLimitMessage: 'Dynamic Legend Item Limit Hit.',
|
|
178
|
+
dynamicLegendChartMessage: 'Select Options from the Legend',
|
|
179
|
+
label: '',
|
|
180
|
+
lineMode: false,
|
|
181
|
+
verticalSorted: false,
|
|
182
|
+
highlightOnHover: false,
|
|
183
|
+
hideSuppressedLabels: false,
|
|
184
|
+
hideSuppressionLink: false,
|
|
185
|
+
seriesHighlight: [],
|
|
186
|
+
style: 'circles',
|
|
187
|
+
subStyle: 'linear blocks',
|
|
188
|
+
groupBy: '',
|
|
189
|
+
shape: 'circle',
|
|
190
|
+
tickRotation: '',
|
|
191
|
+
order: 'dataColumn',
|
|
192
|
+
hideBorder: {
|
|
193
|
+
side: false,
|
|
194
|
+
topBottom: true
|
|
195
|
+
},
|
|
196
|
+
position: 'right',
|
|
197
|
+
orderedValues: [],
|
|
198
|
+
patterns: {},
|
|
199
|
+
patternField: ''
|
|
260
200
|
},
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
rightLabel: ''
|
|
266
|
-
},
|
|
267
|
-
area: {
|
|
268
|
-
isStacked: false
|
|
269
|
-
},
|
|
270
|
-
sankey: {
|
|
271
|
-
title: {
|
|
272
|
-
defaultColor: 'black'
|
|
201
|
+
|
|
202
|
+
exclusions: {
|
|
203
|
+
active: false,
|
|
204
|
+
keys: []
|
|
273
205
|
},
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
width: 900,
|
|
278
|
-
height: 700
|
|
206
|
+
twoColor: {
|
|
207
|
+
palette: 'monochrome-1',
|
|
208
|
+
isPaletteReversed: false
|
|
279
209
|
},
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
210
|
+
labels: false,
|
|
211
|
+
dataFormat: {
|
|
212
|
+
commas: false,
|
|
213
|
+
prefix: '',
|
|
214
|
+
suffix: '',
|
|
215
|
+
abbreviated: false,
|
|
216
|
+
bottomSuffix: '',
|
|
217
|
+
bottomPrefix: '',
|
|
218
|
+
bottomAbbreviated: false
|
|
283
219
|
},
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
220
|
+
filters: [],
|
|
221
|
+
confidenceKeys: {},
|
|
222
|
+
visual: {
|
|
223
|
+
border: true,
|
|
224
|
+
accent: true,
|
|
225
|
+
background: true,
|
|
226
|
+
verticalHoverLine: false,
|
|
227
|
+
horizontalHoverLine: false,
|
|
228
|
+
lineDatapointSymbol: 'none',
|
|
229
|
+
maximumShapeAmount: 7
|
|
287
230
|
},
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
231
|
+
useLogScale: false,
|
|
232
|
+
filterBehavior: 'Filter Change',
|
|
233
|
+
highlightedBarValues: [],
|
|
234
|
+
series: [],
|
|
235
|
+
tooltips: {
|
|
236
|
+
opacity: 90,
|
|
237
|
+
singleSeries: false,
|
|
238
|
+
dateDisplayFormat: ''
|
|
293
239
|
},
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
240
|
+
forestPlot: {
|
|
241
|
+
startAt: 0,
|
|
242
|
+
colors: {
|
|
243
|
+
line: '',
|
|
244
|
+
shape: ''
|
|
245
|
+
},
|
|
246
|
+
lineOfNoEffect: {
|
|
247
|
+
show: true
|
|
248
|
+
},
|
|
249
|
+
type: '',
|
|
250
|
+
pooledResult: {
|
|
251
|
+
diamondHeight: 5,
|
|
252
|
+
column: ''
|
|
253
|
+
},
|
|
254
|
+
estimateField: '',
|
|
255
|
+
estimateRadius: '',
|
|
256
|
+
shape: 'square',
|
|
257
|
+
rowHeight: 20,
|
|
258
|
+
description: {
|
|
259
|
+
show: true,
|
|
260
|
+
text: 'description',
|
|
261
|
+
location: 0
|
|
262
|
+
},
|
|
263
|
+
result: {
|
|
264
|
+
show: true,
|
|
265
|
+
text: 'result',
|
|
266
|
+
location: 100
|
|
267
|
+
},
|
|
268
|
+
radius: {
|
|
269
|
+
min: 2,
|
|
270
|
+
max: 10,
|
|
271
|
+
scalingColumn: ''
|
|
272
|
+
},
|
|
273
|
+
regression: {
|
|
274
|
+
lower: 0,
|
|
275
|
+
upper: 0,
|
|
276
|
+
estimateField: 0
|
|
277
|
+
},
|
|
278
|
+
leftWidthOffset: 0,
|
|
279
|
+
rightWidthOffset: 0,
|
|
280
|
+
showZeroLine: false,
|
|
281
|
+
leftLabel: '',
|
|
282
|
+
rightLabel: ''
|
|
297
283
|
},
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
nodeOpacityInactive: 0.1,
|
|
301
|
-
LinkOpacityDefault: 1.0,
|
|
302
|
-
LinkOpacityInactive: 0.1
|
|
284
|
+
area: {
|
|
285
|
+
isStacked: false
|
|
303
286
|
},
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
287
|
+
sankey: {
|
|
288
|
+
title: {
|
|
289
|
+
defaultColor: 'black'
|
|
290
|
+
},
|
|
291
|
+
iterations: 1,
|
|
292
|
+
rxValue: 0.9,
|
|
293
|
+
overallSize: {
|
|
294
|
+
width: 900,
|
|
295
|
+
height: 700
|
|
296
|
+
},
|
|
297
|
+
margin: {
|
|
298
|
+
margin_y: 25,
|
|
299
|
+
margin_x: 0
|
|
300
|
+
},
|
|
301
|
+
nodeSize: {
|
|
302
|
+
nodeWidth: 26,
|
|
303
|
+
nodeHeight: 40
|
|
304
|
+
},
|
|
305
|
+
nodePadding: 55,
|
|
306
|
+
nodeFontColor: 'black',
|
|
307
|
+
nodeColor: {
|
|
308
|
+
default: '#ff8500',
|
|
309
|
+
inactive: '#808080'
|
|
310
|
+
},
|
|
311
|
+
linkColor: {
|
|
312
|
+
default: '#ffc900',
|
|
313
|
+
inactive: '#D3D3D3'
|
|
314
|
+
},
|
|
315
|
+
opacity: {
|
|
316
|
+
nodeOpacityDefault: 1.0,
|
|
317
|
+
nodeOpacityInactive: 0.1,
|
|
318
|
+
LinkOpacityDefault: 1.0,
|
|
319
|
+
LinkOpacityInactive: 0.1
|
|
320
|
+
},
|
|
321
|
+
storyNodeFontColor: '#006778',
|
|
322
|
+
storyNodeText: [],
|
|
323
|
+
nodeValueStyle: {
|
|
324
|
+
textBefore: '(',
|
|
325
|
+
textAfter: ')'
|
|
326
|
+
},
|
|
327
|
+
data: []
|
|
309
328
|
},
|
|
310
|
-
|
|
329
|
+
markupVariables: [],
|
|
330
|
+
enableMarkupVariables: false
|
|
311
331
|
}
|
|
312
332
|
}
|
|
333
|
+
|
|
334
|
+
export default createInitialState()
|