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_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="Line" data_provider="dp1" color="#DB2A0E">
42             <name><![CDATA[ORCL]]></name>
43             <line_series thickness="2" />
44             <legend_item enabled="true">
45               <labels>
46                 <font color="#333333" />
47                 <focus_settings>
48                   <mouse_over>
49                     <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName} </font><font color="#707070">O: </font>{%Open.Current} <font color="#707070">H: </font>{%High.Current} <font color="#707070">L: </font>{%Low.Current} <font color="#707070">C: </font>{%Close.Current}</b> ]]></format>
50                   </mouse_over>
51                   <mouse_out>
52                     <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName} </font><font color="#707070">O: </font>{%Open.LastVisible} <font color="#707070">H: </font>{%High.LastVisible} <font color="#707070">L: </font>{%Low.LastVisible} <font color="#707070">C: </font>{%Close.LastVisible}</b> ]]></format>
53                   </mouse_out>
54                 </focus_settings>
55               </labels>
56             </legend_item>
57           </series>
58         </series_list>
59         <value_axes>
60           <primary position="Right">
61             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
62               <font family="Verdana" color="#444444" bold="true" size="9" />
63               <format><![CDATA[{%Value}{numDecimals:2,trailingZeros:false}]]></format>
64             </labels>
65             <scale minimum_offset="0" />
66             <grid>
67               <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
68             </grid>
69             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
70           </primary>
71         </value_axes>
72         <x_axis>
73           <major_grid>
74             <line opacity="1" color="#D9D9D9" />
75           </major_grid>
76           <minor_grid>
77             <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
78           </minor_grid>
79         </x_axis>
80       </chart>
81       <chart height="40">
82         <legend>
83           <title enabled="false" />
84           <date_time enabled="false" />
85         </legend>
86         <value_axes>
87           <primary position="Right">
88             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
89               <font family="Verdana" color="#444444" bold="true" size="9" />
90               <format><![CDATA[{%Value}{numDecimals:2,trailingZeros:false}]]></format>
91             </labels>
92             <scale minimum_mode="CustomValue" minimum="-100" maximum_mode="CustomValue" maximum="0" interval_mode="CustomValue" interval="20" />
93             <grid>
94               <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
95             </grid>
96             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
97           </primary>
98         </value_axes>
99         <x_axis>
100           <major_grid>
101             <line opacity="1" color="#D9D9D9" />
102           </major_grid>
103           <minor_grid>
104             <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
105           </minor_grid>
106           <labels enabled="false" />
107         </x_axis>
108         <technical_indicators>
109           <technical_indicator type="WilliamsR" data_provider="dp1">
110             <williams_r_indicator period="14">
111               <series type="Line" color="#253992">
112                 <name><![CDATA[Williams %R(14)]]></name>
113                 <legend_item enabled="true">
114                   <labels>
115                     <icon size="8" type="Square">
116                       <fill color="%Color" />
117                       <border enabled="true" thickness="1" color="DarkColor(%Color)" opacity="0.4" />
118                     </icon>
119                     <focus_settings>
120                       <mouse_over>
121                         <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName} {%Value.Current}{numDecimals:2,negativeSignStyle:None}</font></b> ]]></format>
122                       </mouse_over>
123                       <mouse_out>
124                         <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName} {%Value.LastVisible}{numDecimals:2,negativeSignStyle:None}</font></b> ]]></format>
125                       </mouse_out>
126                     </focus_settings>
127                   </labels>
128                 </legend_item>
129               </series>
130             </williams_r_indicator>
131           </technical_indicator>
132         </technical_indicators>
133       </chart>
134     </charts>
135     <time_scale>
136       <selected_range type="Unit" unit="Year" count="3" />
137     </time_scale>
138   </settings>
139 </stock>
01{
02  data: {
03    dataSets: [
04      {
05        id: "dataSet1",
06        sourceUrl: "./../../csv-data/orcl_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: "Line",
83            dataProvider: "dp1",
84            color: "#DB2A0E",
85            name: "ORCL",
86            lineSeries: {
87              thickness: 2
88            },
89            legendItem: {
90              enabled: true,
91              labels: {
92                font: {
93                  color: "#333333"
94                },
95                focusSettings: {
96                  mouseOver: {
97                    format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName} </font><font color=\"#707070\">O: </font>{%Open.Current} <font color=\"#707070\">H: </font>{%High.Current} <font color=\"#707070\">L: </font>{%Low.Current} <font color=\"#707070\">C: </font>{%Close.Current}</b> "
98                  },
99                  mouseOut: {
100                    format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName} </font><font color=\"#707070\">O: </font>{%Open.LastVisible} <font color=\"#707070\">H: </font>{%High.LastVisible} <font color=\"#707070\">L: </font>{%Low.LastVisible} <font color=\"#707070\">C: </font>{%Close.LastVisible}</b> "
101                  }
102                }
103              }
104            }
105          }
106        ],
107        valueAxes: {
108          primary: {
109            position: "Right",
110            labels: {
111              position: "Outside",
112              padding: 3,
113              valign: "Center",
114              showFirst: true,
115              showLast: true,
116              font: {
117                family: "Verdana",
118                color: "#444444",
119                bold: true,
120                size: 9
121              },
122              format: "{%Value}{numDecimals:2,trailingZeros:false}"
123            },
124            scale: {
125              minimumOffset: 0
126            },
127            grid: {
128              line: {
129                dashed: true,
130                dashLength: 3,
131                dashSpace: 3,
132                pixelHinting: true
133              }
134            },
135            tickmarks: {
136              enabled: true,
137              showFirst: true,
138              showLast: true,
139              thickness: 1,
140              size: 3,
141              pixelHinting: true,
142              color: "#333333"
143            }
144          }
145        },
146        xAxis: {
147          majorGrid: {
148            line: {
149              opacity: 1,
150              color: "#D9D9D9"
151            }
152          },
153          minorGrid: {
154            line: {
155              dashed: true,
156              dashLength: 3,
157              dashSpace: 3,
158              pixelHinting: true
159            }
160          }
161        }
162      },
163      {
164        height: 40,
165        legend: {
166          title: {
167            enabled: false
168          },
169          dateTime: {
170            enabled: false
171          }
172        },
173        valueAxes: {
174          primary: {
175            position: "Right",
176            labels: {
177              position: "Outside",
178              padding: 3,
179              valign: "Center",
180              showFirst: true,
181              showLast: true,
182              font: {
183                family: "Verdana",
184                color: "#444444",
185                bold: true,
186                size: 9
187              },
188              format: "{%Value}{numDecimals:2,trailingZeros:false}"
189            },
190            scale: {
191              minimumMode: "CustomValue",
192              minimum: -100,
193              maximumMode: "CustomValue",
194              maximum: 0,
195              intervalMode: "CustomValue",
196              interval: 20
197            },
198            grid: {
199              line: {
200                dashed: true,
201                dashLength: 3,
202                dashSpace: 3,
203                pixelHinting: true
204              }
205            },
206            tickmarks: {
207              enabled: true,
208              showFirst: true,
209              showLast: true,
210              thickness: 1,
211              size: 3,
212              pixelHinting: true,
213              color: "#333333"
214            }
215          }
216        },
217        xAxis: {
218          majorGrid: {
219            line: {
220              opacity: 1,
221              color: "#D9D9D9"
222            }
223          },
224          minorGrid: {
225            line: {
226              dashed: true,
227              dashLength: 3,
228              dashSpace: 3,
229              pixelHinting: true
230            }
231          },
232          labels: {
233            enabled: false
234          }
235        },
236        technicalIndicators: [
237          {
238            type: "WilliamsR",
239            dataProvider: "dp1",
240            williamsRIndicator: {
241              period: 14,
242              series: {
243                type: "Line",
244                color: "#253992",
245                name: "Williams %R(14)",
246                legendItem: {
247                  enabled: true,
248                  labels: {
249                    icon: {
250                      size: 8,
251                      type: "Square",
252                      fill: {
253                        color: "%Color"
254                      },
255                      border: {
256                        enabled: true,
257                        thickness: 1,
258                        color: "DarkColor(%Color)",
259                        opacity: 0.4
260                      }
261                    },
262                    focusSettings: {
263                      mouseOver: {
264                        format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName} {%Value.Current}{numDecimals:2,negativeSignStyle:None}</font></b> "
265                      },
266                      mouseOut: {
267                        format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName} {%Value.LastVisible}{numDecimals:2,negativeSignStyle:None}</font></b> "
268                      }
269                    }
270                  }
271                }
272              }
273            }
274          }
275        ]
276      }
277    ],
278    timeScale: {
279      selectedRange: {
280        type: "Unit",
281        unit: "Year",
282        count: 3
283      }
284    }
285  }
286}

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.