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" 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/orcl_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_sets>
22     <data_providers>
23       <general_data_providers>
24         <data_provider data_set="dataSet1" id="dp1">
25           <fields>
26             <field type="Value" column="4" approximation_type="Close" />
27           </fields>
28         </data_provider>
29         <data_provider data_set="dataSet2" id="dp2">
30           <fields>
31             <field type="Value" column="4" approximation_type="Close" />
32           </fields>
33         </data_provider>
34       </general_data_providers>
35       <scroller_data_providers>
36         <data_provider data_set="dataSet1" column="4" />
37       </scroller_data_providers>
38     </data_providers>
39   </data>
40   <settings>
41     <data_grouping enabled="true" />
42     <inside_margin left="40" />
43     <charts>
44       <chart>
45         <value_axes>
46           <primary>
47             <scale mode="Values" />
48             <labels enabled="true" position="Outside" padding="5" valign="Center" show_first="true" show_last="true">
49               <format><![CDATA[{%Value}{numDecimals:0}]]></format>
50             </labels>
51           </primary>
52         </value_axes>
53         <x_axis>
54           <labels enabled="false" />
55         </x_axis>
56         <legend>
57           <date_time enabled="true">
58             <font bold="true" />
59             <focus_settings>
60               <mouse_over>
61                 <format><![CDATA[Values]]></format>
62               </mouse_over>
63               <mouse_out>
64                 <format><![CDATA[Values]]></format>
65               </mouse_out>
66             </focus_settings>
67           </date_time>
68         </legend>
69         <series_list>
70           <series type="Line" data_provider="dp1" color="#DC3912">
71             <name><![CDATA[MSFT]]></name>
72           </series>
73           <series type="Line" data_provider="dp2" color="#0066DD">
74             <name><![CDATA[ORCL]]></name>
75           </series>
76         </series_list>
77         <series_settings_defaults>
78           <line_series>
79             <legend_item>
80               <labels>
81                 <focus_settings>
82                   <mouse_over>
83                     <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName}</font> </b>{%Value.Current} ]]></format>
84                   </mouse_over>
85                   <mouse_out>
86                     <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName}</font> </b>{%Value.LastVisible} ]]></format>
87                   </mouse_out>
88                 </focus_settings>
89               </labels>
90             </legend_item>
91           </line_series>
92         </series_settings_defaults>
93       </chart>
94       <chart>
95         <value_axes>
96           <primary>
97             <scale mode="Changes" />
98             <labels enabled="true" position="Outside" padding="5" valign="Center" show_first="true" show_last="true">
99               <format><![CDATA[{%Value}{numDecimals:0}]]></format>
100             </labels>
101           </primary>
102         </value_axes>
103         <x_axis>
104           <labels enabled="false" />
105         </x_axis>
106         <legend>
107           <date_time enabled="true">
108             <font bold="true" />
109             <focus_settings>
110               <mouse_over>
111                 <format><![CDATA[Changes]]></format>
112               </mouse_over>
113               <mouse_out>
114                 <format><![CDATA[Changes]]></format>
115               </mouse_out>
116             </focus_settings>
117           </date_time>
118         </legend>
119         <series_list>
120           <series type="Line" data_provider="dp1" color="#DC3912">
121             <name><![CDATA[MSFT]]></name>
122           </series>
123           <series type="Line" data_provider="dp2" color="#0066DD">
124             <name><![CDATA[ORCL]]></name>
125           </series>
126         </series_list>
127         <series_settings_defaults>
128           <line_series>
129             <legend_item>
130               <labels>
131                 <focus_settings>
132                   <mouse_over>
133                     <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName}</font> </b>{%Value.Current} <b><font color="%ChangeColor">({%ValueChange.Current}{plusSign:true})</font></b> ]]></format>
134                   </mouse_over>
135                   <mouse_out>
136                     <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName}</font> </b>{%Value.LastVisible} <b><font color="%ChangeColor">({%ValueChange.LastVisible}{plusSign:true})</font></b> ]]></format>
137                   </mouse_out>
138                 </focus_settings>
139               </labels>
140             </legend_item>
141           </line_series>
142         </series_settings_defaults>
143       </chart>
144       <chart>
145         <value_axes>
146           <primary>
147             <scale mode="PercentChanges" />
148             <labels enabled="true" position="Outside" padding="5" valign="Center" show_first="true" show_last="true">
149               <format><![CDATA[{%Value}{numDecimals:0}%]]></format>
150             </labels>
151           </primary>
152         </value_axes>
153         <legend>
154           <date_time enabled="true">
155             <font bold="true" />
156             <focus_settings>
157               <mouse_over>
158                 <format><![CDATA[PercentChanges]]></format>
159               </mouse_over>
160               <mouse_out>
161                 <format><![CDATA[PercentChanges]]></format>
162               </mouse_out>
163             </focus_settings>
164           </date_time>
165         </legend>
166         <series_list>
167           <series type="Line" data_provider="dp1" color="#DC3912">
168             <name><![CDATA[MSFT]]></name>
169           </series>
170           <series type="Line" data_provider="dp2" color="#0066DD">
171             <name><![CDATA[ORCL]]></name>
172           </series>
173         </series_list>
174         <series_settings_defaults>
175           <line_series>
176             <legend_item>
177               <labels>
178                 <focus_settings>
179                   <mouse_over>
180                     <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName}</font> </b>{%Value.Current} <b><font color="%ChangeColor">({%PercentValueChange.Current}{plusSign:true}%)</font></b> ]]></format>
181                   </mouse_over>
182                   <mouse_out>
183                     <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName}</font> </b>{%Value.LastVisible} <b><font color="%ChangeColor">({%PercentValueChange.LastVisible}{plusSign:true}%)</font></b> ]]></format>
184                   </mouse_out>
185                 </focus_settings>
186               </labels>
187             </legend_item>
188           </line_series>
189         </series_settings_defaults>
190       </chart>
191     </charts>
192     <time_scale>
193       <selected_range type="Custom" start_date="2006-11-01" end_date="2008-05-01" />
194     </time_scale>
195   </settings>
196 </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          columnsSeparator: ","
11        },
12        locale: {
13          dateTime: {
14            format: "%yyyy%MM%dd"
15          }
16        }
17      },
18      {
19        id: "dataSet2",
20        sourceUrl: "./../../csv-data/orcl_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    dataProviders: {
34      generalDataProviders: [
35        {
36          dataSet: "dataSet1",
37          id: "dp1",
38          fields: [
39            {
40              type: "Value",
41              column: 4,
42              approximationType: "Close"
43            }
44          ]
45        },
46        {
47          dataSet: "dataSet2",
48          id: "dp2",
49          fields: [
50            {
51              type: "Value",
52              column: 4,
53              approximationType: "Close"
54            }
55          ]
56        }
57      ],
58      scrollerDataProviders: [
59        {
60          dataSet: "dataSet1",
61          column: 4
62        }
63      ]
64    }
65  },
66  settings: {
67    dataGrouping: {
68      enabled: true
69    },
70    insideMargin: {
71      left: 40
72    },
73    charts: [
74      {
75        valueAxes: {
76          primary: {
77            scale: {
78              mode: "Values"
79            },
80            labels: {
81              enabled: true,
82              position: "Outside",
83              padding: 5,
84              valign: "Center",
85              showFirst: true,
86              showLast: true,
87              format: "{%Value}{numDecimals:0}"
88            }
89          }
90        },
91        xAxis: {
92          labels: {
93            enabled: false
94          }
95        },
96        legend: {
97          dateTime: {
98            enabled: true,
99            font: {
100              bold: true
101            },
102            focusSettings: {
103              mouseOver: {
104                format: "Values"
105              },
106              mouseOut: {
107                format: "Values"
108              }
109            }
110          }
111        },
112        seriesList: [
113          {
114            type: "Line",
115            dataProvider: "dp1",
116            color: "#DC3912",
117            name: "MSFT"
118          },
119          {
120            type: "Line",
121            dataProvider: "dp2",
122            color: "#0066DD",
123            name: "ORCL"
124          }
125        ],
126        seriesSettingsDefaults: {
127          lineSeries: {
128            legendItem: {
129              labels: {
130                focusSettings: {
131                  mouseOver: {
132                    format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName}</font> </b>{%Value.Current} "
133                  },
134                  mouseOut: {
135                    format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName}</font> </b>{%Value.LastVisible} "
136                  }
137                }
138              }
139            }
140          }
141        }
142      },
143      {
144        valueAxes: {
145          primary: {
146            scale: {
147              mode: "Changes"
148            },
149            labels: {
150              enabled: true,
151              position: "Outside",
152              padding: 5,
153              valign: "Center",
154              showFirst: true,
155              showLast: true,
156              format: "{%Value}{numDecimals:0}"
157            }
158          }
159        },
160        xAxis: {
161          labels: {
162            enabled: false
163          }
164        },
165        legend: {
166          dateTime: {
167            enabled: true,
168            font: {
169              bold: true
170            },
171            focusSettings: {
172              mouseOver: {
173                format: "Changes"
174              },
175              mouseOut: {
176                format: "Changes"
177              }
178            }
179          }
180        },
181        seriesList: [
182          {
183            type: "Line",
184            dataProvider: "dp1",
185            color: "#DC3912",
186            name: "MSFT"
187          },
188          {
189            type: "Line",
190            dataProvider: "dp2",
191            color: "#0066DD",
192            name: "ORCL"
193          }
194        ],
195        seriesSettingsDefaults: {
196          lineSeries: {
197            legendItem: {
198              labels: {
199                focusSettings: {
200                  mouseOver: {
201                    format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName}</font> </b>{%Value.Current} <b><font color=\"%ChangeColor\">({%ValueChange.Current}{plusSign:true})</font></b> "
202                  },
203                  mouseOut: {
204                    format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName}</font> </b>{%Value.LastVisible} <b><font color=\"%ChangeColor\">({%ValueChange.LastVisible}{plusSign:true})</font></b> "
205                  }
206                }
207              }
208            }
209          }
210        }
211      },
212      {
213        valueAxes: {
214          primary: {
215            scale: {
216              mode: "PercentChanges"
217            },
218            labels: {
219              enabled: true,
220              position: "Outside",
221              padding: 5,
222              valign: "Center",
223              showFirst: true,
224              showLast: true,
225              format: "{%Value}{numDecimals:0}%"
226            }
227          }
228        },
229        legend: {
230          dateTime: {
231            enabled: true,
232            font: {
233              bold: true
234            },
235            focusSettings: {
236              mouseOver: {
237                format: "PercentChanges"
238              },
239              mouseOut: {
240                format: "PercentChanges"
241              }
242            }
243          }
244        },
245        seriesList: [
246          {
247            type: "Line",
248            dataProvider: "dp1",
249            color: "#DC3912",
250            name: "MSFT"
251          },
252          {
253            type: "Line",
254            dataProvider: "dp2",
255            color: "#0066DD",
256            name: "ORCL"
257          }
258        ],
259        seriesSettingsDefaults: {
260          lineSeries: {
261            legendItem: {
262              labels: {
263                focusSettings: {
264                  mouseOver: {
265                    format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName}</font> </b>{%Value.Current} <b><font color=\"%ChangeColor\">({%PercentValueChange.Current}{plusSign:true}%)</font></b> "
266                  },
267                  mouseOut: {
268                    format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName}</font> </b>{%Value.LastVisible} <b><font color=\"%ChangeColor\">({%PercentValueChange.LastVisible}{plusSign:true}%)</font></b> "
269                  }
270                }
271              }
272            }
273          }
274        }
275      }
276    ],
277    timeScale: {
278      selectedRange: {
279        type: "Custom",
280        startDate: "2006-11-01",
281        endDate: "2008-05-01"
282      }
283    }
284  }
285}

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.