@cdc/chart 4.23.10 → 4.24.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/dist/cdcchart.js +34606 -32218
  2. package/examples/feature/bar/additional-column-tooltip.json +446 -0
  3. package/examples/feature/bar/example-bar-chart.json +1 -46
  4. package/examples/feature/bar/lollipop.json +156 -0
  5. package/examples/feature/bar/tall-data.json +98 -0
  6. package/examples/feature/combo/planet-combo-example-config.json +99 -9
  7. package/examples/feature/dev-4261.json +399 -0
  8. package/examples/feature/forest-plot/forest-plot.json +63 -19
  9. package/examples/feature/forest-plot/{broken.json → linear.json} +77 -23
  10. package/examples/feature/forest-plot/log.json +26 -0
  11. package/examples/feature/forest-plot/logarithmic.json +271 -0
  12. package/examples/feature/line/line-chart-preliminary.json +346 -0
  13. package/examples/feature/line/line-points.json +340 -0
  14. package/examples/feature/regions/index.json +462 -0
  15. package/examples/feature/scatterplot/scatterplot.json +272 -33
  16. package/examples/gallery/bar-chart-vertical/combo-line-chart.json +181 -48
  17. package/examples/private/chart-t.json +3740 -0
  18. package/examples/private/combo.json +369 -0
  19. package/examples/private/epi-data.csv +13 -0
  20. package/examples/private/epi-data.json +62 -0
  21. package/examples/private/epi.json +403 -0
  22. package/examples/private/occupancy.json +109283 -0
  23. package/examples/private/prod-line-config.json +401 -0
  24. package/examples/private/region-data.json +822 -0
  25. package/examples/private/region-testing.json +312 -0
  26. package/examples/private/scaling.json +45325 -0
  27. package/examples/private/testing-data.json +1739 -0
  28. package/examples/private/testing.json +816 -0
  29. package/examples/sparkline-multilple.json +846 -0
  30. package/index.html +12 -8
  31. package/package.json +3 -3
  32. package/src/CdcChart.tsx +42 -211
  33. package/src/ConfigContext.tsx +6 -0
  34. package/src/_stories/Chart.stories.tsx +188 -0
  35. package/src/_stories/Chart.tooltip.stories.tsx +305 -0
  36. package/src/_stories/ChartBrush.stories.tsx +19 -0
  37. package/src/_stories/ChartEditor.stories.tsx +22 -0
  38. package/src/_stories/ChartLine.preliminary.tsx +19 -0
  39. package/src/_stories/ChartSuppress.stories.tsx +19 -0
  40. package/src/_stories/_mock/brush_mock.json +393 -0
  41. package/src/_stories/_mock/pie_config.json +191 -0
  42. package/src/_stories/_mock/pie_data.json +218 -0
  43. package/src/_stories/_mock/preliminary_mock.json +346 -0
  44. package/src/_stories/_mock/suppress_mock.json +911 -0
  45. package/src/components/{AreaChart.Stacked.jsx → AreaChart/components/AreaChart.Stacked.jsx} +6 -7
  46. package/src/components/{AreaChart.jsx → AreaChart/components/AreaChart.jsx} +7 -36
  47. package/src/components/AreaChart/index.tsx +4 -0
  48. package/src/components/{BarChart.Horizontal.jsx → BarChart/components/BarChart.Horizontal.tsx} +111 -34
  49. package/src/components/{BarChart.StackedHorizontal.jsx → BarChart/components/BarChart.StackedHorizontal.tsx} +55 -20
  50. package/src/components/BarChart/components/BarChart.StackedVertical.tsx +106 -0
  51. package/src/components/{BarChart.Vertical.jsx → BarChart/components/BarChart.Vertical.tsx} +162 -34
  52. package/src/components/BarChart/components/BarChart.jsx +39 -0
  53. package/src/components/{BarChartType.jsx → BarChart/components/BarChartType.jsx} +0 -2
  54. package/src/components/BarChart/components/context.tsx +13 -0
  55. package/src/components/BarChart/index.tsx +3 -0
  56. package/src/components/{BoxPlot.jsx → BoxPlot/BoxPlot.jsx} +1 -1
  57. package/src/components/BoxPlot/index.tsx +3 -0
  58. package/src/components/DeviationBar.jsx +4 -3
  59. package/src/components/{EditorPanel.jsx → EditorPanel/EditorPanel.tsx} +807 -865
  60. package/src/components/EditorPanel/components/Panel.DateHighlighting.tsx +109 -0
  61. package/src/components/{ForestPlotSettings.jsx → EditorPanel/components/Panel.ForestPlotSettings.tsx} +190 -220
  62. package/src/components/EditorPanel/components/Panel.Regions.tsx +168 -0
  63. package/src/components/{Series.jsx → EditorPanel/components/Panel.Series.tsx} +23 -4
  64. package/src/components/EditorPanel/components/PanelProps.ts +3 -0
  65. package/src/components/EditorPanel/components/Panels.tsx +13 -0
  66. package/src/components/EditorPanel/components/panels.scss +72 -0
  67. package/src/components/EditorPanel/editor-panel.scss +751 -0
  68. package/src/components/EditorPanel/index.tsx +3 -0
  69. package/src/{hooks → components/EditorPanel}/useEditorPermissions.js +50 -5
  70. package/src/components/{Forecasting.jsx → Forecasting/Forecasting.jsx} +1 -1
  71. package/src/components/Forecasting/index.tsx +3 -0
  72. package/src/components/ForestPlot/ForestPlot.tsx +254 -0
  73. package/src/components/ForestPlot/ForestPlotProps.ts +18 -0
  74. package/src/components/ForestPlot/index.scss +1 -0
  75. package/src/components/ForestPlot/index.tsx +3 -0
  76. package/src/components/Legend/Legend.tsx +347 -0
  77. package/src/components/Legend/index.tsx +3 -0
  78. package/src/components/LineChart/LineChartProps.ts +46 -0
  79. package/src/components/{LineChart.Circle.tsx → LineChart/components/LineChart.Circle.tsx} +36 -30
  80. package/src/components/LineChart/helpers.ts +45 -0
  81. package/src/components/LineChart/index.scss +1 -0
  82. package/src/components/{LineChart.tsx → LineChart/index.tsx} +83 -42
  83. package/src/components/LinearChart.jsx +125 -82
  84. package/src/components/PairedBarChart.jsx +2 -2
  85. package/src/components/{PieChart.jsx → PieChart/PieChart.tsx} +16 -7
  86. package/src/components/PieChart/index.tsx +3 -0
  87. package/src/components/Regions/components/Regions.tsx +135 -0
  88. package/src/components/Regions/index.tsx +3 -0
  89. package/src/components/{ScatterPlot.jsx → ScatterPlot/ScatterPlot.jsx} +3 -3
  90. package/src/components/ScatterPlot/index.tsx +3 -0
  91. package/src/components/{SparkLine.jsx → Sparkline/SparkLine.jsx} +2 -2
  92. package/src/components/Sparkline/index.tsx +3 -0
  93. package/src/components/ZoomBrush.tsx +168 -0
  94. package/src/data/initial-state.js +30 -16
  95. package/src/helpers/abbreviateNumber.ts +17 -0
  96. package/src/helpers/computeMarginBottom.ts +55 -0
  97. package/src/helpers/filterData.ts +18 -0
  98. package/src/helpers/generateColorsArray.ts +8 -0
  99. package/src/helpers/getQuartiles.ts +30 -0
  100. package/src/helpers/handleChartAriaLabels.ts +19 -0
  101. package/src/helpers/handleLineType.ts +18 -0
  102. package/src/helpers/lineOptions.ts +18 -0
  103. package/src/helpers/sort.ts +7 -0
  104. package/src/helpers/tests/computeMarginBottom.test.ts +20 -0
  105. package/src/hooks/useBarChart.js +72 -7
  106. package/src/hooks/useColorScale.ts +50 -0
  107. package/src/hooks/{useMinMax.js → useMinMax.ts} +75 -23
  108. package/src/hooks/{useRightAxis.js → useRightAxis.ts} +10 -2
  109. package/src/hooks/{useScales.js → useScales.ts} +64 -17
  110. package/src/hooks/{useTooltip.jsx → useTooltip.tsx} +84 -55
  111. package/src/scss/main.scss +70 -38
  112. package/src/types/ChartConfig.ts +178 -0
  113. package/src/types/ChartContext.ts +54 -0
  114. package/src/types/ForestPlot.ts +53 -0
  115. package/examples/feature/scatterplot/scatterplot-continuous.csv +0 -17
  116. package/src/ConfigContext.jsx +0 -5
  117. package/src/components/BarChart.StackedVertical.jsx +0 -95
  118. package/src/components/BarChart.jsx +0 -30
  119. package/src/components/ForestPlot.jsx +0 -191
  120. package/src/components/Legend.jsx +0 -277
  121. package/src/scss/LinearChart.scss +0 -0
  122. package/src/scss/editor-panel.scss +0 -745
  123. package/src/scss/legend.scss +0 -206
  124. package/src/scss/mixins.scss +0 -0
  125. package/src/scss/variables.scss +0 -1
