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/goog_daily.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             <field type="Volume" column="5" approximation_type="Average" />
23           </fields>
24         </data_provider>
25       </general_data_providers>
26       <scroller_data_providers>
27         <data_provider data_set="dataSet1" column="4" />
28       </scroller_data_providers>
29     </data_providers>
30   </data>
31   <settings>
32     <data_grouping enabled="true" max_visible_points="720" />
33     <inside_margin right="35" />
34     <range_selector enabled="true" />
35     <charts>
36       <chart height="100">
37         <legend>
38           <date_time enabled="false" />
39         </legend>
40         <series_list>
41           <series type="Area" data_provider="dp1" color="#253992">
42             <name><![CDATA[GOOG]]></name>
43             <area_series>
44               <line color="%Color" thickness="2" />
45               <fill color="%Color" opacity="0.05" />
46             </area_series>
47           </series>
48         </series_list>
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             <grid>
56               <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
57             </grid>
58             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
59             <scale minimum_offset="0" />
60           </primary>
61         </value_axes>
62         <x_axis>
63           <major_grid>
64             <line opacity="1" color="#D9D9D9" />
65           </major_grid>
66           <minor_grid>
67             <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
68           </minor_grid>
69         </x_axis>
70       </chart>
71       <chart height="50">
72         <legend>
73           <title enabled="false" />
74           <date_time enabled="false" />
75         </legend>
76         <x_axis>
77           <major_grid>
78             <line opacity="1" color="#D9D9D9" />
79           </major_grid>
80           <minor_grid>
81             <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
82           </minor_grid>
83           <labels enabled="false" />
84         </x_axis>
85         <value_axes>
86           <primary position="Right">
87             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
88               <font family="Verdana" color="#444444" bold="true" size="9" />
89               <format><![CDATA[{%Value}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:2,trailingZeros:false}]]></format>
90             </labels>
91             <grid>
92               <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
93             </grid>
94             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
95             <scale minimum_mode="CustomValue" minimum="0" />
96           </primary>
97         </value_axes>
98         <technical_indicators>
99           <technical_indicator type="VolumeMA" data_provider="dp1">
100             <volume_ma_indicator ma_period="13" ma_type="SMA">
101               <ma_series>
102                 <name><![CDATA[MA(13)]]></name>
103                 <legend_item>
104                   <labels>
105                     <focus_settings>
106                       <mouse_over>
107                         <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName} {%Value.Current}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:2}</font></b>]]></format>
108                       </mouse_over>
109                       <mouse_out>
110                         <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName} {%Value.LastVisible}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:2}</font></b>]]></format>
111                       </mouse_out>
112                     </focus_settings>
113                   </labels>
114                 </legend_item>
115               </ma_series>
116               <volume_series>
117                 <legend_item>
118                   <labels>
119                     <focus_settings>
120                       <mouse_over>
121                         <format><![CDATA[{%SeriesIcon} <b><font color="%Color">Volume: {%Value.Current}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:2}</font></b> ]]></format>
122                       </mouse_over>
123                       <mouse_out>
124                         <format><![CDATA[{%SeriesIcon} <b><font color="%Color">Volume: {%Value.LastVisible}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:2}</font></b> ]]></format>
125                       </mouse_out>
126                     </focus_settings>
127                   </labels>
128                 </legend_item>
129               </volume_series>
130             </volume_ma_indicator>
131           </technical_indicator>
132         </technical_indicators>
133       </chart>
134     </charts>
135     <time_scale>
136       <selected_range type="Unit" unit="Year" count="1" />
137     </time_scale>
138     <scroller>
139       <time_scale max_ticks_count="6" />
140     </scroller>
141   </settings>
142 </stock>
01{
02  data: {
03    dataSets: [
04      {
05        id: "dataSet1",
06        sourceUrl: "./../../csv-data/goog_daily.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              type: "Volume",
47              column: 5,
48              approximationType: "Average"
49            }
50          ]
51        }
52      ],
53      scrollerDataProviders: [
54        {
55          dataSet: "dataSet1",
56          column: 4
57        }
58      ]
59    }
60  },
61  settings: {
62    dataGrouping: {
63      enabled: true,
64      maxVisiblePoints: 720
65    },
66    insideMargin: {
67      right: 35
68    },
69    rangeSelector: {
70      enabled: true
71    },
72    charts: [
73      {
74        height: 100,
75        legend: {
76          dateTime: {
77            enabled: false
78          }
79        },
80        seriesList: [
81          {
82            type: "Area",
83            dataProvider: "dp1",
84            color: "#253992",
85            name: "GOOG",
86            areaSeries: {
87              line: {
88                color: "%Color",
89                thickness: 2
90              },
91              fill: {
92                color: "%Color",
93                opacity: 0.05
94              }
95            }
96          }
97        ],
98        valueAxes: {
99          primary: {
100            position: "Right",
101            labels: {
102              position: "Outside",
103              padding: 3,
104              valign: "Center",
105              showFirst: true,
106              showLast: true,
107              font: {
108                family: "Verdana",
109                color: "#444444",
110                bold: true,
111                size: 9
112              },
113              format: "{%Value}{numDecimals:2,trailingZeros:false}"
114            },
115            grid: {
116              line: {
117                dashed: true,
118                dashLength: 3,
119                dashSpace: 3,
120                pixelHinting: true
121              }
122            },
123            tickmarks: {
124              enabled: true,
125              showFirst: true,
126              showLast: true,
127              thickness: 1,
128              size: 3,
129              pixelHinting: true,
130              color: "#333333"
131            },
132            scale: {
133              minimumOffset: 0
134            }
135          }
136        },
137        xAxis: {
138          majorGrid: {
139            line: {
140              opacity: 1,
141              color: "#D9D9D9"
142            }
143          },
144          minorGrid: {
145            line: {
146              dashed: true,
147              dashLength: 3,
148              dashSpace: 3,
149              pixelHinting: true
150            }
151          }
152        }
153      },
154      {
155        height: 50,
156        legend: {
157          title: {
158            enabled: false
159          },
160          dateTime: {
161            enabled: false
162          }
163        },
164        xAxis: {
165          majorGrid: {
166            line: {
167              opacity: 1,
168              color: "#D9D9D9"
169            }
170          },
171          minorGrid: {
172            line: {
173              dashed: true,
174              dashLength: 3,
175              dashSpace: 3,
176              pixelHinting: true
177            }
178          },
179          labels: {
180            enabled: false
181          }
182        },
183        valueAxes: {
184          primary: {
185            position: "Right",
186            labels: {
187              position: "Outside",
188              padding: 3,
189              valign: "Center",
190              showFirst: true,
191              showLast: true,
192              font: {
193                family: "Verdana",
194                color: "#444444",
195                bold: true,
196                size: 9
197              },
198              format: "{%Value}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:2,trailingZeros:false}"
199            },
200            grid: {
201              line: {
202                dashed: true,
203                dashLength: 3,
204                dashSpace: 3,
205                pixelHinting: true
206              }
207            },
208            tickmarks: {
209              enabled: true,
210              showFirst: true,
211              showLast: true,
212              thickness: 1,
213              size: 3,
214              pixelHinting: true,
215              color: "#333333"
216            },
217            scale: {
218              minimumMode: "CustomValue",
219              minimum: 0
220            }
221          }
222        },
223        technicalIndicators: [
224          {
225            type: "VolumeMA",
226            dataProvider: "dp1",
227            volumeMaIndicator: {
228              maPeriod: 13,
229              maType: "SMA",
230              maSeries: {
231                name: "MA(13)",
232                legendItem: {
233                  labels: {
234                    focusSettings: {
235                      mouseOver: {
236                        format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName} {%Value.Current}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:2}</font></b>"
237                      },
238                      mouseOut: {
239                        format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName} {%Value.LastVisible}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:2}</font></b>"
240                      }
241                    }
242                  }
243                }
244              },
245              volumeSeries: {
246                legendItem: {
247                  labels: {
248                    focusSettings: {
249                      mouseOver: {
250                        format: "{%SeriesIcon} <b><font color=\"%Color\">Volume: {%Value.Current}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:2}</font></b> "
251                      },
252                      mouseOut: {
253                        format: "{%SeriesIcon} <b><font color=\"%Color\">Volume: {%Value.LastVisible}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:2}</font></b> "
254                      }
255                    }
256                  }
257                }
258              }
259            }
260          }
261        ]
262      }
263    ],
264    timeScale: {
265      selectedRange: {
266        type: "Unit",
267        unit: "Year",
268        count: 1
269      }
270    },
271    scroller: {
272      timeScale: {
273        maxTicksCount: 6
274      }
275    }
276  }
277}

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.