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_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   <settings>
31     <data_grouping enabled="true" max_visible_points="250" />
32     <inside_margin right="35" />
33     <charts>
34       <chart height="100">
35         <series_list>
36           <series type="Candlestick" data_provider="dp1" color="#005ECB" compare_field_type="Close">
37             <name><![CDATA[IBM]]></name>
38           </series>
39         </series_list>
40         <x_axis>
41           <labels enabled="false" />
42         </x_axis>
43         <legend>
44           <date_time>
45             <format><![CDATA[Default Color Scheme]]></format>
46             <font family="Verdana" color="#444444" bold="true" size="9" />
47           </date_time>
48         </legend>
49         <value_axes>
50           <primary position="Right">
51             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
52               <font family="Verdana" color="#444444" bold="true" size="9" />
53               <format><![CDATA[{%Value}{numDecimals:2,trailingZeros:false}]]></format>
54             </labels>
55             <scale minimum_offset="0" />
56             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
57           </primary>
58         </value_axes>
59       </chart>
60       <chart height="90">
61         <series_list>
62           <series type="Candlestick" data_provider="dp1" color="#005ECB" compare_field_type="Close">
63             <name><![CDATA[IBM]]></name>
64             <candlestick_series width="0.5">
65               <rising>
66                 <line enabled="true" color="#000000" thickness="1" opacity="1" />
67                 <border enabled="true" color="#000000" thickness="1" opacity="1" />
68                 <fill enabled="true" color="#FFFFFF" opacity="1" />
69               </rising>
70               <falling>
71                 <line enabled="true" color="#000000" thickness="1" opacity="1" />
72                 <border enabled="true" color="#000000" thickness="1" opacity="1" />
73                 <fill enabled="true" color="#494949" opacity="1" />
74               </falling>
75             </candlestick_series>
76           </series>
77         </series_list>
78         <legend>
79           <date_time>
80             <format><![CDATA[Black-White Color Scheme]]></format>
81             <font family="Verdana" color="#444444" bold="true" size="9" />
82           </date_time>
83         </legend>
84         <x_axis>
85           <labels enabled="false" />
86         </x_axis>
87         <value_axes>
88           <primary position="Right">
89             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
90               <font family="Verdana" color="#444444" bold="true" size="9" />
91               <format><![CDATA[{%Value}{numDecimals:2,trailingZeros:false}]]></format>
92             </labels>
93             <scale minimum_offset="0" />
94             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
95           </primary>
96         </value_axes>
97       </chart>
98       <chart height="90">
99         <series_list>
100           <series type="Candlestick" data_provider="dp1" color="#005ECB" compare_field_type="Close">
101             <name><![CDATA[IBM]]></name>
102             <candlestick_series width="0.5">
103               <rising>
104                 <line enabled="true" color="#7F8DA9" thickness="1" opacity="1" />
105                 <border enabled="true" color="#7F8DA9" thickness="1" opacity="1" />
106                 <fill enabled="true" color="#7F8DA9" opacity="1" />
107               </rising>
108               <falling>
109                 <line enabled="true" color="#DB4C3C" thickness="1" opacity="1" />
110                 <border enabled="true" color="#DB4C3C" thickness="1" opacity="1" />
111                 <fill enabled="true" color="#DB4C3C" opacity="1" />
112               </falling>
113             </candlestick_series>
114           </series>
115         </series_list>
116         <legend>
117           <date_time>
118             <format><![CDATA[Red-Blue Color Scheme]]></format>
119             <font family="Verdana" color="#444444" bold="true" size="9" />
120           </date_time>
121         </legend>
122         <value_axes>
123           <primary position="Right">
124             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
125               <font family="Verdana" color="#444444" bold="true" size="9" />
126               <format><![CDATA[{%Value}{numDecimals:2,trailingZeros:false}]]></format>
127             </labels>
128             <scale minimum_offset="0" />
129             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
130           </primary>
131         </value_axes>
132       </chart>
133     </charts>
134     <time_scale>
135       <selected_range type="Custom" start_date="2008-01-11" end_date="2009-07-02" />
136     </time_scale>
137   </settings>
138 </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    dataProviders: {
20      generalDataProviders: [
21        {
22          dataSet: "dataSet1",
23          id: "dp1",
24          fields: [
25            {
26              type: "Open",
27              column: 1,
28              approximationType: "Open"
29            },
30            {
31              type: "High",
32              column: 2,
33              approximationType: "High"
34            },
35            {
36              type: "Low",
37              column: 3,
38              approximationType: "Low"
39            },
40            {
41              type: "Close",
42              column: 4,
43              approximationType: "Close"
44            }
45          ]
46        }
47      ],
48      scrollerDataProviders: [
49        {
50          dataSet: "dataSet1",
51          column: 4
52        }
53      ]
54    }
55  },
56  settings: {
57    dataGrouping: {
58      enabled: true,
59      maxVisiblePoints: 250
60    },
61    insideMargin: {
62      right: 35
63    },
64    charts: [
65      {
66        height: 100,
67        seriesList: [
68          {
69            type: "Candlestick",
70            dataProvider: "dp1",
71            color: "#005ECB",
72            compareFieldType: "Close",
73            name: "IBM"
74          }
75        ],
76        xAxis: {
77          labels: {
78            enabled: false
79          }
80        },
81        legend: {
82          dateTime: {
83            format: "Default Color Scheme",
84            font: {
85              family: "Verdana",
86              color: "#444444",
87              bold: true,
88              size: 9
89            }
90          }
91        },
92        valueAxes: {
93          primary: {
94            position: "Right",
95            labels: {
96              position: "Outside",
97              padding: 3,
98              valign: "Center",
99              showFirst: true,
100              showLast: true,
101              font: {
102                family: "Verdana",
103                color: "#444444",
104                bold: true,
105                size: 9
106              },
107              format: "{%Value}{numDecimals:2,trailingZeros:false}"
108            },
109            scale: {
110              minimumOffset: 0
111            },
112            tickmarks: {
113              enabled: true,
114              showFirst: true,
115              showLast: true,
116              thickness: 1,
117              size: 3,
118              pixelHinting: true,
119              color: "#333333"
120            }
121          }
122        }
123      },
124      {
125        height: 90,
126        seriesList: [
127          {
128            type: "Candlestick",
129            dataProvider: "dp1",
130            color: "#005ECB",
131            compareFieldType: "Close",
132            name: "IBM",
133            candlestickSeries: {
134              width: 0.5,
135              rising: {
136                line: {
137                  enabled: true,
138                  color: "#000000",
139                  thickness: 1,
140                  opacity: 1
141                },
142                border: {
143                  enabled: true,
144                  color: "#000000",
145                  thickness: 1,
146                  opacity: 1
147                },
148                fill: {
149                  enabled: true,
150                  color: "#FFFFFF",
151                  opacity: 1
152                }
153              },
154              falling: {
155                line: {
156                  enabled: true,
157                  color: "#000000",
158                  thickness: 1,
159                  opacity: 1
160                },
161                border: {
162                  enabled: true,
163                  color: "#000000",
164                  thickness: 1,
165                  opacity: 1
166                },
167                fill: {
168                  enabled: true,
169                  color: "#494949",
170                  opacity: 1
171                }
172              }
173            }
174          }
175        ],
176        legend: {
177          dateTime: {
178            format: "Black-White Color Scheme",
179            font: {
180              family: "Verdana",
181              color: "#444444",
182              bold: true,
183              size: 9
184            }
185          }
186        },
187        xAxis: {
188          labels: {
189            enabled: false
190          }
191        },
192        valueAxes: {
193          primary: {
194            position: "Right",
195            labels: {
196              position: "Outside",
197              padding: 3,
198              valign: "Center",
199              showFirst: true,
200              showLast: true,
201              font: {
202                family: "Verdana",
203                color: "#444444",
204                bold: true,
205                size: 9
206              },
207              format: "{%Value}{numDecimals:2,trailingZeros:false}"
208            },
209            scale: {
210              minimumOffset: 0
211            },
212            tickmarks: {
213              enabled: true,
214              showFirst: true,
215              showLast: true,
216              thickness: 1,
217              size: 3,
218              pixelHinting: true,
219              color: "#333333"
220            }
221          }
222        }
223      },
224      {
225        height: 90,
226        seriesList: [
227          {
228            type: "Candlestick",
229            dataProvider: "dp1",
230            color: "#005ECB",
231            compareFieldType: "Close",
232            name: "IBM",
233            candlestickSeries: {
234              width: 0.5,
235              rising: {
236                line: {
237                  enabled: true,
238                  color: "#7F8DA9",
239                  thickness: 1,
240                  opacity: 1
241                },
242                border: {
243                  enabled: true,
244                  color: "#7F8DA9",
245                  thickness: 1,
246                  opacity: 1
247                },
248                fill: {
249                  enabled: true,
250                  color: "#7F8DA9",
251                  opacity: 1
252                }
253              },
254              falling: {
255                line: {
256                  enabled: true,
257                  color: "#DB4C3C",
258                  thickness: 1,
259                  opacity: 1
260                },
261                border: {
262                  enabled: true,
263                  color: "#DB4C3C",
264                  thickness: 1,
265                  opacity: 1
266                },
267                fill: {
268                  enabled: true,
269                  color: "#DB4C3C",
270                  opacity: 1
271                }
272              }
273            }
274          }
275        ],
276        legend: {
277          dateTime: {
278            format: "Red-Blue Color Scheme",
279            font: {
280              family: "Verdana",
281              color: "#444444",
282              bold: true,
283              size: 9
284            }
285          }
286        },
287        valueAxes: {
288          primary: {
289            position: "Right",
290            labels: {
291              position: "Outside",
292              padding: 3,
293              valign: "Center",
294              showFirst: true,
295              showLast: true,
296              font: {
297                family: "Verdana",
298                color: "#444444",
299                bold: true,
300                size: 9
301              },
302              format: "{%Value}{numDecimals:2,trailingZeros:false}"
303            },
304            scale: {
305              minimumOffset: 0
306            },
307            tickmarks: {
308              enabled: true,
309              showFirst: true,
310              showLast: true,
311              thickness: 1,
312              size: 3,
313              pixelHinting: true,
314              color: "#333333"
315            }
316          }
317        }
318      }
319    ],
320    timeScale: {
321      selectedRange: {
322        type: "Custom",
323        startDate: "2008-01-11",
324        endDate: "2009-07-02"
325      }
326    }
327  }
328}

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.