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/csco_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="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="false" />
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[CSCO]]></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             <grid>
93               <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
94             </grid>
95             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
96           </primary>
97         </value_axes>
98         <x_axis>
99           <major_grid>
100             <line opacity="1" color="#D9D9D9" />
101           </major_grid>
102           <minor_grid>
103             <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
104           </minor_grid>
105           <labels enabled="false" />
106         </x_axis>
107         <technical_indicators>
108           <technical_indicator type="CMF" data_provider="dp1">
109             <cmf_indicator period="14">
110               <series type="Area" color="#253992">
111                 <area_series />
112                 <name><![CDATA[CMF(14)]]></name>
113               </series>
114             </cmf_indicator>
115           </technical_indicator>
116         </technical_indicators>
117       </chart>
118     </charts>
119     <time_scale>
120       <selected_range type="Unit" unit="Year" count="2" />
121     </time_scale>
122   </settings>
123 </stock>
01{
02  data: {
03    dataSets: [
04      {
05        id: "dataSet1",
06        sourceUrl: "./../../csv-data/csco_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: "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: false
64    },
65    insideMargin: {
66      right: 35
67    },
68    rangeSelector: {
69      enabled: true
70    },
71    charts: [
72      {
73        height: 100,
74        legend: {
75          dateTime: {
76            enabled: false
77          }
78        },
79        seriesList: [
80          {
81            type: "Line",
82            dataProvider: "dp1",
83            color: "#DB2A0E",
84            name: "CSCO",
85            lineSeries: {
86              thickness: 2
87            },
88            legendItem: {
89              enabled: true,
90              labels: {
91                font: {
92                  color: "#333333"
93                },
94                focusSettings: {
95                  mouseOver: {
96                    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> "
97                  },
98                  mouseOut: {
99                    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> "
100                  }
101                }
102              }
103            }
104          }
105        ],
106        valueAxes: {
107          primary: {
108            position: "Right",
109            labels: {
110              position: "Outside",
111              padding: 3,
112              valign: "Center",
113              showFirst: true,
114              showLast: true,
115              font: {
116                family: "Verdana",
117                color: "#444444",
118                bold: true,
119                size: 9
120              },
121              format: "{%Value}{numDecimals:2,trailingZeros:false}"
122            },
123            scale: {
124              minimumOffset: 0
125            },
126            grid: {
127              line: {
128                dashed: true,
129                dashLength: 3,
130                dashSpace: 3,
131                pixelHinting: true
132              }
133            },
134            tickmarks: {
135              enabled: true,
136              showFirst: true,
137              showLast: true,
138              thickness: 1,
139              size: 3,
140              pixelHinting: true,
141              color: "#333333"
142            }
143          }
144        },
145        xAxis: {
146          majorGrid: {
147            line: {
148              opacity: 1,
149              color: "#D9D9D9"
150            }
151          },
152          minorGrid: {
153            line: {
154              dashed: true,
155              dashLength: 3,
156              dashSpace: 3,
157              pixelHinting: true
158            }
159          }
160        }
161      },
162      {
163        height: 40,
164        legend: {
165          title: {
166            enabled: false
167          },
168          dateTime: {
169            enabled: false
170          }
171        },
172        valueAxes: {
173          primary: {
174            position: "Right",
175            labels: {
176              position: "Outside",
177              padding: 3,
178              valign: "Center",
179              showFirst: true,
180              showLast: true,
181              font: {
182                family: "Verdana",
183                color: "#444444",
184                bold: true,
185                size: 9
186              },
187              format: "{%Value}{numDecimals:2,trailingZeros:false}"
188            },
189            grid: {
190              line: {
191                dashed: true,
192                dashLength: 3,
193                dashSpace: 3,
194                pixelHinting: true
195              }
196            },
197            tickmarks: {
198              enabled: true,
199              showFirst: true,
200              showLast: true,
201              thickness: 1,
202              size: 3,
203              pixelHinting: true,
204              color: "#333333"
205            }
206          }
207        },
208        xAxis: {
209          majorGrid: {
210            line: {
211              opacity: 1,
212              color: "#D9D9D9"
213            }
214          },
215          minorGrid: {
216            line: {
217              dashed: true,
218              dashLength: 3,
219              dashSpace: 3,
220              pixelHinting: true
221            }
222          },
223          labels: {
224            enabled: false
225          }
226        },
227        technicalIndicators: [
228          {
229            type: "CMF",
230            dataProvider: "dp1",
231            cmfIndicator: {
232              period: 14,
233              series: {
234                type: "Area",
235                color: "#253992",
236                areaSeries: {},
237                name: "CMF(14)"
238              }
239            }
240          }
241        ]
242      }
243    ],
244    timeScale: {
245      selectedRange: {
246        type: "Unit",
247        unit: "Year",
248        count: 2
249      }
250    }
251  }
252}

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.