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_sets>
14     <data_providers>
15       <general_data_providers>
16         <data_provider data_set="dataSet1" id="dpS1">
17           <fields>
18             <field type="Value" column="4" approximation_type="Close" />
19           </fields>
20         </data_provider>
21       </general_data_providers>
22       <scroller_data_providers>
23         <data_provider data_set="dataSet1" column="4" />
24       </scroller_data_providers>
25     </data_providers>
26   </data>
27   <settings>
28     <data_grouping enabled="true" max_visible_points="50" />
29     <inside_margin left="40" />
30     <charts>
31       <chart>
32         <value_axes>
33           <primary>
34             <scale minimum_mode="CustomValue" minimum="-50" maximum_mode="CustomValue" maximum="50" interval_mode="CustomValue" interval="10" />
35             <labels position="Outside" valign="Center" padding="5" show_first="true" show_last="true">
36               <format><![CDATA[{%Value}{numDecimals:0}]]></format>
37             </labels>
38           </primary>
39         </value_axes>
40         <series_list>
41           <series type="Area" data_provider="dpS1" color="#DC3912">
42             <name><![CDATA[Sample]]></name>
43           </series>
44         </series_list>
45         <legend>
46           <title enabled="false" />
47           <date_time enabled="true">
48             <focus_settings>
49               <mouse_over>
50                 <font bold="false" />
51                 <format><![CDATA[minimum="-50", maximum="50", interval="10"]]></format>
52               </mouse_over>
53               <mouse_out>
54                 <font bold="false" />
55                 <format><![CDATA[minimum="-50", maximum="50", interval="10"]]></format>
56               </mouse_out>
57             </focus_settings>
58           </date_time>
59         </legend>
60       </chart>
61       <chart>
62         <value_axes>
63           <primary>
64             <scale />
65             <labels position="Outside" valign="Center" padding="5" show_first="true" show_last="true">
66               <format><![CDATA[{%Value}{numDecimals:0}]]></format>
67             </labels>
68           </primary>
69         </value_axes>
70         <series_list>
71           <series type="Area" data_provider="dpS1" color="#DC3912">
72             <name><![CDATA[Sample]]></name>
73           </series>
74         </series_list>
75         <legend>
76           <title enabled="false" />
77           <date_time enabled="true">
78             <focus_settings>
79               <mouse_over>
80                 <font bold="false" />
81                 <format><![CDATA[minimum="AutoByVisibleRange", maximum="AutoByVisibleRange"]]></format>
82               </mouse_over>
83               <mouse_out>
84                 <font bold="false" />
85                 <format><![CDATA[minimum="AutoByVisibleRange", maximum="AutoByVisibleRange"]]></format>
86               </mouse_out>
87             </focus_settings>
88           </date_time>
89         </legend>
90       </chart>
91       <chart>
92         <value_axes>
93           <primary>
94             <scale minimum_mode="AutoByAllRange" maximum_mode="AutoByAllRange" />
95             <labels position="Outside" valign="Center" padding="5" show_first="true" show_last="true">
96               <format><![CDATA[{%Value}{numDecimals:0}]]></format>
97             </labels>
98           </primary>
99         </value_axes>
100         <series_list>
101           <series type="Area" data_provider="dpS1" color="#DC3912">
102             <name><![CDATA[Sample]]></name>
103           </series>
104         </series_list>
105         <legend>
106           <title enabled="false" />
107           <date_time enabled="true">
108             <focus_settings>
109               <mouse_over>
110                 <font bold="false" />
111                 <format><![CDATA[minimum="AutoByAllRange", maximum="AutoByAllRange"]]></format>
112               </mouse_over>
113               <mouse_out>
114                 <font bold="false" />
115                 <format><![CDATA[minimum="AutoByAllRange", maximum="AutoByAllRange"]]></format>
116               </mouse_out>
117             </focus_settings>
118           </date_time>
119         </legend>
120         <x_axis>
121           <labels enabled="true" />
122         </x_axis>
123       </chart>
124     </charts>
125     <defaults>
126       <chart>
127         <legend>
128           <title>
129             <focus_settings>
130               <mouse_over>
131                 <format><![CDATA[{%Date.Current}{"%yyyy-%MM-%dd"}]]></format>
132               </mouse_over>
133               <mouse_out>
134                 <format><![CDATA[{%Date.LastVisible}{"%yyyy-%MM-%dd"}]]></format>
135               </mouse_out>
136             </focus_settings>
137           </title>
138         </legend>
139         <x_axis>
140           <labels enabled="false" />
141         </x_axis>
142         <series_settings_defaults>
143           <area_series>
144             <marker>
145               <states>
146                 <normal enabled="true" />
147               </states>
148             </marker>
149             <fill opacity="0.1" />
150           </area_series>
151         </series_settings_defaults>
152       </chart>
153     </defaults>
154     <time_scale>
155       <selected_range type="Custom" start_date="2005-01-03" end_date="2008-05-01" />
156     </time_scale>
157   </settings>
158 </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    dataProviders: {
20      generalDataProviders: [
21        {
22          dataSet: "dataSet1",
23          id: "dpS1",
24          fields: [
25            {
26              type: "Value",
27              column: 4,
28              approximationType: "Close"
29            }
30          ]
31        }
32      ],
33      scrollerDataProviders: [
34        {
35          dataSet: "dataSet1",
36          column: 4
37        }
38      ]
39    }
40  },
41  settings: {
42    dataGrouping: {
43      enabled: true,
44      maxVisiblePoints: 50
45    },
46    insideMargin: {
47      left: 40
48    },
49    charts: [
50      {
51        valueAxes: {
52          primary: {
53            scale: {
54              minimumMode: "CustomValue",
55              minimum: -50,
56              maximumMode: "CustomValue",
57              maximum: 50,
58              intervalMode: "CustomValue",
59              interval: 10
60            },
61            labels: {
62              position: "Outside",
63              valign: "Center",
64              padding: 5,
65              showFirst: true,
66              showLast: true,
67              format: "{%Value}{numDecimals:0}"
68            }
69          }
70        },
71        seriesList: [
72          {
73            type: "Area",
74            dataProvider: "dpS1",
75            color: "#DC3912",
76            name: "Sample"
77          }
78        ],
79        legend: {
80          title: {
81            enabled: false
82          },
83          dateTime: {
84            enabled: true,
85            focusSettings: {
86              mouseOver: {
87                font: {
88                  bold: false
89                },
90                format: "minimum=\"-50\", maximum=\"50\", interval=\"10\""
91              },
92              mouseOut: {
93                font: {
94                  bold: false
95                },
96                format: "minimum=\"-50\", maximum=\"50\", interval=\"10\""
97              }
98            }
99          }
100        }
101      },
102      {
103        valueAxes: {
104          primary: {
105            scale: {},
106            labels: {
107              position: "Outside",
108              valign: "Center",
109              padding: 5,
110              showFirst: true,
111              showLast: true,
112              format: "{%Value}{numDecimals:0}"
113            }
114          }
115        },
116        seriesList: [
117          {
118            type: "Area",
119            dataProvider: "dpS1",
120            color: "#DC3912",
121            name: "Sample"
122          }
123        ],
124        legend: {
125          title: {
126            enabled: false
127          },
128          dateTime: {
129            enabled: true,
130            focusSettings: {
131              mouseOver: {
132                font: {
133                  bold: false
134                },
135                format: "minimum=\"AutoByVisibleRange\", maximum=\"AutoByVisibleRange\""
136              },
137              mouseOut: {
138                font: {
139                  bold: false
140                },
141                format: "minimum=\"AutoByVisibleRange\", maximum=\"AutoByVisibleRange\""
142              }
143            }
144          }
145        }
146      },
147      {
148        valueAxes: {
149          primary: {
150            scale: {
151              minimumMode: "AutoByAllRange",
152              maximumMode: "AutoByAllRange"
153            },
154            labels: {
155              position: "Outside",
156              valign: "Center",
157              padding: 5,
158              showFirst: true,
159              showLast: true,
160              format: "{%Value}{numDecimals:0}"
161            }
162          }
163        },
164        seriesList: [
165          {
166            type: "Area",
167            dataProvider: "dpS1",
168            color: "#DC3912",
169            name: "Sample"
170          }
171        ],
172        legend: {
173          title: {
174            enabled: false
175          },
176          dateTime: {
177            enabled: true,
178            focusSettings: {
179              mouseOver: {
180                font: {
181                  bold: false
182                },
183                format: "minimum=\"AutoByAllRange\", maximum=\"AutoByAllRange\""
184              },
185              mouseOut: {
186                font: {
187                  bold: false
188                },
189                format: "minimum=\"AutoByAllRange\", maximum=\"AutoByAllRange\""
190              }
191            }
192          }
193        },
194        xAxis: {
195          labels: {
196            enabled: true
197          }
198        }
199      }
200    ],
201    defaults: {
202      chart: {
203        legend: {
204          title: {
205            focusSettings: {
206              mouseOver: {
207                format: "{%Date.Current}{\"%yyyy-%MM-%dd\"}"
208              },
209              mouseOut: {
210                format: "{%Date.LastVisible}{\"%yyyy-%MM-%dd\"}"
211              }
212            }
213          }
214        },
215        xAxis: {
216          labels: {
217            enabled: false
218          }
219        },
220        seriesSettingsDefaults: {
221          areaSeries: {
222            marker: {
223              states: {
224                normal: {
225                  enabled: true
226                }
227              }
228            },
229            fill: {
230              opacity: 0.1
231            }
232          }
233        }
234      }
235    },
236    timeScale: {
237      selectedRange: {
238        type: "Custom",
239        startDate: "2005-01-03",
240        endDate: "2008-05-01"
241      }
242    }
243  }
244}

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.