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="Candlestick" data_provider="dp1" color="#253992">
42             <name><![CDATA[GOOG]]></name>
43           </series>
44         </series_list>
45         <value_axes>
46           <primary position="Right">
47             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
48               <font family="Verdana" color="#444444" bold="true" size="9" />
49               <format><![CDATA[{%Value}{numDecimals:2,trailingZeros:false}]]></format>
50             </labels>
51             <scale minimum_offset="0" />
52             <grid>
53               <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
54             </grid>
55             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
56           </primary>
57         </value_axes>
58         <x_axis>
59           <major_grid>
60             <line opacity="1" color="#D9D9D9" />
61           </major_grid>
62           <minor_grid>
63             <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
64           </minor_grid>
65         </x_axis>
66       </chart>
67       <chart height="50">
68         <legend>
69           <title enabled="false" />
70           <date_time enabled="false" />
71         </legend>
72         <value_axes>
73           <primary position="Right">
74             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
75               <font family="Verdana" color="#444444" bold="true" size="9" />
76               <format><![CDATA[{%Value}{numDecimals:2,trailingZeros:false}]]></format>
77             </labels>
78             <grid>
79               <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
80             </grid>
81             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
82             <zero_line enabled="false" />
83           </primary>
84         </value_axes>
85         <x_axis>
86           <labels enabled="false" />
87           <major_grid>
88             <line opacity="1" color="#D9D9D9" />
89           </major_grid>
90           <minor_grid>
91             <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
92           </minor_grid>
93         </x_axis>
94         <technical_indicators>
95           <technical_indicator type="DMI" data_provider="dp1">
96             <dmi_indicator period="14">
97               <pdi_series>
98                 <line_series thickness="2" />
99               </pdi_series>
100               <ndi_series>
101                 <line_series thickness="2" />
102               </ndi_series>
103             </dmi_indicator>
104           </technical_indicator>
105         </technical_indicators>
106       </chart>
107     </charts>
108     <time_scale>
109       <selected_range type="Unit" unit="Year" count="1" />
110     </time_scale>
111     <scroller>
112       <time_scale max_ticks_count="6" />
113     </scroller>
114   </settings>
115 </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: "Candlestick",
83            dataProvider: "dp1",
84            color: "#253992",
85            name: "GOOG"
86          }
87        ],
88        valueAxes: {
89          primary: {
90            position: "Right",
91            labels: {
92              position: "Outside",
93              padding: 3,
94              valign: "Center",
95              showFirst: true,
96              showLast: true,
97              font: {
98                family: "Verdana",
99                color: "#444444",
100                bold: true,
101                size: 9
102              },
103              format: "{%Value}{numDecimals:2,trailingZeros:false}"
104            },
105            scale: {
106              minimumOffset: 0
107            },
108            grid: {
109              line: {
110                dashed: true,
111                dashLength: 3,
112                dashSpace: 3,
113                pixelHinting: true
114              }
115            },
116            tickmarks: {
117              enabled: true,
118              showFirst: true,
119              showLast: true,
120              thickness: 1,
121              size: 3,
122              pixelHinting: true,
123              color: "#333333"
124            }
125          }
126        },
127        xAxis: {
128          majorGrid: {
129            line: {
130              opacity: 1,
131              color: "#D9D9D9"
132            }
133          },
134          minorGrid: {
135            line: {
136              dashed: true,
137              dashLength: 3,
138              dashSpace: 3,
139              pixelHinting: true
140            }
141          }
142        }
143      },
144      {
145        height: 50,
146        legend: {
147          title: {
148            enabled: false
149          },
150          dateTime: {
151            enabled: false
152          }
153        },
154        valueAxes: {
155          primary: {
156            position: "Right",
157            labels: {
158              position: "Outside",
159              padding: 3,
160              valign: "Center",
161              showFirst: true,
162              showLast: true,
163              font: {
164                family: "Verdana",
165                color: "#444444",
166                bold: true,
167                size: 9
168              },
169              format: "{%Value}{numDecimals:2,trailingZeros:false}"
170            },
171            grid: {
172              line: {
173                dashed: true,
174                dashLength: 3,
175                dashSpace: 3,
176                pixelHinting: true
177              }
178            },
179            tickmarks: {
180              enabled: true,
181              showFirst: true,
182              showLast: true,
183              thickness: 1,
184              size: 3,
185              pixelHinting: true,
186              color: "#333333"
187            },
188            zeroLine: {
189              enabled: false
190            }
191          }
192        },
193        xAxis: {
194          labels: {
195            enabled: false
196          },
197          majorGrid: {
198            line: {
199              opacity: 1,
200              color: "#D9D9D9"
201            }
202          },
203          minorGrid: {
204            line: {
205              dashed: true,
206              dashLength: 3,
207              dashSpace: 3,
208              pixelHinting: true
209            }
210          }
211        },
212        technicalIndicators: [
213          {
214            type: "DMI",
215            dataProvider: "dp1",
216            dmiIndicator: {
217              period: 14,
218              pdiSeries: {
219                lineSeries: {
220                  thickness: 2
221                }
222              },
223              ndiSeries: {
224                lineSeries: {
225                  thickness: 2
226                }
227              }
228            }
229          }
230        ]
231      }
232    ],
233    timeScale: {
234      selectedRange: {
235        type: "Unit",
236        unit: "Year",
237        count: 1
238      }
239    },
240    scroller: {
241      timeScale: {
242        maxTicksCount: 6
243      }
244    }
245  }
246}

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.