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.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="Open" column="1" approximation_type="Open" />
19             <field type="High" column="2" approximation_type="High" />
20             <field type="Low" column="3" approximation_type="Low" />
21             <field type="Close" column="4" approximation_type="Close" />
22           </fields>
23         </data_provider>
24       </general_data_providers>
25       <scroller_data_providers>
26         <data_provider data_set="dataSet1" column="4" />
27       </scroller_data_providers>
28     </data_providers>
29   </data>
30   <event_markers>
31     <groups>
32       <group chart="idStochasticChart" series="idStochasticKSeries" format="B" position="Axis">
33         <events>
34           <event date="2009-05-14" />
35           <event date="2009-06-18" />
36         </events>
37         <settings>
38           <font color="#FFFFFF" />
39           <shape type="Circle">
40             <fill type="Solid" color="#C95232" />
41             <border thickness="2" color="White" />
42           </shape>
43           <connector thickness="1" length="15" />
44           <states>
45             <hover>
46               <shape>
47                 <fill type="Solid" color="#EE0000" />
48                 <border thickness="2" color="#F0F0F0" />
49               </shape>
50             </hover>
51           </states>
52           <tooltip enabled="true">
53             <font color="#333333" bold="true" />
54             <format><![CDATA[<font color="#db2a0e">Alert:</font> {%SourceDate}{"%MMM %d, %yyyy"}]]></format>
55           </tooltip>
56         </settings>
57       </group>
58     </groups>
59   </event_markers>
60   <settings>
61     <inside_margin left="40" />
62     <data_grouping enabled="false" />
63     <charts>
64       <chart height="100">
65         <legend>
66           <date_time enabled="false" />
67         </legend>
68         <value_axes>
69           <primary position="Left">
70             <labels position="Outside" padding="5" show_first="true" show_last="true" valign="Center">
71               <format><![CDATA[{%Value}{numDecimals:1}]]></format>
72             </labels>
73             <scale mode="Values" />
74           </primary>
75         </value_axes>
76         <series_list>
77           <series id="idCscoSeries" type="Candlestick" data_provider="dp1" color="#0066DD">
78             <candlestick_series width="0.5">
79               <rising>
80                 <line enabled="true" color="#7F8DA9" thickness="1" opacity="1" />
81                 <border enabled="true" color="#7F8DA9" thickness="1" opacity="1" />
82                 <fill enabled="true" color="#7F8DA9" opacity="1" />
83               </rising>
84               <falling>
85                 <line enabled="true" color="#DB4C3C" thickness="1" opacity="1" />
86                 <border enabled="true" color="#DB4C3C" thickness="1" opacity="1" />
87                 <fill enabled="true" color="#DB4C3C" opacity="1" />
88               </falling>
89             </candlestick_series>
90             <name><![CDATA[CSCO]]></name>
91           </series>
92         </series_list>
93       </chart>
94       <chart id="idStochasticChart" height="50">
95         <legend>
96           <date_time enabled="false" />
97         </legend>
98         <value_axes>
99           <primary position="Left">
100             <labels position="Outside" padding="5" show_first="false" show_last="false" valign="Center">
101               <background enabled="true">
102                 <fill enabled="false" type="Solid" color="Gray" opacity="0.5" />
103                 <inside_margin top="-5" bottom="-5" />
104               </background>
105               <format><![CDATA[{%Value}{numDecimals:0}]]></format>
106             </labels>
107             <scale minimum_mode="CustomValue" minimum="0" maximum_mode="CustomValue" maximum="100" interval_mode="CustomValue" interval="20" />
108             <axis_markers>
109               <range_markers>
110                 <range_marker low_value="0" high_value="20">
111                   <fill enabled="true" type="Solid" color="#333333" opacity="0.05" />
112                   <high_line enabled="true" color="#AAAAAA" dashed="true" dash_length="4" dash_space="4" />
113                   <low_line enabled="false" />
114                   <labels>
115                     <label anchor="LeftBottom" valign="Top" halign="Right" x_padding="3" y_padding="2">
116                       <format><![CDATA[Oversold]]></format>
117                       <font family="Tahoma" size="9" color="#333333" />
118                       <background enabled="true">
119                         <fill type="Solid" color="White" />
120                         <inside_margin left="5" top="0" right="5" bottom="0" />
121                         <border enabled="true" color="#333333" opacity="0.2" />
122                         <corners type="Rounded" all="2" />
123                       </background>
124                     </label>
125                   </labels>
126                 </range_marker>
127                 <range_marker low_value="80" high_value="100">
128                   <fill enabled="true" type="Solid" color="#333333" opacity="0.05" />
129                   <low_line enabled="true" color="#AAAAAA" dashed="true" dash_length="4" dash_space="4" />
130                   <high_line enabled="false" />
131                   <labels>
132                     <label anchor="LeftTop" valign="Bottom" halign="Right" x_padding="3" y_padding="2">
133                       <format><![CDATA[Overbought]]></format>
134                       <font family="Tahoma" size="9" color="#333333" />
135                       <background enabled="true">
136                         <fill type="Solid" color="White" />
137                         <inside_margin left="5" top="0" right="5" bottom="0" />
138                         <border enabled="true" color="#333333" opacity="0.2" />
139                         <corners type="Rounded" all="2" />
140                       </background>
141                     </label>
142                   </labels>
143                 </range_marker>
144               </range_markers>
145             </axis_markers>
146           </primary>
147         </value_axes>
148         <technical_indicators>
149           <technical_indicator type="StochasticOscillator" data_provider="dp1">
150             <stochastic_oscillator_indicator>
151               <k_series id="idStochasticKSeries">
152                 <name><![CDATA[Fast Stochastic: %K(5)]]></name>
153               </k_series>
154               <d_series>
155                 <name><![CDATA[%D(3)]]></name>
156               </d_series>
157             </stochastic_oscillator_indicator>
158           </technical_indicator>
159         </technical_indicators>
160       </chart>
161     </charts>
162     <time_scale>
163       <selected_range type="Unit" unit="Month" count="3" />
164     </time_scale>
165     <range_selector enabled="true" />
166   </settings>
167 </stock>
01{
02  data: {
03    dataSets: [
04      {
05        id: "dataSet1",
06        sourceUrl: "./../../csv-data/csco_daily.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: "Open",
26              column: 1,
27              approximationType: "Open"
28            },
29            {
30              type: "High",
31              column: 2,
32              approximationType: "High"
33            },
34            {
35              type: "Low",
36              column: 3,
37              approximationType: "Low"
38            },
39            {
40              type: "Close",
41              column: 4,
42              approximationType: "Close"
43            }
44          ]
45        }
46      ],
47      scrollerDataProviders: [
48        {
49          dataSet: "dataSet1",
50          column: 4
51        }
52      ]
53    }
54  },
55  eventMarkers: {
56    groups: [
57      {
58        chart: "idStochasticChart",
59        series: "idStochasticKSeries",
60        format: "B",
61        position: "Axis",
62        events: [
63          {
64            date: "2009-05-14"
65          },
66          {
67            date: "2009-06-18"
68          }
69        ],
70        settings: {
71          font: {
72            color: "#FFFFFF"
73          },
74          shape: {
75            type: "Circle",
76            fill: {
77              type: "Solid",
78              color: "#C95232"
79            },
80            border: {
81              thickness: 2,
82              color: "White"
83            }
84          },
85          connector: {
86            thickness: 1,
87            length: 15
88          },
89          states: {
90            hover: {
91              shape: {
92                fill: {
93                  type: "Solid",
94                  color: "#EE0000"
95                },
96                border: {
97                  thickness: 2,
98                  color: "#F0F0F0"
99                }
100              }
101            }
102          },
103          tooltip: {
104            enabled: true,
105            font: {
106              color: "#333333",
107              bold: true
108            },
109            format: "<font color=\"#db2a0e\">Alert:</font> {%SourceDate}{\"%MMM %d, %yyyy\"}"
110          }
111        }
112      }
113    ]
114  },
115  settings: {
116    insideMargin: {
117      left: 40
118    },
119    dataGrouping: {
120      enabled: false
121    },
122    charts: [
123      {
124        height: 100,
125        legend: {
126          dateTime: {
127            enabled: false
128          }
129        },
130        valueAxes: {
131          primary: {
132            position: "Left",
133            labels: {
134              position: "Outside",
135              padding: 5,
136              showFirst: true,
137              showLast: true,
138              valign: "Center",
139              format: "{%Value}{numDecimals:1}"
140            },
141            scale: {
142              mode: "Values"
143            }
144          }
145        },
146        seriesList: [
147          {
148            id: "idCscoSeries",
149            type: "Candlestick",
150            dataProvider: "dp1",
151            color: "#0066DD",
152            candlestickSeries: {
153              width: 0.5,
154              rising: {
155                line: {
156                  enabled: true,
157                  color: "#7F8DA9",
158                  thickness: 1,
159                  opacity: 1
160                },
161                border: {
162                  enabled: true,
163                  color: "#7F8DA9",
164                  thickness: 1,
165                  opacity: 1
166                },
167                fill: {
168                  enabled: true,
169                  color: "#7F8DA9",
170                  opacity: 1
171                }
172              },
173              falling: {
174                line: {
175                  enabled: true,
176                  color: "#DB4C3C",
177                  thickness: 1,
178                  opacity: 1
179                },
180                border: {
181                  enabled: true,
182                  color: "#DB4C3C",
183                  thickness: 1,
184                  opacity: 1
185                },
186                fill: {
187                  enabled: true,
188                  color: "#DB4C3C",
189                  opacity: 1
190                }
191              }
192            },
193            name: "CSCO"
194          }
195        ]
196      },
197      {
198        id: "idStochasticChart",
199        height: 50,
200        legend: {
201          dateTime: {
202            enabled: false
203          }
204        },
205        valueAxes: {
206          primary: {
207            position: "Left",
208            labels: {
209              position: "Outside",
210              padding: 5,
211              showFirst: false,
212              showLast: false,
213              valign: "Center",
214              background: {
215                enabled: true,
216                fill: {
217                  enabled: false,
218                  type: "Solid",
219                  color: "Gray",
220                  opacity: 0.5
221                },
222                insideMargin: {
223                  top: -5,
224                  bottom: -5
225                }
226              },
227              format: "{%Value}{numDecimals:0}"
228            },
229            scale: {
230              minimumMode: "CustomValue",
231              minimum: 0,
232              maximumMode: "CustomValue",
233              maximum: 100,
234              intervalMode: "CustomValue",
235              interval: 20
236            },
237            axisMarkers: {
238              rangeMarkers: [
239                {
240                  lowValue: 0,
241                  highValue: 20,
242                  fill: {
243                    enabled: true,
244                    type: "Solid",
245                    color: "#333333",
246                    opacity: 0.05
247                  },
248                  highLine: {
249                    enabled: true,
250                    color: "#AAAAAA",
251                    dashed: true,
252                    dashLength: 4,
253                    dashSpace: 4
254                  },
255                  lowLine: {
256                    enabled: false
257                  },
258                  labels: [
259                    {
260                      anchor: "LeftBottom",
261                      valign: "Top",
262                      halign: "Right",
263                      xPadding: 3,
264                      yPadding: 2,
265                      format: "Oversold",
266                      font: {
267                        family: "Tahoma",
268                        size: 9,
269                        color: "#333333"
270                      },
271                      background: {
272                        enabled: true,
273                        fill: {
274                          type: "Solid",
275                          color: "White"
276                        },
277                        insideMargin: {
278                          left: 5,
279                          top: 0,
280                          right: 5,
281                          bottom: 0
282                        },
283                        border: {
284                          enabled: true,
285                          color: "#333333",
286                          opacity: 0.2
287                        },
288                        corners: {
289                          type: "Rounded",
290                          all: 2
291                        }
292                      }
293                    }
294                  ]
295                },
296                {
297                  lowValue: 80,
298                  highValue: 100,
299                  fill: {
300                    enabled: true,
301                    type: "Solid",
302                    color: "#333333",
303                    opacity: 0.05
304                  },
305                  lowLine: {
306                    enabled: true,
307                    color: "#AAAAAA",
308                    dashed: true,
309                    dashLength: 4,
310                    dashSpace: 4
311                  },
312                  highLine: {
313                    enabled: false
314                  },
315                  labels: [
316                    {
317                      anchor: "LeftTop",
318                      valign: "Bottom",
319                      halign: "Right",
320                      xPadding: 3,
321                      yPadding: 2,
322                      format: "Overbought",
323                      font: {
324                        family: "Tahoma",
325                        size: 9,
326                        color: "#333333"
327                      },
328                      background: {
329                        enabled: true,
330                        fill: {
331                          type: "Solid",
332                          color: "White"
333                        },
334                        insideMargin: {
335                          left: 5,
336                          top: 0,
337                          right: 5,
338                          bottom: 0
339                        },
340                        border: {
341                          enabled: true,
342                          color: "#333333",
343                          opacity: 0.2
344                        },
345                        corners: {
346                          type: "Rounded",
347                          all: 2
348                        }
349                      }
350                    }
351                  ]
352                }
353              ]
354            }
355          }
356        },
357        technicalIndicators: [
358          {
359            type: "StochasticOscillator",
360            dataProvider: "dp1",
361            stochasticOscillatorIndicator: {
362              kSeries: {
363                id: "idStochasticKSeries",
364                name: "Fast Stochastic: %K(5)"
365              },
366              dSeries: {
367                name: "%D(3)"
368              }
369            }
370          }
371        ]
372      }
373    ],
374    timeScale: {
375      selectedRange: {
376        type: "Unit",
377        unit: "Month",
378        count: 3
379      }
380    },
381    rangeSelector: {
382      enabled: true
383    }
384  }
385}

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.