@@ -0,0 +1,346 @@
1
+ {
2
+ "type": "chart",
3
+ "debugSvg": false,
4
+ "chartMessage": {
5
+ "noData": "No Data Available"
6
+ },
7
+ "title": "Example Stacked Bar Chart",
8
+ "showTitle": true,
9
+ "showDownloadMediaButton": false,
10
+ "theme": "theme-orange",
11
+ "animate": false,
12
+ "fontSize": "medium",
13
+ "lineDatapointStyle": "hover",
14
+ "lineDatapointColor": "Same as Line",
15
+ "barHasBorder": "false",
16
+ "isLollipopChart": false,
17
+ "lollipopShape": "circle",
18
+ "lollipopColorStyle": "two-tone",
19
+ "visualizationSubType": "stacked",
20
+ "barStyle": "",
21
+ "roundingStyle": "standard",
22
+ "tipRounding": "top",
23
+ "isResponsiveTicks": false,
24
+ "general": {
25
+ "showDownloadButton": false
26
+ },
27
+ "padding": {
28
+ "left": 5,
29
+ "right": 5
30
+ },
31
+ "suppressedData": [],
32
+ "preliminaryData": [
33
+ {
34
+ "type": "effect",
35
+ "label": "Cricle 1",
36
+ "column": "Data 2",
37
+ "value": "20",
38
+ "style": "Open Circles",
39
+ "seriesKey": "Data 1"
40
+ },
41
+ {
42
+ "type": "",
43
+ "label": "Cricle 2",
44
+ "column": "Data 3",
45
+ "value": "20",
46
+ "style": "Open Circles",
47
+ "seriesKey": "Data 1"
48
+ },
49
+ {
50
+ "type": "effect",
51
+ "label": "circle 3",
52
+ "column": "Data 2",
53
+ "value": "30",
54
+ "style": "Open Circles",
55
+ "seriesKey": "Data 1"
56
+ }
57
+ ],
58
+ "yAxis": {
59
+ "hideAxis": false,
60
+ "displayNumbersOnBar": false,
61
+ "hideLabel": false,
62
+ "hideTicks": false,
63
+ "size": "64",
64
+ "gridLines": false,
65
+ "enablePadding": false,
66
+ "min": "",
67
+ "max": "",
68
+ "labelColor": "#333",
69
+ "tickLabelColor": "#333",
70
+ "tickColor": "#333",
71
+ "rightHideAxis": true,
72
+ "rightAxisSize": 0,
73
+ "rightLabel": "",
74
+ "rightLabelOffsetSize": 0,
75
+ "rightAxisLabelColor": "#333",
76
+ "rightAxisTickLabelColor": "#333",
77
+ "rightAxisTickColor": "#333",
78
+ "numTicks": "",
79
+ "axisPadding": 0,
80
+ "tickRotation": 0,
81
+ "anchors": [],
82
+ "label": "Y-Axis Label Example"
83
+ },
84
+ "boxplot": {
85
+ "plots": [],
86
+ "borders": "true",
87
+ "firstQuartilePercentage": 25,
88
+ "thirdQuartilePercentage": 75,
89
+ "boxWidthPercentage": 40,
90
+ "plotOutlierValues": false,
91
+ "plotNonOutlierValues": true,
92
+ "legend": {
93
+ "showHowToReadText": false,
94
+ "howToReadText": ""
95
+ },
96
+ "labels": {
97
+ "q1": "Lower Quartile",
98
+ "q2": "q2",
99
+ "q3": "Upper Quartile",
100
+ "q4": "q4",
101
+ "minimum": "Minimum",
102
+ "maximum": "Maximum",
103
+ "mean": "Mean",
104
+ "median": "Median",
105
+ "sd": "Standard Deviation",
106
+ "iqr": "Interquartile Range",
107
+ "total": "Total",
108
+ "outliers": "Outliers",
109
+ "values": "Values",
110
+ "lowerBounds": "Lower Bounds",
111
+ "upperBounds": "Upper Bounds"
112
+ }
113
+ },
114
+ "topAxis": {
115
+ "hasLine": false
116
+ },
117
+ "isLegendValue": false,
118
+ "barThickness": 0.35,
119
+ "barHeight": 25,
120
+ "barSpace": 15,
121
+ "heights": {
122
+ "vertical": 300,
123
+ "horizontal": 750
124
+ },
125
+ "xAxis": {
126
+ "sortDates": false,
127
+ "anchors": [],
128
+ "type": "categorical",
129
+ "showTargetLabel": true,
130
+ "targetLabel": "Target",
131
+ "hideAxis": false,
132
+ "hideLabel": false,
133
+ "hideTicks": false,
134
+ "size": "67",
135
+ "tickRotation": "25",
136
+ "min": "",
137
+ "max": "",
138
+ "labelColor": "#333",
139
+ "tickLabelColor": "#333",
140
+ "tickColor": "#333",
141
+ "numTicks": "",
142
+ "labelOffset": 65,
143
+ "axisPadding": 0,
144
+ "target": 0,
145
+ "maxTickRotation": 0,
146
+ "dataKey": "Year",
147
+ "label": "X-Axis Label Example",
148
+ "tickWidthMax": 41
149
+ },
150
+ "table": {
151
+ "label": "Data Table",
152
+ "expanded": true,
153
+ "limitHeight": false,
154
+ "height": "",
155
+ "caption": "",
156
+ "showDownloadUrl": false,
157
+ "showDataTableLink": true,
158
+ "indexLabel": "",
159
+ "download": true,
160
+ "showVertical": false,
161
+ "show": true
162
+ },
163
+ "orientation": "vertical",
164
+ "color": "pinkpurple",
165
+ "columns": {},
166
+ "legend": {
167
+ "hide": false,
168
+ "behavior": "isolate",
169
+ "singleRow": false,
170
+ "colorCode": "",
171
+ "reverseLabelOrder": false,
172
+ "description": "",
173
+ "dynamicLegend": false,
174
+ "dynamicLegendDefaultText": "Show All",
175
+ "dynamicLegendItemLimit": 5,
176
+ "dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
177
+ "dynamicLegendChartMessage": "Select Options from the Legend",
178
+ "lineMode": false,
179
+ "verticalSorted": false,
180
+ "highlightOnHover": false,
181
+ "position": "right",
182
+ "label": "Data Type"
183
+ },
184
+ "brush": {
185
+ "height": 25,
186
+ "data": [
187
+ {
188
+ "Year": "2015",
189
+ "Data 1": "25",
190
+ "Data 2": "20",
191
+ "Data 3": "55"
192
+ },
193
+ {
194
+ "Year": "2016",
195
+ "Data 1": "35",
196
+ "Data 2": "30",
197
+ "Data 3": "35"
198
+ },
199
+ {
200
+ "Year": "2017",
201
+ "Data 1": "22",
202
+ "Data 2": "38",
203
+ "Data 3": "40"
204
+ },
205
+ {
206
+ "Year": "2018",
207
+ "Data 1": "40",
208
+ "Data 2": "40",
209
+ "Data 3": "20"
210
+ }
211
+ ],
212
+ "active": false
213
+ },
214
+ "exclusions": {
215
+ "active": false,
216
+ "keys": []
217
+ },
218
+ "palette": "qualitative-bold",
219
+ "isPaletteReversed": false,
220
+ "twoColor": {
221
+ "palette": "monochrome-1",
222
+ "isPaletteReversed": false
223
+ },
224
+ "labels": false,
225
+ "dataFormat": {
226
+ "commas": false,
227
+ "prefix": "",
228
+ "suffix": "%",
229
+ "abbreviated": false,
230
+ "bottomSuffix": "",
231
+ "bottomPrefix": "",
232
+ "bottomAbbreviated": false
233
+ },
234
+ "confidenceKeys": {},
235
+ "visual": {
236
+ "border": true,
237
+ "accent": true,
238
+ "background": true,
239
+ "verticalHoverLine": false,
240
+ "horizontalHoverLine": false
241
+ },
242
+ "useLogScale": false,
243
+ "filterBehavior": "Filter Change",
244
+ "highlightedBarValues": [],
245
+ "series": [
246
+ {
247
+ "dataKey": "Data 1",
248
+ "type": "Bar",
249
+ "tooltip": true,
250
+ "axis": "Left"
251
+ },
252
+ {
253
+ "dataKey": "Data 2",
254
+ "type": "Bar",
255
+ "tooltip": true,
256
+ "axis": "Left"
257
+ },
258
+ {
259
+ "dataKey": "Data 3",
260
+ "type": "Bar",
261
+ "tooltip": true,
262
+ "axis": "Left"
263
+ }
264
+ ],
265
+ "tooltips": {
266
+ "opacity": 90,
267
+ "singleSeries": false
268
+ },
269
+ "forestPlot": {
270
+ "startAt": 0,
271
+ "colors": {
272
+ "line": "",
273
+ "shape": ""
274
+ },
275
+ "lineOfNoEffect": {
276
+ "show": true
277
+ },
278
+ "type": "",
279
+ "pooledResult": {
280
+ "diamondHeight": 5,
281
+ "column": ""
282
+ },
283
+ "estimateField": "",
284
+ "estimateRadius": "",
285
+ "shape": "square",
286
+ "rowHeight": 20,
287
+ "description": {
288
+ "show": true,
289
+ "text": "description",
290
+ "location": 0
291
+ },
292
+ "result": {
293
+ "show": true,
294
+ "text": "result",
295
+ "location": 100
296
+ },
297
+ "radius": {
298
+ "min": 2,
299
+ "max": 10,
300
+ "scalingColumn": ""
301
+ },
302
+ "regression": {
303
+ "lower": 0,
304
+ "upper": 0,
305
+ "estimateField": 0
306
+ },
307
+ "leftWidthOffset": 0,
308
+ "rightWidthOffset": 0,
309
+ "showZeroLine": false,
310
+ "leftLabel": "",
311
+ "rightLabel": ""
312
+ },
313
+ "area": {
314
+ "isStacked": false
315
+ },
316
+ "height": "375",
317
+ "data": [
318
+ {
319
+ "Year": "2015",
320
+ "Data 1": "25",
321
+ "Data 2": "20",
322
+ "Data 3": "55"
323
+ },
324
+ {
325
+ "Year": "2016",
326
+ "Data 1": "35",
327
+ "Data 2": "30",
328
+ "Data 3": "35"
329
+ },
330
+ {
331
+ "Year": "2017",
332
+ "Data 1": "22",
333
+ "Data 2": "38",
334
+ "Data 3": "40"
335
+ },
336
+ {
337
+ "Year": "2018",
338
+ "Data 1": "40",
339
+ "Data 2": "40",
340
+ "Data 3": "20"
341
+ }
342
+ ],
343
+ "visualizationType": "Line",
344
+ "validated": 4.23,
345
+ "dynamicMarginTop": 0
346
+ }
@@ -0,0 +1,340 @@
1
+ {
2
+ "type": "chart",
3
+ "debugSvg": false,
4
+ "chartMessage": {
5
+ "noData": "No Data Available"
6
+ },
7
+ "title": "Combo Bar-Line Chart",
8
+ "showTitle": true,
9
+ "showDownloadMediaButton": false,
10
+ "theme": "theme-purple",
11
+ "animate": true,
12
+ "fontSize": "medium",
13
+ "lineDatapointStyle": "always show",
14
+ "lineDatapointColor": "Same as Line",
15
+ "barHasBorder": "false",
16
+ "isLollipopChart": false,
17
+ "lollipopShape": "circle",
18
+ "lollipopColorStyle": "two-tone",
19
+ "visualizationSubType": "regular",
20
+ "barStyle": "",
21
+ "roundingStyle": "standard",
22
+ "tipRounding": "top",
23
+ "isResponsiveTicks": false,
24
+ "general": {
25
+ "showDownloadButton": false
26
+ },
27
+ "padding": {
28
+ "left": 5,
29
+ "right": 5
30
+ },
31
+ "suppressedData": [],
32
+ "yAxis": {
33
+ "hideAxis": false,
34
+ "displayNumbersOnBar": false,
35
+ "hideLabel": false,
36
+ "hideTicks": false,
37
+ "size": "68",
38
+ "gridLines": false,
39
+ "enablePadding": false,
40
+ "min": "",
41
+ "max": "",
42
+ "labelColor": "#333",
43
+ "tickLabelColor": "#333",
44
+ "tickColor": "#333",
45
+ "rightHideAxis": true,
46
+ "rightAxisSize": 50,
47
+ "rightLabel": "",
48
+ "rightLabelOffsetSize": 0,
49
+ "rightAxisLabelColor": "#333",
50
+ "rightAxisTickLabelColor": "#333",
51
+ "rightAxisTickColor": "#333",
52
+ "numTicks": "",
53
+ "axisPadding": 0,
54
+ "tickRotation": 0,
55
+ "anchors": [],
56
+ "label": "Y-Axis Label Example"
57
+ },
58
+ "boxplot": {
59
+ "plots": [],
60
+ "borders": "true",
61
+ "firstQuartilePercentage": 25,
62
+ "thirdQuartilePercentage": 75,
63
+ "boxWidthPercentage": 40,
64
+ "plotOutlierValues": false,
65
+ "plotNonOutlierValues": true,
66
+ "legend": {
67
+ "showHowToReadText": false,
68
+ "howToReadText": ""
69
+ },
70
+ "labels": {
71
+ "q1": "Lower Quartile",
72
+ "q2": "q2",
73
+ "q3": "Upper Quartile",
74
+ "q4": "q4",
75
+ "minimum": "Minimum",
76
+ "maximum": "Maximum",
77
+ "mean": "Mean",
78
+ "median": "Median",
79
+ "sd": "Standard Deviation",
80
+ "iqr": "Interquartile Range",
81
+ "total": "Total",
82
+ "outliers": "Outliers",
83
+ "values": "Values"
84
+ }
85
+ },
86
+ "topAxis": {
87
+ "hasLine": false
88
+ },
89
+ "isLegendValue": false,
90
+ "barThickness": 0.35,
91
+ "barHeight": 25,
92
+ "barSpace": 15,
93
+ "heights": {
94
+ "vertical": 300,
95
+ "horizontal": 750
96
+ },
97
+ "xAxis": {
98
+ "sortDates": false,
99
+ "anchors": [],
100
+ "type": "date",
101
+ "showTargetLabel": true,
102
+ "targetLabel": "Target",
103
+ "hideAxis": false,
104
+ "hideLabel": false,
105
+ "hideTicks": false,
106
+ "size": "78",
107
+ "tickRotation": "25",
108
+ "min": "",
109
+ "max": "",
110
+ "labelColor": "#333",
111
+ "tickLabelColor": "#333",
112
+ "tickColor": "#333",
113
+ "numTicks": "",
114
+ "labelOffset": 65,
115
+ "axisPadding": 0,
116
+ "target": 0,
117
+ "maxTickRotation": 0,
118
+ "dataKey": "Date",
119
+ "label": "X-Axis Example Label",
120
+ "dateParseFormat": "%d/%m/%Y",
121
+ "dateDisplayFormat": "%d/%m/%Y",
122
+ "tickWidthMax": 91
123
+ },
124
+ "table": {
125
+ "label": "Data Table",
126
+ "expanded": true,
127
+ "limitHeight": false,
128
+ "height": "",
129
+ "caption": "",
130
+ "showDownloadUrl": false,
131
+ "showDataTableLink": true,
132
+ "indexLabel": "",
133
+ "download": true,
134
+ "showVertical": false,
135
+ "show": true
136
+ },
137
+ "orientation": "vertical",
138
+ "color": "pinkpurple",
139
+ "columns": {},
140
+ "legend": {
141
+ "hide": false,
142
+ "behavior": "highlight",
143
+ "singleRow": false,
144
+ "colorCode": "",
145
+ "reverseLabelOrder": false,
146
+ "description": "",
147
+ "dynamicLegend": false,
148
+ "dynamicLegendDefaultText": "Show All",
149
+ "dynamicLegendItemLimit": 5,
150
+ "dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
151
+ "dynamicLegendChartMessage": "Select Options from the Legend",
152
+ "lineMode": false,
153
+ "verticalSorted": false,
154
+ "position": "right",
155
+ "label": "Data Type"
156
+ },
157
+ "brush": {
158
+ "height": 25,
159
+ "data": [
160
+ {
161
+ "Date": "1/15/2016",
162
+ "Data 1": "1000",
163
+ "Data 2": "110",
164
+ "Data 3": "100",
165
+ "Data 4": "90",
166
+ "Monthly-Goal": "100"
167
+ }
168
+ ],
169
+ "active": false
170
+ },
171
+ "exclusions": {
172
+ "active": false,
173
+ "keys": []
174
+ },
175
+ "palette": "qualitative-soft",
176
+ "isPaletteReversed": false,
177
+ "twoColor": {
178
+ "palette": "monochrome-1",
179
+ "isPaletteReversed": false
180
+ },
181
+ "labels": false,
182
+ "dataFormat": {
183
+ "commas": false,
184
+ "prefix": "",
185
+ "suffix": "",
186
+ "abbreviated": false,
187
+ "bottomSuffix": "",
188
+ "bottomPrefix": "",
189
+ "bottomAbbreviated": false
190
+ },
191
+ "confidenceKeys": {},
192
+ "visual": {
193
+ "border": true,
194
+ "accent": true,
195
+ "background": true,
196
+ "verticalHoverLine": false,
197
+ "horizontalHoverLine": false
198
+ },
199
+ "useLogScale": false,
200
+ "filterBehavior": "Filter Change",
201
+ "highlightedBarValues": [],
202
+ "series": [
203
+ {
204
+ "dataKey": "Data 2",
205
+ "type": "Line",
206
+ "axis": "Left",
207
+ "tooltip": true
208
+ }
209
+ ],
210
+ "tooltips": {
211
+ "opacity": 90
212
+ },
213
+ "forestPlot": {
214
+ "startAt": 0,
215
+ "colors": {
216
+ "line": "",
217
+ "shape": ""
218
+ },
219
+ "lineOfNoEffect": {
220
+ "show": true
221
+ },
222
+ "type": "",
223
+ "pooledResult": {
224
+ "diamondHeight": 5,
225
+ "column": ""
226
+ },
227
+ "estimateField": "",
228
+ "estimateRadius": "",
229
+ "shape": "",
230
+ "rowHeight": 20,
231
+ "description": {
232
+ "show": true,
233
+ "text": "description",
234
+ "location": 0
235
+ },
236
+ "result": {
237
+ "show": true,
238
+ "text": "result",
239
+ "location": 100
240
+ },
241
+ "radius": {
242
+ "min": 1,
243
+ "max": 8,
244
+ "scalingColumn": ""
245
+ },
246
+ "regression": {
247
+ "lower": 0,
248
+ "upper": 0,
249
+ "estimateField": 0
250
+ },
251
+ "leftWidthOffset": 0,
252
+ "rightWidthOffset": 0,
253
+ "showZeroLine": false,
254
+ "hideDateCategoryCol": false,
255
+ "leftLabel": "",
256
+ "rightLabel": ""
257
+ },
258
+ "area": {
259
+ "isStacked": false
260
+ },
261
+ "height": "332",
262
+ "data": [
263
+ {
264
+ "Date": "1/15/2016",
265
+ "Data 1": "$1,000",
266
+ "Data 2": "110",
267
+ "Data 3": "100",
268
+ "Data 4": "90",
269
+ "Monthly-Goal": "100"
270
+ },
271
+ {
272
+ "Date": "2/15/2016",
273
+ "Data 1": "100",
274
+ "Data 2": "110",
275
+ "Data 3": "100",
276
+ "Data 4": "100",
277
+ "Monthly-Goal": "100"
278
+ },
279
+ {
280
+ "Date": "3/15/2016",
281
+ "Data 1": "80",
282
+ "Data 2": "90",
283
+ "Data 3": "100",
284
+ "Data 4": "120",
285
+ "Monthly-Goal": "110"
286
+ },
287
+ {
288
+ "Date": "4/15/2016",
289
+ "Data 1": "80",
290
+ "Data 2": "90",
291
+ "Data 3": "110",
292
+ "Data 4": "120",
293
+ "Monthly-Goal": "110"
294
+ },
295
+ {
296
+ "Date": "5/15/2016",
297
+ "Data 1": "70",
298
+ "Data 2": "90",
299
+ "Data 3": "110",
300
+ "Data 4": "130",
301
+ "Monthly-Goal": "120"
302
+ },
303
+ {
304
+ "Date": "6/15/2016",
305
+ "Data 1": "100",
306
+ "Data 2": "120",
307
+ "Data 3": "120",
308
+ "Data 4": "130",
309
+ "Monthly-Goal": "120"
310
+ },
311
+ {
312
+ "Date": "7/15/2016",
313
+ "Data 1": "110",
314
+ "Data 2": "140",
315
+ "Data 3": "120",
316
+ "Data 4": "130",
317
+ "Monthly-Goal": "130"
318
+ },
319
+ {
320
+ "Date": "8/15/2016",
321
+ "Data 1": "110",
322
+ "Data 2": "130",
323
+ "Data 3": "120",
324
+ "Data 4": "140",
325
+ "Monthly-Goal": "130"
326
+ },
327
+ {
328
+ "Date": "9/15/2016",
329
+ "Data 1": "120",
330
+ "Data 2": "130",
331
+ "Data 3": "120",
332
+ "Data 4": "150",
333
+ "Monthly-Goal": "140"
334
+ }
335
+ ],
336
+ "visualizationType": "Line",
337
+ "filters": [],
338
+ "validated": 4.23,
339
+ "dynamicMarginTop": 0
340
+ }