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/msft_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_set id="dataSet2" source_url="./../../csv-data/orcl_daily_short.csv">
14         <csv_settings ignore_first_row="true" rows_separator="\n" />
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/csco_daily_short.csv">
22         <csv_settings ignore_first_row="true" rows_separator="\n" />
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="s1">
33           <fields>
34             <field type="Value" column="4" approximation_type="Close" />
35           </fields>
36         </data_provider>
37         <data_provider data_set="dataSet2" id="s2">
38           <fields>
39             <field type="Value" column="4" approximation_type="Close" />
40           </fields>
41         </data_provider>
42         <data_provider data_set="dataSet3" id="s3">
43           <fields>
44             <field type="Value" column="4" approximation_type="Close" />
45           </fields>
46         </data_provider>
47       </general_data_providers>
48       <scroller_data_providers>
49         <data_provider data_set="dataSet1" column="4" />
50       </scroller_data_providers>
51     </data_providers>
52   </data>
53   <settings>
54     <inside_margin left="40" right="100" />
55     <charts>
56       <chart>
57         <value_axes>
58           <primary position="Left">
59             <grid enabled="true">
60               <line color="#A0A0A0" dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
61             </grid>
62             <labels position="Outside" padding="5" show_first="true" show_last="true" valign="Center">
63               <format><![CDATA[{%Value}{numDecimals:1}]]></format>
64             </labels>
65             <scale mode="Values" />
66           </primary>
67           <extra>
68             <axis id="extra1" position="Right" offset="5">
69               <line enabled="true" color="#A85B27" thickness="2" />
70               <labels position="Outside" padding="5" show_first="true" show_last="true" valign="Center">
71                 <format><![CDATA[{%Value}{numDecimals:1}]]></format>
72               </labels>
73               <tickmarks enabled="true" color="#A85B27" opacity="1" size="3" inside="false" outside="true" thickness="2" pixel_hinting="true" />
74               <scale mode="Values" />
75               <grid enabled="false" />
76             </axis>
77             <axis id="extra2" position="Right" offset="50">
78               <line enabled="true" color="#379B29" thickness="2" />
79               <labels position="Outside" padding="5" show_first="true" show_last="true" valign="Center">
80                 <format><![CDATA[{%Value}{numDecimals:1}]]></format>
81               </labels>
82               <tickmarks enabled="true" color="#379B29" opacity="1" size="3" inside="false" outside="true" thickness="2" pixel_hinting="true" />
83               <scale mode="Values" />
84               <grid enabled="false" />
85             </axis>
86           </extra>
87         </value_axes>
88         <x_axis>
89           <minor_grid>
90             <line color="#A0A0A0" dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
91           </minor_grid>
92           <major_grid>
93             <line color="#B5B5B5" dashed="false" />
94           </major_grid>
95         </x_axis>
96         <series_list>
97           <series type="Line" data_provider="s1" color="#275BA8" axis="Primary">
98             <name><![CDATA[MSFT]]></name>
99           </series>
100           <series type="Line" data_provider="s2" color="#A85B27" axis="extra1">
101             <name><![CDATA[ORCL]]></name>
102           </series>
103           <series type="Line" data_provider="s3" color="#379B29" axis="extra2">
104             <name><![CDATA[CSCO]]></name>
105           </series>
106         </series_list>
107       </chart>
108     </charts>
109     <time_scale>
110       <selected_range type="Custom" start_date="2008-01-01" end_date="2009-07-02" />
111     </time_scale>
112   </settings>
113 </stock>
01{
02  data: {
03    dataSets: [
04      {
05        id: "dataSet1",
06        sourceUrl: "./../../csv-data/msft_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        id: "dataSet2",
19        sourceUrl: "./../../csv-data/orcl_daily_short.csv",
20        csvSettings: {
21          ignoreFirstRow: true,
22          rowsSeparator: "\n"
23        },
24        locale: {
25          dateTime: {
26            format: "%yyyy%MM%dd"
27          }
28        }
29      },
30      {
31        id: "dataSet3",
32        sourceUrl: "./../../csv-data/csco_daily_short.csv",
33        csvSettings: {
34          ignoreFirstRow: true,
35          rowsSeparator: "\n"
36        },
37        locale: {
38          dateTime: {
39            format: "%yyyy%MM%dd"
40          }
41        }
42      }
43    ],
44    dataProviders: {
45      generalDataProviders: [
46        {
47          dataSet: "dataSet1",
48          id: "s1",
49          fields: [
50            {
51              type: "Value",
52              column: 4,
53              approximationType: "Close"
54            }
55          ]
56        },
57        {
58          dataSet: "dataSet2",
59          id: "s2",
60          fields: [
61            {
62              type: "Value",
63              column: 4,
64              approximationType: "Close"
65            }
66          ]
67        },
68        {
69          dataSet: "dataSet3",
70          id: "s3",
71          fields: [
72            {
73              type: "Value",
74              column: 4,
75              approximationType: "Close"
76            }
77          ]
78        }
79      ],
80      scrollerDataProviders: [
81        {
82          dataSet: "dataSet1",
83          column: 4
84        }
85      ]
86    }
87  },
88  settings: {
89    insideMargin: {
90      left: 40,
91      right: 100
92    },
93    charts: [
94      {
95        valueAxes: {
96          primary: {
97            position: "Left",
98            grid: {
99              enabled: true,
100              line: {
101                color: "#A0A0A0",
102                dashed: true,
103                dashLength: 3,
104                dashSpace: 3,
105                pixelHinting: true
106              }
107            },
108            labels: {
109              position: "Outside",
110              padding: 5,
111              showFirst: true,
112              showLast: true,
113              valign: "Center",
114              format: "{%Value}{numDecimals:1}"
115            },
116            scale: {
117              mode: "Values"
118            }
119          },
120          extra: [
121            {
122              id: "extra1",
123              position: "Right",
124              offset: 5,
125              line: {
126                enabled: true,
127                color: "#A85B27",
128                thickness: 2
129              },
130              labels: {
131                position: "Outside",
132                padding: 5,
133                showFirst: true,
134                showLast: true,
135                valign: "Center",
136                format: "{%Value}{numDecimals:1}"
137              },
138              tickmarks: {
139                enabled: true,
140                color: "#A85B27",
141                opacity: 1,
142                size: 3,
143                inside: false,
144                outside: true,
145                thickness: 2,
146                pixelHinting: true
147              },
148              scale: {
149                mode: "Values"
150              },
151              grid: {
152                enabled: false
153              }
154            },
155            {
156              id: "extra2",
157              position: "Right",
158              offset: 50,
159              line: {
160                enabled: true,
161                color: "#379B29",
162                thickness: 2
163              },
164              labels: {
165                position: "Outside",
166                padding: 5,
167                showFirst: true,
168                showLast: true,
169                valign: "Center",
170                format: "{%Value}{numDecimals:1}"
171              },
172              tickmarks: {
173                enabled: true,
174                color: "#379B29",
175                opacity: 1,
176                size: 3,
177                inside: false,
178                outside: true,
179                thickness: 2,
180                pixelHinting: true
181              },
182              scale: {
183                mode: "Values"
184              },
185              grid: {
186                enabled: false
187              }
188            }
189          ]
190        },
191        xAxis: {
192          minorGrid: {
193            line: {
194              color: "#A0A0A0",
195              dashed: true,
196              dashLength: 3,
197              dashSpace: 3,
198              pixelHinting: true
199            }
200          },
201          majorGrid: {
202            line: {
203              color: "#B5B5B5",
204              dashed: false
205            }
206          }
207        },
208        seriesList: [
209          {
210            type: "Line",
211            dataProvider: "s1",
212            color: "#275BA8",
213            axis: "Primary",
214            name: "MSFT"
215          },
216          {
217            type: "Line",
218            dataProvider: "s2",
219            color: "#A85B27",
220            axis: "extra1",
221            name: "ORCL"
222          },
223          {
224            type: "Line",
225            dataProvider: "s3",
226            color: "#379B29",
227            axis: "extra2",
228            name: "CSCO"
229          }
230        ]
231      }
232    ],
233    timeScale: {
234      selectedRange: {
235        type: "Custom",
236        startDate: "2008-01-01",
237        endDate: "2009-07-02"
238      }
239    }
240  }
241}

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.