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/orcl_intraday.csv">
06         <csv_settings ignore_first_row="true" rows_separator="\n" columns_separator="," />
07         <locale>
08           <date_time>
09             <format><![CDATA[%u]]></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="Close" column="4" approximation_type="Close" />
19             <field type="Volume" column="5" approximation_type="Average" />
20           </fields>
21         </data_provider>
22       </general_data_providers>
23       <scroller_data_providers>
24         <data_provider data_set="dataSet1" column="4" />
25       </scroller_data_providers>
26     </data_providers>
27   </data>
28   <settings>
29     <data_grouping enabled="true" max_visible_points="500" />
30     <inside_margin left="40" />
31     <charts>
32       <chart height="100">
33         <legend>
34           <date_time enabled="false" />
35           <background>
36             <fill type="Solid" color="White" />
37           </background>
38           <title enabled="true">
39             <focus_settings>
40               <mouse_over>
41                 <format><![CDATA[{%Date.Current}{"%MMMM %d, %yyyy %h:%mm %tt"}: ]]></format>
42               </mouse_over>
43               <mouse_out>
44                 <format><![CDATA[{%Date.LastVisible}{"%MMMM %d, %yyyy %h:%mm %tt"}: ]]></format>
45               </mouse_out>
46             </focus_settings>
47           </title>
48         </legend>
49         <series_list>
50           <series type="Area" data_provider="dp1" color="#7F8DA9">
51             <name><![CDATA[MSFT:]]></name>
52             <area_series>
53               <fill opacity="0.2" />
54               <line thickness="1" color="DarkColor(%Color)" />
55             </area_series>
56             <legend_item>
57               <labels>
58                 <icon type="Circle" size="6" />
59                 <focus_settings>
60                   <mouse_over>
61                     <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName}</font> <font color="#808080">Value:</font> <font color="#333333">{%Value.Current}</font> <font color="#808080">Change:</font> <font color="%ChangeColor">{%ValueChange.Current}{plusSign:true} ({%PercentValueChange.Current}{plusSign:true}%)</font></b> ]]></format>
62                   </mouse_over>
63                   <mouse_out>
64                     <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName}</font> <font color="#808080">Last Value:</font> <font color="#333333">{%Value.LastVisible}</font> <font color="#808080">Change:</font> <font color="%ChangeColor">{%ValueChange.LastVisible}{plusSign:true} ({%PercentValueChange.LastVisible}{plusSign:true}%)</font></b> ]]></format>
65                   </mouse_out>
66                 </focus_settings>
67               </labels>
68             </legend_item>
69           </series>
70         </series_list>
71         <value_axes>
72           <primary enabled="true">
73             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
74               <format><![CDATA[{%Value}{numDecimals:2}]]></format>
75               <font family="Tahoma" size="9" bold="true" color="#333333" />
76             </labels>
77             <scale mode="Values" type="Linear" minimum_offset="0" optimal_step_count="5" />
78           </primary>
79         </value_axes>
80         <x_axis>
81           <labels>
82             <background>
83               <fill type="Solid" color="#FDFDFD" />
84             </background>
85           </labels>
86         </x_axis>
87       </chart>
88       <chart height="40">
89         <technical_indicators>
90           <technical_indicator type="Volume" data_provider="dp1">
91             <volume_indicator>
92               <series type="Bar" />
93             </volume_indicator>
94           </technical_indicator>
95         </technical_indicators>
96         <x_axis>
97           <labels enabled="false" />
98         </x_axis>
99         <legend>
100           <date_time enabled="false" />
101           <background>
102             <fill type="Solid" color="White" />
103           </background>
104           <title enabled="false" />
105         </legend>
106         <value_axes>
107           <primary enabled="true">
108             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
109               <format><![CDATA[{%Value}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:0}]]></format>
110               <font family="Tahoma" size="9" bold="true" color="#333333" />
111             </labels>
112             <scale mode="Values" type="Linear" minimum_offset="0" optimal_step_count="5" />
113           </primary>
114         </value_axes>
115       </chart>
116     </charts>
117     <time_scale>
118       <selected_range type="Unit" unit="Hour" count="7" />
119     </time_scale>
120     <range_selector enabled="true">
121       <presets>
122         <button_settings spacing="5" />
123         <ranges>
124           <range type="Unit" unit="Hour" count="7">
125             <format><![CDATA[6h]]></format>
126           </range>
127           <range type="Unit" unit="Hour" count="7">
128             <format><![CDATA[12h]]></format>
129           </range>
130           <range type="Unit" unit="Day" count="1">
131             <format><![CDATA[1D]]></format>
132           </range>
133           <range type="Unit" unit="Day" count="3">
134             <format><![CDATA[3D]]></format>
135           </range>
136           <range type="Unit" unit="Day" count="5">
137             <format><![CDATA[5D]]></format>
138           </range>
139           <range type="Max">
140             <format><![CDATA[MAX]]></format>
141           </range>
142         </ranges>
143       </presets>
144       <range_picker enabled="false" />
145     </range_selector>
146     <scroller>
147       <time_scale max_ticks_count="8" />
148     </scroller>
149   </settings>
150 </stock>
01{
02  data: {
03    dataSets: [
04      {
05        id: "dataSet1",
06        sourceUrl: "./../../csv-data/orcl_intraday.csv",
07        csvSettings: {
08          ignoreFirstRow: true,
09          rowsSeparator: "\n",
10          columnsSeparator: ","
11        },
12        locale: {
13          dateTime: {
14            format: "%u"
15          }
16        }
17      }
18    ],
19    dataProviders: {
20      generalDataProviders: [
21        {
22          dataSet: "dataSet1",
23          id: "dp1",
24          fields: [
25            {
26              type: "Close",
27              column: 4,
28              approximationType: "Close"
29            },
30            {
31              type: "Volume",
32              column: 5,
33              approximationType: "Average"
34            }
35          ]
36        }
37      ],
38      scrollerDataProviders: [
39        {
40          dataSet: "dataSet1",
41          column: 4
42        }
43      ]
44    }
45  },
46  settings: {
47    dataGrouping: {
48      enabled: true,
49      maxVisiblePoints: 500
50    },
51    insideMargin: {
52      left: 40
53    },
54    charts: [
55      {
56        height: 100,
57        legend: {
58          dateTime: {
59            enabled: false
60          },
61          background: {
62            fill: {
63              type: "Solid",
64              color: "White"
65            }
66          },
67          title: {
68            enabled: true,
69            focusSettings: {
70              mouseOver: {
71                format: "{%Date.Current}{\"%MMMM %d, %yyyy %h:%mm %tt\"}: "
72              },
73              mouseOut: {
74                format: "{%Date.LastVisible}{\"%MMMM %d, %yyyy %h:%mm %tt\"}: "
75              }
76            }
77          }
78        },
79        seriesList: [
80          {
81            type: "Area",
82            dataProvider: "dp1",
83            color: "#7F8DA9",
84            name: "MSFT:",
85            areaSeries: {
86              fill: {
87                opacity: 0.2
88              },
89              line: {
90                thickness: 1,
91                color: "DarkColor(%Color)"
92              }
93            },
94            legendItem: {
95              labels: {
96                icon: {
97                  type: "Circle",
98                  size: 6
99                },
100                focusSettings: {
101                  mouseOver: {
102                    format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName}</font> <font color=\"#808080\">Value:</font> <font color=\"#333333\">{%Value.Current}</font> <font color=\"#808080\">Change:</font> <font color=\"%ChangeColor\">{%ValueChange.Current}{plusSign:true} ({%PercentValueChange.Current}{plusSign:true}%)</font></b> "
103                  },
104                  mouseOut: {
105                    format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName}</font> <font color=\"#808080\">Last Value:</font> <font color=\"#333333\">{%Value.LastVisible}</font> <font color=\"#808080\">Change:</font> <font color=\"%ChangeColor\">{%ValueChange.LastVisible}{plusSign:true} ({%PercentValueChange.LastVisible}{plusSign:true}%)</font></b> "
106                  }
107                }
108              }
109            }
110          }
111        ],
112        valueAxes: {
113          primary: {
114            enabled: true,
115            labels: {
116              position: "Outside",
117              padding: 3,
118              valign: "Center",
119              showFirst: true,
120              showLast: true,
121              format: "{%Value}{numDecimals:2}",
122              font: {
123                family: "Tahoma",
124                size: 9,
125                bold: true,
126                color: "#333333"
127              }
128            },
129            scale: {
130              mode: "Values",
131              type: "Linear",
132              minimumOffset: 0,
133              optimalStepCount: 5
134            }
135          }
136        },
137        xAxis: {
138          labels: {
139            background: {
140              fill: {
141                type: "Solid",
142                color: "#FDFDFD"
143              }
144            }
145          }
146        }
147      },
148      {
149        height: 40,
150        technicalIndicators: [
151          {
152            type: "Volume",
153            dataProvider: "dp1",
154            volumeIndicator: {
155              series: {
156                type: "Bar"
157              }
158            }
159          }
160        ],
161        xAxis: {
162          labels: {
163            enabled: false
164          }
165        },
166        legend: {
167          dateTime: {
168            enabled: false
169          },
170          background: {
171            fill: {
172              type: "Solid",
173              color: "White"
174            }
175          },
176          title: {
177            enabled: false
178          }
179        },
180        valueAxes: {
181          primary: {
182            enabled: true,
183            labels: {
184              position: "Outside",
185              padding: 3,
186              valign: "Center",
187              showFirst: true,
188              showLast: true,
189              format: "{%Value}{scale:(1000)(1000)(1000)|( K)( M)( B),numDecimals:0}",
190              font: {
191                family: "Tahoma",
192                size: 9,
193                bold: true,
194                color: "#333333"
195              }
196            },
197            scale: {
198              mode: "Values",
199              type: "Linear",
200              minimumOffset: 0,
201              optimalStepCount: 5
202            }
203          }
204        }
205      }
206    ],
207    timeScale: {
208      selectedRange: {
209        type: "Unit",
210        unit: "Hour",
211        count: 7
212      }
213    },
214    rangeSelector: {
215      enabled: true,
216      presets: {
217        buttonSettings: {
218          spacing: 5
219        },
220        ranges: [
221          {
222            type: "Unit",
223            unit: "Hour",
224            count: 7,
225            format: "6h"
226          },
227          {
228            type: "Unit",
229            unit: "Hour",
230            count: 7,
231            format: "12h"
232          },
233          {
234            type: "Unit",
235            unit: "Day",
236            count: 1,
237            format: "1D"
238          },
239          {
240            type: "Unit",
241            unit: "Day",
242            count: 3,
243            format: "3D"
244          },
245          {
246            type: "Unit",
247            unit: "Day",
248            count: 5,
249            format: "5D"
250          },
251          {
252            type: "Max",
253            format: "MAX"
254          }
255        ]
256      },
257      rangePicker: {
258        enabled: false
259      }
260    },
261    scroller: {
262      timeScale: {
263        maxTicksCount: 8
264      }
265    }
266  }
267}

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.