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.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           </fields>
23         </data_provider>
24       </general_data_providers>
25       <scroller_data_providers>
26         <data_provider data_set="dataSet1" column="4" />
27       </scroller_data_providers>
28     </data_providers>
29   </data>
30   <settings>
31     <data_grouping enabled="true" max_visible_points="720" />
32     <inside_margin right="35" />
33     <range_selector enabled="true" />
34     <charts>
35       <chart height="100">
36         <legend>
37           <date_time enabled="false" />
38         </legend>
39         <series_list>
40           <series type="OHLC" data_provider="dp1" color="#253992">
41             <name><![CDATA[CSCO]]></name>
42           </series>
43         </series_list>
44         <value_axes>
45           <primary position="Right">
46             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
47               <font family="Verdana" color="#444444" bold="true" size="9" />
48               <format><![CDATA[{%Value}{numDecimals:2,trailingZeros:false}]]></format>
49             </labels>
50             <grid>
51               <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
52             </grid>
53             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
54           </primary>
55         </value_axes>
56         <x_axis>
57           <major_grid>
58             <line opacity="1" color="#D9D9D9" />
59           </major_grid>
60           <minor_grid>
61             <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
62           </minor_grid>
63         </x_axis>
64       </chart>
65       <chart height="50">
66         <legend>
67           <title enabled="false" />
68           <date_time enabled="false" />
69         </legend>
70         <value_axes>
71           <primary position="Right">
72             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
73               <font family="Verdana" color="#444444" bold="true" size="9" />
74               <format><![CDATA[{%Value}{numDecimals:2,trailingZeros:false}]]></format>
75             </labels>
76             <grid>
77               <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
78             </grid>
79             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
80             <zero_line opacity="0.15" />
81           </primary>
82         </value_axes>
83         <x_axis>
84           <major_grid>
85             <line opacity="1" color="#D9D9D9" />
86           </major_grid>
87           <minor_grid>
88             <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
89           </minor_grid>
90           <labels enabled="false" />
91         </x_axis>
92         <technical_indicators>
93           <technical_indicator type="ROC" data_provider="dp1">
94             <roc_indicator period="12">
95               <series color="#BD240C">
96                 <name><![CDATA[ROC(12)]]></name>
97               </series>
98             </roc_indicator>
99           </technical_indicator>
100         </technical_indicators>
101       </chart>
102     </charts>
103     <time_scale>
104       <selected_range type="Unit" unit="Year" count="3" />
105     </time_scale>
106   </settings>
107 </stock>
01{
02  data: {
03    dataSets: [
04      {
05        id: "dataSet1",
06        sourceUrl: "./../../csv-data/csco_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        }
47      ],
48      scrollerDataProviders: [
49        {
50          dataSet: "dataSet1",
51          column: 4
52        }
53      ]
54    }
55  },
56  settings: {
57    dataGrouping: {
58      enabled: true,
59      maxVisiblePoints: 720
60    },
61    insideMargin: {
62      right: 35
63    },
64    rangeSelector: {
65      enabled: true
66    },
67    charts: [
68      {
69        height: 100,
70        legend: {
71          dateTime: {
72            enabled: false
73          }
74        },
75        seriesList: [
76          {
77            type: "OHLC",
78            dataProvider: "dp1",
79            color: "#253992",
80            name: "CSCO"
81          }
82        ],
83        valueAxes: {
84          primary: {
85            position: "Right",
86            labels: {
87              position: "Outside",
88              padding: 3,
89              valign: "Center",
90              showFirst: true,
91              showLast: true,
92              font: {
93                family: "Verdana",
94                color: "#444444",
95                bold: true,
96                size: 9
97              },
98              format: "{%Value}{numDecimals:2,trailingZeros:false}"
99            },
100            grid: {
101              line: {
102                dashed: true,
103                dashLength: 3,
104                dashSpace: 3,
105                pixelHinting: true
106              }
107            },
108            tickmarks: {
109              enabled: true,
110              showFirst: true,
111              showLast: true,
112              thickness: 1,
113              size: 3,
114              pixelHinting: true,
115              color: "#333333"
116            }
117          }
118        },
119        xAxis: {
120          majorGrid: {
121            line: {
122              opacity: 1,
123              color: "#D9D9D9"
124            }
125          },
126          minorGrid: {
127            line: {
128              dashed: true,
129              dashLength: 3,
130              dashSpace: 3,
131              pixelHinting: true
132            }
133          }
134        }
135      },
136      {
137        height: 50,
138        legend: {
139          title: {
140            enabled: false
141          },
142          dateTime: {
143            enabled: false
144          }
145        },
146        valueAxes: {
147          primary: {
148            position: "Right",
149            labels: {
150              position: "Outside",
151              padding: 3,
152              valign: "Center",
153              showFirst: true,
154              showLast: true,
155              font: {
156                family: "Verdana",
157                color: "#444444",
158                bold: true,
159                size: 9
160              },
161              format: "{%Value}{numDecimals:2,trailingZeros:false}"
162            },
163            grid: {
164              line: {
165                dashed: true,
166                dashLength: 3,
167                dashSpace: 3,
168                pixelHinting: true
169              }
170            },
171            tickmarks: {
172              enabled: true,
173              showFirst: true,
174              showLast: true,
175              thickness: 1,
176              size: 3,
177              pixelHinting: true,
178              color: "#333333"
179            },
180            zeroLine: {
181              opacity: 0.15
182            }
183          }
184        },
185        xAxis: {
186          majorGrid: {
187            line: {
188              opacity: 1,
189              color: "#D9D9D9"
190            }
191          },
192          minorGrid: {
193            line: {
194              dashed: true,
195              dashLength: 3,
196              dashSpace: 3,
197              pixelHinting: true
198            }
199          },
200          labels: {
201            enabled: false
202          }
203        },
204        technicalIndicators: [
205          {
206            type: "ROC",
207            dataProvider: "dp1",
208            rocIndicator: {
209              period: 12,
210              series: {
211                color: "#BD240C",
212                name: "ROC(12)"
213              }
214            }
215          }
216        ]
217      }
218    ],
219    timeScale: {
220      selectedRange: {
221        type: "Unit",
222        unit: "Year",
223        count: 3
224      }
225    }
226  }
227}

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.