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/ibm_daily_short.csv">
06         <csv_settings ignore_first_row="true" rows_separator="\n" columns_separator="," />
07         <locale>
08           <date_time>
09             <format><![CDATA[%yyyy%MM%dd]]></format>
10           </date_time>
11         </locale>
12       </data_set>
13       <data_set id="dataSet2" source_url="./../../csv-data/msft_daily_short.csv">
14         <csv_settings ignore_first_row="true" rows_separator="\n" columns_separator="," />
15         <locale>
16           <date_time>
17             <format><![CDATA[%yyyy%MM%dd]]></format>
18           </date_time>
19         </locale>
20       </data_set>
21       <data_set id="dataSet3" source_url="./../../csv-data/orcl_daily_short.csv">
22         <csv_settings ignore_first_row="true" rows_separator="\n" columns_separator="," />
23         <locale>
24           <date_time>
25             <format><![CDATA[%yyyy%MM%dd]]></format>
26           </date_time>
27         </locale>
28       </data_set>
29     </data_sets>
30     <data_providers>
31       <general_data_providers>
32         <data_provider data_set="dataSet1" id="dp1">
33           <fields>
34             <field type="Open" column="1" approximation_type="Open" />
35             <field type="High" column="2" approximation_type="High" />
36             <field type="Low" column="3" approximation_type="Low" />
37             <field type="Close" column="4" approximation_type="Close" />
38             <field type="Volume" column="5" approximation_type="Average" />
39           </fields>
40         </data_provider>
41         <data_provider data_set="dataSet2" id="dp2">
42           <fields>
43             <field type="Close" column="4" approximation_type="Close" />
44           </fields>
45         </data_provider>
46         <data_provider data_set="dataSet3" id="dp3">
47           <fields>
48             <field type="Close" column="4" approximation_type="Close" />
49           </fields>
50         </data_provider>
51       </general_data_providers>
52       <scroller_data_providers>
53         <data_provider data_set="dataSet1" column="4" />
54       </scroller_data_providers>
55     </data_providers>
56   </data>
57   <settings>
58     <data_grouping enabled="true" max_visible_points="250" />
59     <inside_margin right="40" />
60     <range_selector enabled="true" />
61     <charts>
62       <chart height="100">
63         <legend>
64           <date_time enabled="true">
65             <font color="#333333" bold="true" />
66             <focus_settings>
67               <mouse_over>
68                 <format><![CDATA[{%Date.Current}{"%MMMM %dd, %yyyy"}]]></format>
69               </mouse_over>
70               <mouse_out>
71                 <format><![CDATA[{%Date.LastVisible}{"%MMMM %dd, %yyyy"}]]></format>
72               </mouse_out>
73             </focus_settings>
74           </date_time>
75           <title line_break="true">
76             <focus_settings>
77               <mouse_over>
78                 <format><![CDATA[Compare: IMB vs ORCL vs MSFT]]></format>
79               </mouse_over>
80               <mouse_out>
81                 <format><![CDATA[Compare: IMB vs ORCL vs MSFT]]></format>
82               </mouse_out>
83             </focus_settings>
84           </title>
85         </legend>
86         <series_list>
87           <series type="Candlestick" data_provider="dp1" color="#0068B6" compare_field_type="Close">
88             <name><![CDATA[IBM]]></name>
89             <candlestick_series width="0.5">
90               <rising>
91                 <line enabled="true" color="#0068B6" thickness="1" opacity="1" />
92                 <border enabled="true" color="#0068B6" thickness="1" opacity="1" />
93                 <fill enabled="true" color="#0068B6" opacity="1" />
94               </rising>
95               <falling>
96                 <line enabled="true" color="#CA0E2F" thickness="1" opacity="1" />
97                 <border enabled="true" color="#CA0E2F" thickness="1" opacity="1" />
98                 <fill enabled="true" color="#CA0E2F" opacity="1" />
99               </falling>
100             </candlestick_series>
101             <legend_item line_break="true">
102               <labels>
103                 <font color="#333333" />
104                 <focus_settings>
105                   <mouse_over>
106                     <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName} </font><font color="#707070">O: </font>{%Open.Current} <font color="#707070">H: </font>{%High.Current} <font color="#707070">L: </font>{%Low.Current} <font color="#707070">C: </font>{%Close.Current}</b> ]]></format>
107                   </mouse_over>
108                   <mouse_out>
109                     <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName} </font><font color="#707070">O: </font>{%Open.LastVisible} <font color="#707070">H: </font>{%High.LastVisible} <font color="#707070">L: </font>{%Low.LastVisible} <font color="#707070">C: </font>{%Close.LastVisible}</b> ]]></format>
110                   </mouse_out>
111                 </focus_settings>
112               </labels>
113             </legend_item>
114           </series>
115           <series type="Spline" data_provider="dp2" color="#FF9900">
116             <name><![CDATA[MSFT]]></name>
117             <line_series thickness="2" />
118           </series>
119           <series type="Line" data_provider="dp3" color="#43A052">
120             <name><![CDATA[ORCL]]></name>
121             <line_series thickness="2" />
122           </series>
123         </series_list>
124         <series_settings_defaults>
125           <line_series thickness="1">
126             <legend_item>
127               <labels>
128                 <focus_settings>
129                   <mouse_over>
130                     <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName}</font> <font color="#333333">{%Value.Current}</font> <font color="#808080">Chg:</font> <font color="%ChangeColor">{%ValueChange.Current}{plusSign:true} ({%PercentValueChange.Current}{plusSign:true}%)</font></b> ]]></format>
131                   </mouse_over>
132                   <mouse_out>
133                     <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName}</font> <font color="#333333">{%Value.LastVisible}</font> <font color="#808080">Chg:</font> <font color="%ChangeColor">{%ValueChange.LastVisible}{plusSign:true} ({%PercentValueChange.LastVisible}{plusSign:true}%)</font></b> ]]></format>
134                   </mouse_out>
135                 </focus_settings>
136               </labels>
137             </legend_item>
138           </line_series>
139         </series_settings_defaults>
140         <value_axes>
141           <primary position="Right">
142             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
143               <font family="Verdana" color="%Color" bold="true" size="9" />
144               <format><![CDATA[{%Value}{numDecimals:2,trailingZeros:false,plusSign:true}%]]></format>
145             </labels>
146             <scale mode="Changes" />
147             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
148           </primary>
149         </value_axes>
150       </chart>
151     </charts>
152     <time_scale>
153       <selected_range type="Custom" start_date="2009-01-01" end_date="2009-07-02" />
154     </time_scale>
155   </settings>
156 </stock>
01{
02  data: {
03    dataSets: [
04      {
05        id: "dataSet1",
06        sourceUrl: "./../../csv-data/ibm_daily_short.csv",
07        csvSettings: {
08          ignoreFirstRow: true,
09          rowsSeparator: "\n",
10          columnsSeparator: ","
11        },
12        locale: {
13          dateTime: {
14            format: "%yyyy%MM%dd"
15          }
16        }
17      },
18      {
19        id: "dataSet2",
20        sourceUrl: "./../../csv-data/msft_daily_short.csv",
21        csvSettings: {
22          ignoreFirstRow: true,
23          rowsSeparator: "\n",
24          columnsSeparator: ","
25        },
26        locale: {
27          dateTime: {
28            format: "%yyyy%MM%dd"
29          }
30        }
31      },
32      {
33        id: "dataSet3",
34        sourceUrl: "./../../csv-data/orcl_daily_short.csv",
35        csvSettings: {
36          ignoreFirstRow: true,
37          rowsSeparator: "\n",
38          columnsSeparator: ","
39        },
40        locale: {
41          dateTime: {
42            format: "%yyyy%MM%dd"
43          }
44        }
45      }
46    ],
47    dataProviders: {
48      generalDataProviders: [
49        {
50          dataSet: "dataSet1",
51          id: "dp1",
52          fields: [
53            {
54              type: "Open",
55              column: 1,
56              approximationType: "Open"
57            },
58            {
59              type: "High",
60              column: 2,
61              approximationType: "High"
62            },
63            {
64              type: "Low",
65              column: 3,
66              approximationType: "Low"
67            },
68            {
69              type: "Close",
70              column: 4,
71              approximationType: "Close"
72            },
73            {
74              type: "Volume",
75              column: 5,
76              approximationType: "Average"
77            }
78          ]
79        },
80        {
81          dataSet: "dataSet2",
82          id: "dp2",
83          fields: [
84            {
85              type: "Close",
86              column: 4,
87              approximationType: "Close"
88            }
89          ]
90        },
91        {
92          dataSet: "dataSet3",
93          id: "dp3",
94          fields: [
95            {
96              type: "Close",
97              column: 4,
98              approximationType: "Close"
99            }
100          ]
101        }
102      ],
103      scrollerDataProviders: [
104        {
105          dataSet: "dataSet1",
106          column: 4
107        }
108      ]
109    }
110  },
111  settings: {
112    dataGrouping: {
113      enabled: true,
114      maxVisiblePoints: 250
115    },
116    insideMargin: {
117      right: 40
118    },
119    rangeSelector: {
120      enabled: true
121    },
122    charts: [
123      {
124        height: 100,
125        legend: {
126          dateTime: {
127            enabled: true,
128            font: {
129              color: "#333333",
130              bold: true
131            },
132            focusSettings: {
133              mouseOver: {
134                format: "{%Date.Current}{\"%MMMM %dd, %yyyy\"}"
135              },
136              mouseOut: {
137                format: "{%Date.LastVisible}{\"%MMMM %dd, %yyyy\"}"
138              }
139            }
140          },
141          title: {
142            lineBreak: true,
143            focusSettings: {
144              mouseOver: {
145                format: "Compare: IMB vs ORCL vs MSFT"
146              },
147              mouseOut: {
148                format: "Compare: IMB vs ORCL vs MSFT"
149              }
150            }
151          }
152        },
153        seriesList: [
154          {
155            type: "Candlestick",
156            dataProvider: "dp1",
157            color: "#0068B6",
158            compareFieldType: "Close",
159            name: "IBM",
160            candlestickSeries: {
161              width: 0.5,
162              rising: {
163                line: {
164                  enabled: true,
165                  color: "#0068B6",
166                  thickness: 1,
167                  opacity: 1
168                },
169                border: {
170                  enabled: true,
171                  color: "#0068B6",
172                  thickness: 1,
173                  opacity: 1
174                },
175                fill: {
176                  enabled: true,
177                  color: "#0068B6",
178                  opacity: 1
179                }
180              },
181              falling: {
182                line: {
183                  enabled: true,
184                  color: "#CA0E2F",
185                  thickness: 1,
186                  opacity: 1
187                },
188                border: {
189                  enabled: true,
190                  color: "#CA0E2F",
191                  thickness: 1,
192                  opacity: 1
193                },
194                fill: {
195                  enabled: true,
196                  color: "#CA0E2F",
197                  opacity: 1
198                }
199              }
200            },
201            legendItem: {
202              lineBreak: true,
203              labels: {
204                font: {
205                  color: "#333333"
206                },
207                focusSettings: {
208                  mouseOver: {
209                    format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName} </font><font color=\"#707070\">O: </font>{%Open.Current} <font color=\"#707070\">H: </font>{%High.Current} <font color=\"#707070\">L: </font>{%Low.Current} <font color=\"#707070\">C: </font>{%Close.Current}</b> "
210                  },
211                  mouseOut: {
212                    format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName} </font><font color=\"#707070\">O: </font>{%Open.LastVisible} <font color=\"#707070\">H: </font>{%High.LastVisible} <font color=\"#707070\">L: </font>{%Low.LastVisible} <font color=\"#707070\">C: </font>{%Close.LastVisible}</b> "
213                  }
214                }
215              }
216            }
217          },
218          {
219            type: "Spline",
220            dataProvider: "dp2",
221            color: "#FF9900",
222            name: "MSFT",
223            lineSeries: {
224              thickness: 2
225            }
226          },
227          {
228            type: "Line",
229            dataProvider: "dp3",
230            color: "#43A052",
231            name: "ORCL",
232            lineSeries: {
233              thickness: 2
234            }
235          }
236        ],
237        seriesSettingsDefaults: {
238          lineSeries: {
239            thickness: 1,
240            legendItem: {
241              labels: {
242                focusSettings: {
243                  mouseOver: {
244                    format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName}</font> <font color=\"#333333\">{%Value.Current}</font> <font color=\"#808080\">Chg:</font> <font color=\"%ChangeColor\">{%ValueChange.Current}{plusSign:true} ({%PercentValueChange.Current}{plusSign:true}%)</font></b> "
245                  },
246                  mouseOut: {
247                    format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName}</font> <font color=\"#333333\">{%Value.LastVisible}</font> <font color=\"#808080\">Chg:</font> <font color=\"%ChangeColor\">{%ValueChange.LastVisible}{plusSign:true} ({%PercentValueChange.LastVisible}{plusSign:true}%)</font></b> "
248                  }
249                }
250              }
251            }
252          }
253        },
254        valueAxes: {
255          primary: {
256            position: "Right",
257            labels: {
258              position: "Outside",
259              padding: 3,
260              valign: "Center",
261              showFirst: true,
262              showLast: true,
263              font: {
264                family: "Verdana",
265                color: "%Color",
266                bold: true,
267                size: 9
268              },
269              format: "{%Value}{numDecimals:2,trailingZeros:false,plusSign:true}%"
270            },
271            scale: {
272              mode: "Changes"
273            },
274            tickmarks: {
275              enabled: true,
276              showFirst: true,
277              showLast: true,
278              thickness: 1,
279              size: 3,
280              pixelHinting: true,
281              color: "#333333"
282            }
283          }
284        }
285      }
286    ],
287    timeScale: {
288      selectedRange: {
289        type: "Custom",
290        startDate: "2009-01-01",
291        endDate: "2009-07-02"
292      }
293    }
294  }
295}

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.