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="OHLC" 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="OHLC" data_provider="dp1" color="#005ECB" compare_field_type="Close">
63             <name><![CDATA[IBM]]></name>
64             <ohlc_series width="0.5">
65               <rising color="Black" />
66               <falling color="#CF003B" />
67             </ohlc_series>
68           </series>
69         </series_list>
70         <legend>
71           <date_time>
72             <format><![CDATA[Black-Red Color Scheme]]></format>
73             <font family="Verdana" color="#444444" bold="true" size="9" />
74           </date_time>
75         </legend>
76         <x_axis>
77           <labels enabled="false" />
78         </x_axis>
79         <value_axes>
80           <primary position="Right">
81             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
82               <font family="Verdana" color="#444444" bold="true" size="9" />
83               <format><![CDATA[{%Value}{numDecimals:2,trailingZeros:false}]]></format>
84             </labels>
85             <scale minimum_offset="0" />
86             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
87           </primary>
88         </value_axes>
89       </chart>
90       <chart height="90">
91         <series_list>
92           <series type="OHLC" data_provider="dp1" color="#005ECB" compare_field_type="Close">
93             <name><![CDATA[IBM]]></name>
94             <ohlc_series width="0.5">
95               <rising enabled="true" thickness="2" color="#7F8DA9" opacity="1" />
96               <falling enabled="true" thickness="2" color="#DB4C3C" opacity="1" />
97             </ohlc_series>
98           </series>
99         </series_list>
100         <legend>
101           <date_time>
102             <format><![CDATA[Red-Blue Color Scheme]]></format>
103             <font family="Verdana" color="#444444" bold="true" size="9" />
104           </date_time>
105         </legend>
106         <value_axes>
107           <primary position="Right">
108             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
109               <font family="Verdana" color="#444444" bold="true" size="9" />
110               <format><![CDATA[{%Value}{numDecimals:2,trailingZeros:false}]]></format>
111             </labels>
112             <scale minimum_offset="0" />
113             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
114           </primary>
115         </value_axes>
116       </chart>
117     </charts>
118     <time_scale>
119       <selected_range type="Custom" start_date="2008-01-11" end_date="2009-07-02" />
120     </time_scale>
121   </settings>
122 </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: "OHLC",
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: "OHLC",
129            dataProvider: "dp1",
130            color: "#005ECB",
131            compareFieldType: "Close",
132            name: "IBM",
133            ohlcSeries: {
134              width: 0.5,
135              rising: {
136                color: "Black"
137              },
138              falling: {
139                color: "#CF003B"
140              }
141            }
142          }
143        ],
144        legend: {
145          dateTime: {
146            format: "Black-Red Color Scheme",
147            font: {
148              family: "Verdana",
149              color: "#444444",
150              bold: true,
151              size: 9
152            }
153          }
154        },
155        xAxis: {
156          labels: {
157            enabled: false
158          }
159        },
160        valueAxes: {
161          primary: {
162            position: "Right",
163            labels: {
164              position: "Outside",
165              padding: 3,
166              valign: "Center",
167              showFirst: true,
168              showLast: true,
169              font: {
170                family: "Verdana",
171                color: "#444444",
172                bold: true,
173                size: 9
174              },
175              format: "{%Value}{numDecimals:2,trailingZeros:false}"
176            },
177            scale: {
178              minimumOffset: 0
179            },
180            tickmarks: {
181              enabled: true,
182              showFirst: true,
183              showLast: true,
184              thickness: 1,
185              size: 3,
186              pixelHinting: true,
187              color: "#333333"
188            }
189          }
190        }
191      },
192      {
193        height: 90,
194        seriesList: [
195          {
196            type: "OHLC",
197            dataProvider: "dp1",
198            color: "#005ECB",
199            compareFieldType: "Close",
200            name: "IBM",
201            ohlcSeries: {
202              width: 0.5,
203              rising: {
204                enabled: true,
205                thickness: 2,
206                color: "#7F8DA9",
207                opacity: 1
208              },
209              falling: {
210                enabled: true,
211                thickness: 2,
212                color: "#DB4C3C",
213                opacity: 1
214              }
215            }
216          }
217        ],
218        legend: {
219          dateTime: {
220            format: "Red-Blue Color Scheme",
221            font: {
222              family: "Verdana",
223              color: "#444444",
224              bold: true,
225              size: 9
226            }
227          }
228        },
229        valueAxes: {
230          primary: {
231            position: "Right",
232            labels: {
233              position: "Outside",
234              padding: 3,
235              valign: "Center",
236              showFirst: true,
237              showLast: true,
238              font: {
239                family: "Verdana",
240                color: "#444444",
241                bold: true,
242                size: 9
243              },
244              format: "{%Value}{numDecimals:2,trailingZeros:false}"
245            },
246            scale: {
247              minimumOffset: 0
248            },
249            tickmarks: {
250              enabled: true,
251              showFirst: true,
252              showLast: true,
253              thickness: 1,
254              size: 3,
255              pixelHinting: true,
256              color: "#333333"
257            }
258          }
259        }
260      }
261    ],
262    timeScale: {
263      selectedRange: {
264        type: "Custom",
265        startDate: "2008-01-11",
266        endDate: "2009-07-02"
267      }
268    }
269  }
270}

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.