01 <?xml version="1.0" encoding="UTF-8"?>
02 <stock xmlns="http://anychart.com/products/stock/schemas/1.9.0/schema.xsd">
03   <data>
04     <data_sets>
05       <data_set id="dataSet1" source_url="./../../csv-data/csco_daily_short.csv">
06         <csv_settings ignore_first_row="true" rows_separator="\n" />
07         <locale>
08           <date_time>
09             <format><![CDATA[%yyyy%MM%dd]]></format>
10           </date_time>
11         </locale>
12       </data_set>
13     </data_sets>
14     <data_providers>
15       <general_data_providers>
16         <data_provider data_set="dataSet1" id="dp1">
17           <fields>
18             <field type="High" column="2" approximation_type="High" />
19             <field type="Low" column="3" approximation_type="Low" />
20             <field type="Close" column="4" approximation_type="Close" />
21           </fields>
22         </data_provider>
23       </general_data_providers>
24       <scroller_data_providers>
25         <data_provider data_set="dataSet1" column="4" />
26       </scroller_data_providers>
27     </data_providers>
28   </data>
29   <settings>
30     <inside_margin right="35" />
31     <charts>
32       <chart height="100">
33         <legend>
34           <date_time enabled="false" />
35         </legend>
36         <value_axes>
37           <primary position="Right">
38             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
39               <font family="Verdana" color="#444444" bold="true" size="9" />
40               <format><![CDATA[{%Value}{numDecimals:2,trailingZeros:false}]]></format>
41             </labels>
42             <scale minimum_offset="0" />
43             <grid>
44               <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
45             </grid>
46             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
47           </primary>
48         </value_axes>
49         <x_axis>
50           <major_grid>
51             <line opacity="1" color="#D9D9D9" />
52           </major_grid>
53           <minor_grid>
54             <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
55           </minor_grid>
56         </x_axis>
57         <series_list>
58           <series id="idCscoSeries" type="Line" data_provider="dp1" color="#0066DD">
59             <line_series thickness="2" />
60             <name><![CDATA[CSCO]]></name>
61           </series>
62         </series_list>
63       </chart>
64       <chart id="idStochasticChart" height="50">
65         <legend>
66           <date_time enabled="false" />
67           <title enabled="false" />
68           <background>
69             <fill type="Solid" color="White" />
70           </background>
71         </legend>
72         <value_axes>
73           <primary position="Right">
74             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
75             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
76               <font family="Verdana" color="#444444" bold="true" size="9" />
77               <format><![CDATA[{%Value}{numDecimals:2,trailingZeros:false}]]></format>
78             </labels>
79             <grid>
80               <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
81             </grid>
82             <scale minimum_mode="CustomValue" minimum="0" maximum_mode="CustomValue" maximum="100" interval_mode="CustomValue" interval="20" />
83             <axis_markers>
84               <range_markers>
85                 <range_marker low_value="0" high_value="20">
86                   <fill enabled="true" type="Solid" color="#666666" opacity="0.05" />
87                   <high_line enabled="false" />
88                   <low_line enabled="false" />
89                   <labels>
90                     <label anchor="LeftBottom" valign="Top" halign="Right" x_padding="3" y_padding="2">
91                       <format><![CDATA[Oversold]]></format>
92                       <font family="Tahoma" size="9" color="#333333" />
93                       <background enabled="true">
94                         <fill type="Solid" color="White" />
95                         <inside_margin left="5" top="0" right="5" bottom="0" />
96                         <border enabled="true" color="#333333" opacity="0.2" />
97                         <corners type="Rounded" all="2" />
98                       </background>
99                     </label>
100                   </labels>
101                 </range_marker>
102                 <range_marker low_value="80" high_value="100">
103                   <fill enabled="true" type="Solid" color="#666666" opacity="0.05" />
104                   <low_line enabled="false" />
105                   <high_line enabled="false" />
106                   <labels>
107                     <label anchor="LeftTop" valign="Bottom" halign="Right" x_padding="3" y_padding="2">
108                       <format><![CDATA[Overbought]]></format>
109                       <font family="Tahoma" size="9" color="#333333" />
110                       <background enabled="true">
111                         <fill type="Solid" color="White" />
112                         <inside_margin left="5" top="0" right="5" bottom="0" />
113                         <border enabled="true" color="#333333" opacity="0.2" />
114                         <corners type="Rounded" all="2" />
115                       </background>
116                     </label>
117                   </labels>
118                 </range_marker>
119               </range_markers>
120             </axis_markers>
121           </primary>
122         </value_axes>
123         <x_axis>
124           <major_grid>
125             <line opacity="1" color="#D9D9D9" />
126           </major_grid>
127           <minor_grid>
128             <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
129           </minor_grid>
130           <labels enabled="false" />
131         </x_axis>
132         <technical_indicators>
133           <technical_indicator type="StochasticOscillator" data_provider="dp1">
134             <stochastic_oscillator_indicator k_period="14" d_period="3" k_smoothing_period="10" ma_type="EMA">
135               <k_series>
136                 <name><![CDATA[Full Stochastic: %K(14,10)]]></name>
137               </k_series>
138               <d_series>
139                 <name><![CDATA[%D(3)]]></name>
140               </d_series>
141             </stochastic_oscillator_indicator>
142           </technical_indicator>
143         </technical_indicators>
144       </chart>
145     </charts>
146     <time_scale>
147       <selected_range type="YTD" />
148     </time_scale>
149     <range_selector enabled="true" />
150   </settings>
151 </stock>
01{
02  data: {
03    dataSets: [
04      {
05        id: "dataSet1",
06        sourceUrl: "./../../csv-data/csco_daily_short.csv",
07        csvSettings: {
08          ignoreFirstRow: true,
09          rowsSeparator: "\n"
10        },
11        locale: {
12          dateTime: {
13            format: "%yyyy%MM%dd"
14          }
15        }
16      }
17    ],
18    dataProviders: {
19      generalDataProviders: [
20        {
21          dataSet: "dataSet1",
22          id: "dp1",
23          fields: [
24            {
25              type: "High",
26              column: 2,
27              approximationType: "High"
28            },
29            {
30              type: "Low",
31              column: 3,
32              approximationType: "Low"
33            },
34            {
35              type: "Close",
36              column: 4,
37              approximationType: "Close"
38            }
39          ]
40        }
41      ],
42      scrollerDataProviders: [
43        {
44          dataSet: "dataSet1",
45          column: 4
46        }
47      ]
48    }
49  },
50  settings: {
51    insideMargin: {
52      right: 35
53    },
54    charts: [
55      {
56        height: 100,
57        legend: {
58          dateTime: {
59            enabled: false
60          }
61        },
62        valueAxes: {
63          primary: {
64            position: "Right",
65            labels: {
66              position: "Outside",
67              padding: 3,
68              valign: "Center",
69              showFirst: true,
70              showLast: true,
71              font: {
72                family: "Verdana",
73                color: "#444444",
74                bold: true,
75                size: 9
76              },
77              format: "{%Value}{numDecimals:2,trailingZeros:false}"
78            },
79            scale: {
80              minimumOffset: 0
81            },
82            grid: {
83              line: {
84                dashed: true,
85                dashLength: 3,
86                dashSpace: 3,
87                pixelHinting: true
88              }
89            },
90            tickmarks: {
91              enabled: true,
92              showFirst: true,
93              showLast: true,
94              thickness: 1,
95              size: 3,
96              pixelHinting: true,
97              color: "#333333"
98            }
99          }
100        },
101        xAxis: {
102          majorGrid: {
103            line: {
104              opacity: 1,
105              color: "#D9D9D9"
106            }
107          },
108          minorGrid: {
109            line: {
110              dashed: true,
111              dashLength: 3,
112              dashSpace: 3,
113              pixelHinting: true
114            }
115          }
116        },
117        seriesList: [
118          {
119            id: "idCscoSeries",
120            type: "Line",
121            dataProvider: "dp1",
122            color: "#0066DD",
123            lineSeries: {
124              thickness: 2
125            },
126            name: "CSCO"
127          }
128        ]
129      },
130      {
131        id: "idStochasticChart",
132        height: 50,
133        legend: {
134          dateTime: {
135            enabled: false
136          },
137          title: {
138            enabled: false
139          },
140          background: {
141            fill: {
142              type: "Solid",
143              color: "White"
144            }
145          }
146        },
147        valueAxes: {
148          primary: {
149            position: "Right",
150            tickmarks: {
151              enabled: true,
152              showFirst: true,
153              showLast: true,
154              thickness: 1,
155              size: 3,
156              pixelHinting: true,
157              color: "#333333"
158            },
159            labels: {
160              position: "Outside",
161              padding: 3,
162              valign: "Center",
163              showFirst: true,
164              showLast: true,
165              font: {
166                family: "Verdana",
167                color: "#444444",
168                bold: true,
169                size: 9
170              },
171              format: "{%Value}{numDecimals:2,trailingZeros:false}"
172            },
173            grid: {
174              line: {
175                dashed: true,
176                dashLength: 3,
177                dashSpace: 3,
178                pixelHinting: true
179              }
180            },
181            scale: {
182              minimumMode: "CustomValue",
183              minimum: 0,
184              maximumMode: "CustomValue",
185              maximum: 100,
186              intervalMode: "CustomValue",
187              interval: 20
188            },
189            axisMarkers: {
190              rangeMarkers: [
191                {
192                  lowValue: 0,
193                  highValue: 20,
194                  fill: {
195                    enabled: true,
196                    type: "Solid",
197                    color: "#666666",
198                    opacity: 0.05
199                  },
200                  highLine: {
201                    enabled: false
202                  },
203                  lowLine: {
204                    enabled: false
205                  },
206                  labels: [
207                    {
208                      anchor: "LeftBottom",
209                      valign: "Top",
210                      halign: "Right",
211                      xPadding: 3,
212                      yPadding: 2,
213                      format: "Oversold",
214                      font: {
215                        family: "Tahoma",
216                        size: 9,
217                        color: "#333333"
218                      },
219                      background: {
220                        enabled: true,
221                        fill: {
222                          type: "Solid",
223                          color: "White"
224                        },
225                        insideMargin: {
226                          left: 5,
227                          top: 0,
228                          right: 5,
229                          bottom: 0
230                        },
231                        border: {
232                          enabled: true,
233                          color: "#333333",
234                          opacity: 0.2
235                        },
236                        corners: {
237                          type: "Rounded",
238                          all: 2
239                        }
240                      }
241                    }
242                  ]
243                },
244                {
245                  lowValue: 80,
246                  highValue: 100,
247                  fill: {
248                    enabled: true,
249                    type: "Solid",
250                    color: "#666666",
251                    opacity: 0.05
252                  },
253                  lowLine: {
254                    enabled: false
255                  },
256                  highLine: {
257                    enabled: false
258                  },
259                  labels: [
260                    {
261                      anchor: "LeftTop",
262                      valign: "Bottom",
263                      halign: "Right",
264                      xPadding: 3,
265                      yPadding: 2,
266                      format: "Overbought",
267                      font: {
268                        family: "Tahoma",
269                        size: 9,
270                        color: "#333333"
271                      },
272                      background: {
273                        enabled: true,
274                        fill: {
275                          type: "Solid",
276                          color: "White"
277                        },
278                        insideMargin: {
279                          left: 5,
280                          top: 0,
281                          right: 5,
282                          bottom: 0
283                        },
284                        border: {
285                          enabled: true,
286                          color: "#333333",
287                          opacity: 0.2
288                        },
289                        corners: {
290                          type: "Rounded",
291                          all: 2
292                        }
293                      }
294                    }
295                  ]
296                }
297              ]
298            }
299          }
300        },
301        xAxis: {
302          majorGrid: {
303            line: {
304              opacity: 1,
305              color: "#D9D9D9"
306            }
307          },
308          minorGrid: {
309            line: {
310              dashed: true,
311              dashLength: 3,
312              dashSpace: 3,
313              pixelHinting: true
314            }
315          },
316          labels: {
317            enabled: false
318          }
319        },
320        technicalIndicators: [
321          {
322            type: "StochasticOscillator",
323            dataProvider: "dp1",
324            stochasticOscillatorIndicator: {
325              kPeriod: 14,
326              dPeriod: 3,
327              kSmoothingPeriod: 10,
328              maType: "EMA",
329              kSeries: {
330                name: "Full Stochastic: %K(14,10)"
331              },
332              dSeries: {
333                name: "%D(3)"
334              }
335            }
336          }
337        ]
338      }
339    ],
340    timeScale: {
341      selectedRange: {
342        type: "YTD"
343      }
344    },
345    rangeSelector: {
346      enabled: true
347    }
348  }
349}

The information contained in this website is for general information purposes only. All sample data provided on this site is for demonstration purposes only.


The logos and names of other companies and products mentioned on this site are copyright and/or trademarks of their respective owners.


The content on this site, including news, quotes, data and other information, is provided for your personal information only, and is intended for demonstration purposes only. Content on this site is not appropriate for the purposes of making a decision to carry out a transaction or trade. Nor does it provide any form of advice (investment, tax, legal) amounting to investment advice, or make any recommendations regarding particular financial instruments, investments or products.


In no event AnyChart will be liable for any loss or damage including without limitation, indirect or consequential loss or damage, or any loss or damage whatsoever arising from loss of data or profits arising out of, or in connection with, the use of this website.


This site may point to other Internet sites that may be of interest to you, however AnyChart does not endorse or take responsibility for the content on such other sites.


Market data and News provided by and copyright RediNews, Incorporated.