1+ {
2+ "descriptions" : {
3+ "content" : {
4+ "type" : " DataChart" ,
5+ "name" : " chart" ,
6+ "shouldAutoExpandMarginForInitialLabels" : true ,
7+ "computedPlotAreaMarginMode" : " Series" ,
8+ "isVerticalZoomEnabled" : false ,
9+ "isHorizontalZoomEnabled" : true ,
10+ "brushes" : [" green" , " red" ],
11+ "outlines" : [" green" , " red" ],
12+ "plotAreaMarginLeft" : 10 ,
13+ "plotAreaMarginTop" : 0 ,
14+ "plotAreaMarginRight" : 20 ,
15+ "plotAreaMarginBottom" : 0 ,
16+ "leftMargin" : 10 ,
17+ "topMargin" : 0 ,
18+ "rightMargin" : 20 ,
19+ "bottomMargin" : 0 ,
20+ "isWindowSyncedToVisibleRange" : false ,
21+ "chartTitle" : " This Data Chart has multiple Data Annotation Layers bound to data that annotates important events and patterns in stock prices." ,
22+ "axes" : [
23+ {
24+ "type" : " CategoryXAxis" ,
25+ "name" : " xAxis" ,
26+ "dataSourceRef" : " StockTesla" ,
27+ "label" : " Date" ,
28+ "labelLeftMargin" : 0 ,
29+ "labelTopMargin" : 5 ,
30+ "labelRightMargin" : 0 ,
31+ "labelBottomMargin" : 5
32+ },
33+ {
34+ "type" : " CategoryXAxis" ,
35+ "name" : " xAxisBottom" ,
36+ "dataSourceRef" : " StockTesla" ,
37+ "label" : " Index" ,
38+ "tickLength" : 0 ,
39+ "labelLocation" : " OutsideBottom" ,
40+ "labelFontSize" : 12 ,
41+ "labelExtent" : 140 ,
42+ "labelLeftMargin" : 0 ,
43+ "labelTopMargin" : 15 ,
44+ "labelRightMargin" : 0 ,
45+ "labelBottomMargin" : 15 ,
46+ "labelAngle" : 90
47+ },
48+ {
49+ "type" : " CategoryXAxis" ,
50+ "name" : " xAxisTop" ,
51+ "dataSourceRef" : " StockTesla" ,
52+ "label" : " Date" ,
53+ "tickLength" : 0 ,
54+ "labelLocation" : " OutsideTop" ,
55+ "labelFontSize" : 12 ,
56+ "labelExtent" : 40 ,
57+ "labelTextColor" : " transparent" ,
58+ "labelLeftMargin" : 8 ,
59+ "labelTopMargin" : 3 ,
60+ "labelRightMargin" : 8 ,
61+ "labelBottomMargin" : 5
62+ },
63+ {
64+ "type" : " NumericYAxis" ,
65+ "name" : " yAxisLeft" ,
66+ "labelLocation" : " OutsideLeft" ,
67+ "labelFontSize" : 12 ,
68+ "labelExtent" : 80 ,
69+ "labelHorizontalAlignment" : " Right" ,
70+ "labelLeftMargin" : 8 ,
71+ "labelTopMargin" : 3 ,
72+ "labelRightMargin" : 8 ,
73+ "labelBottomMargin" : 5 ,
74+ "minimumValue" : 0 ,
75+ "maximumValue" : 550
76+ },
77+ {
78+ "type" : " NumericYAxis" ,
79+ "name" : " yAxisRight" ,
80+ "labelLocation" : " OutsideRight" ,
81+ "labelFontSize" : 12 ,
82+ "labelExtent" : 80 ,
83+ "labelHorizontalAlignment" : " Left" ,
84+ "labelLeftMargin" : 8 ,
85+ "labelTopMargin" : 3 ,
86+ "labelRightMargin" : 8 ,
87+ "labelBottomMargin" : 5 ,
88+ "minimumValue" : 0 ,
89+ "maximumValue" : 550
90+ }
91+ ],
92+ "series" : [
93+ {
94+ "type" : " FinancialPriceSeries" ,
95+ "name" : " series1" ,
96+ "title" : " Stock Price" ,
97+ "displayType" : " Candlestick" ,
98+ "xAxisRef" : " xAxis" ,
99+ "yAxisRef" : " yAxisLeft" ,
100+ "dataSourceRef" : " StockTesla" ,
101+ "openMemberPath" : " Open" ,
102+ "highMemberPath" : " High" ,
103+ "lowMemberPath" : " Low" ,
104+ "closeMemberPath" : " Close" ,
105+ "showDefaultTooltip" : false
106+ },
107+ {
108+ "type" : " DataToolTipLayer" ,
109+ "name" : " Tooltip" ,
110+ "includedColumns" : [" High" , " Low" , " Open" , " Close" ],
111+ "layoutMode" : " Vertical"
112+ },
113+ {
114+ "type" : " DataAnnotationStripLayer" ,
115+ "name" : " StripLayer" ,
116+ "dataSourceRef" : " StripAnnotationData" ,
117+ "targetAxisRef" : " xAxisTop" ,
118+ "centerLabelMemberPath" : " Label" ,
119+ "startValueMemberPath" : " Start" ,
120+ "endValueMemberPath" : " End" ,
121+ "endLabelDisplayMode" : " Hidden" ,
122+ "startLabelDisplayMode" : " Hidden" ,
123+ "brush" : " black" ,
124+ "outline" : " black" ,
125+ "overlayTextColor" : " purple" ,
126+ "overlayTextLocation" : " Hidden" ,
127+ "overlayTextMemberPath" : " Label"
128+ },
129+ {
130+ "type" : " DataAnnotationLineLayer" ,
131+ "name" : " LineLayer52WeekRange" ,
132+ "dataSourceRef" : " LineAnnotationData1" ,
133+ "targetAxisRef" : " yAxisRight" ,
134+ "centerLabelXDisplayMode" : " Hidden" ,
135+ "startLabelXDisplayMode" : " Hidden" ,
136+ "startLabelYDisplayMode" : " DataValue" ,
137+ "endLabelXDisplayMode" : " Hidden" ,
138+ "endLabelYDisplayMode" : " DataValue" ,
139+ "brush" : " purple" ,
140+ "outline" : " purple" ,
141+ "overlayTextColor" : " purple" ,
142+ "overlayTextVerticalMargin" : 20 ,
143+ "overlayTextHorizontalMargin" : -50 ,
144+ "overlayTextLocation" : " OutsideBottomLeft" ,
145+ "overlayTextMemberPath" : " Label" ,
146+ "startLabelXMemberPath" : " StartLabel" ,
147+ "endLabelXMemberPath" : " EndLabel" ,
148+ "startValueXMemberPath" : " StartX" ,
149+ "startValueYMemberPath" : " StartY" ,
150+ "endValueXMemberPath" : " EndX" ,
151+ "endValueYMemberPath" : " EndY"
152+ },
153+ {
154+ "type" : " DataAnnotationLineLayer" ,
155+ "name" : " LineLayerGrowthAndDecline" ,
156+ "dataSourceRef" : " LineAnnotationData2" ,
157+ "targetAxisRef" : " xAxis" ,
158+ "centerLabelXDisplayMode" : " Hidden" ,
159+ "startLabelXDisplayMode" : " Hidden" ,
160+ "endLabelXDisplayMode" : " Hidden" ,
161+ "annotationBackgroundMode" : " BrightnessShift" ,
162+ "brush" : " purple" ,
163+ "outline" : " purple" ,
164+ "overlayTextColor" : " purple" ,
165+ "overlayTextVerticalMargin" : -10 ,
166+ "overlayTextHorizontalMargin" : 60 ,
167+ "overlayTextMemberPath" : " Label" ,
168+ "startLabelXMemberPath" : " StartLabel" ,
169+ "endLabelXMemberPath" : " EndLabel" ,
170+ "startValueXMemberPath" : " StartX" ,
171+ "startValueYMemberPath" : " StartY" ,
172+ "endValueXMemberPath" : " EndX" ,
173+ "endValueYMemberPath" : " EndY"
174+ },
175+ {
176+ "type" : " DataAnnotationSliceLayer" ,
177+ "name" : " SliceLayerStockSplit" ,
178+ "dataSourceRef" : " SliceAnnotationData1" ,
179+ "targetAxisRef" : " xAxisBottom" ,
180+ "brush" : " dodgerblue" ,
181+ "annotationTextColor" : " white" ,
182+ "annotationLabelMemberPath" : " Label" ,
183+ "annotationValueMemberPath" : " Value" ,
184+ "overlayTextMemberPath" : " Label" ,
185+ "overlayTextAngle" : 90 ,
186+ "overlayTextVerticalMargin" : 20 ,
187+ "overlayTextHorizontalMargin" : 0 ,
188+ "overlayTextLocation" : " OutsideTopRight"
189+ },
190+ {
191+ "type" : " DataAnnotationSliceLayer" ,
192+ "name" : " SliceLayerEarningsMissAnnotations" ,
193+ "dataSourceRef" : " SliceAnnotationData2" ,
194+ "targetAxisRef" : " xAxisBottom" ,
195+ "brush" : " red" ,
196+ "annotationTextColor" : " white" ,
197+ "annotationLabelMemberPath" : " Label" ,
198+ "annotationValueMemberPath" : " Value" ,
199+ "overlayTextMemberPath" : " Label" ,
200+ "overlayTextAngle" : 90 ,
201+ "overlayTextVerticalMargin" : 20 ,
202+ "overlayTextHorizontalMargin" : 0 ,
203+ "overlayTextLocation" : " OutsideTopRight"
204+ },
205+ {
206+ "type" : " DataAnnotationSliceLayer" ,
207+ "name" : " SliceLayerEarningsBeatAnnotations" ,
208+ "dataSourceRef" : " SliceAnnotationData3" ,
209+ "targetAxisRef" : " xAxisBottom" ,
210+ "brush" : " green" ,
211+ "annotationTextColor" : " white" ,
212+ "annotationLabelMemberPath" : " Label" ,
213+ "annotationValueMemberPath" : " Value" ,
214+ "overlayTextMemberPath" : " Label" ,
215+ "overlayTextAngle" : 90 ,
216+ "overlayTextVerticalMargin" : 20 ,
217+ "overlayTextHorizontalMargin" : 0 ,
218+ "overlayTextLocation" : " OutsideTopRight"
219+ }
220+ ]
221+ }
222+ },
223+ "refs" : {
224+ "StripAnnotationData" : [
225+ { "Start" : 40 , "End" : 45 , "Label" : " Covid - Market Crash" },
226+ { "Start" : 100 , "End" : 144 , "Label" : " Fed Rate Up 0.25 - 5.25%" },
227+ { "Start" : 190 , "End" : 205 , "Label" : " Fed Rate Down 5.25% to 4.45%" }
228+ ],
229+ "LineAnnotationData1" : [
230+ { "StartX" : 190 , "StartY" : 138 , "EndX" : 230 , "EndY" : 138 , "Label" : " 52-Week Low" },
231+ { "StartX" : 190 , "StartY" : 481 , "EndX" : 230 , "EndY" : 481 , "Label" : " 52-Week High" }
232+ ],
233+ "LineAnnotationData2" : [
234+ { "StartX" : 48 , "StartY" : 25 , "EndX" : 105 , "EndY" : 250 , "Label" : " Growth &\n Support" },
235+ { "StartX" : 108 , "StartY" : 440 , "EndX" : 155 , "EndY" : 210 , "Label" : " Decline &\n Resistance" }
236+ ],
237+ "SliceAnnotationData1" : [
238+ { "Value" : 126 , "Label" : " Stock Split 3-1" },
239+ { "Value" : 61 , "Label" : " Stock Split 5-1" }
240+ ],
241+ "SliceAnnotationData2" : [
242+ { "Value" : 9 , "Label" : " Earnings Miss" },
243+ { "Value" : 179 , "Label" : " Earnings Miss" },
244+ { "Value" : 215 , "Label" : " Earnings Miss" }
245+ ],
246+ "SliceAnnotationData3" : [
247+ { "Value" : 155 , "Label" : " Earnings Beat" },
248+ { "Value" : 86 , "Label" : " Earnings Beat" },
249+ { "Value" : 28 , "Label" : " Earnings Miss" }
250+ ]
251+ },
252+ "modules" : [
253+ " charts/DataChartCoreModule" ,
254+ " charts/DataChartCategoryModule" ,
255+ " charts/DataChartCategoryCoreModule" ,
256+ " charts/DataChartFinancialCoreModule" ,
257+ " charts/DataChartFinancialModule" ,
258+ " charts/DataChartFinancialOverlaysModule" ,
259+ " charts/DataChartInteractivityModule" ,
260+ " charts/DataChartAnnotationModule" ,
261+ " charts/DataAnnotationStripLayerModule" ,
262+ " charts/DataAnnotationSliceLayerModule" ,
263+ " charts/DataAnnotationLineLayerModule" ,
264+ " charts/NumberAbbreviatorModule" ,
265+ " charts/AnnotationLayerProxyModule"
266+ ]
267+ }
0 commit comments