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" />
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="Close" column="4" approximation_type="Close" />
19           </fields>
20         </data_provider>
21       </general_data_providers>
22       <scroller_data_providers>
23         <data_provider data_set="dataSet1" column="4" />
24       </scroller_data_providers>
25     </data_providers>
26   </data>
27   <settings>
28     <inside_margin right="35" />
29     <charts>
30       <chart height="100">
31         <legend>
32           <date_time enabled="false" />
33         </legend>
34         <value_axes>
35           <primary position="Right">
36             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
37               <font family="Verdana" color="#444444" bold="true" size="9" />
38               <format><![CDATA[{%Value}{numDecimals:2,trailingZeros:false}]]></format>
39             </labels>
40             <scale minimum_offset="0" />
41             <grid>
42               <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
43             </grid>
44             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
45           </primary>
46         </value_axes>
47         <x_axis>
48           <major_grid>
49             <line opacity="1" color="#D9D9D9" />
50           </major_grid>
51           <minor_grid>
52             <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
53           </minor_grid>
54         </x_axis>
55         <series_list>
56           <series id="idCscoSeries" type="Line" data_provider="dp1" color="#0066DD">
57             <line_series thickness="2" />
58             <name><![CDATA[CSCO]]></name>
59           </series>
60         </series_list>
61       </chart>
62       <chart height="50">
63         <legend>
64           <title enabled="false" />
65           <date_time enabled="false" />
66         </legend>
67         <value_axes>
68           <primary position="Right">
69             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
70               <font family="Verdana" color="#444444" bold="true" size="9" />
71               <format><![CDATA[{%Value}{numDecimals:2,trailingZeros:false}]]></format>
72             </labels>
73             <scale minimum="0" maximum="100" interval="20" />
74             <grid>
75               <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
76             </grid>
77             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
78           </primary>
79         </value_axes>
80         <x_axis>
81           <labels enabled="false" />
82           <major_grid>
83             <line opacity="1" color="#D9D9D9" />
84           </major_grid>
85           <minor_grid>
86             <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
87           </minor_grid>
88         </x_axis>
89         <technical_indicators>
90           <technical_indicator type="Momentum" data_provider="dp1">
91             <momentum_indicator period="14">
92               <series color="#8E178E">
93                 <name><![CDATA[Momentum(14)]]></name>
94               </series>
95             </momentum_indicator>
96           </technical_indicator>
97         </technical_indicators>
98       </chart>
99     </charts>
100     <time_scale>
101       <selected_range type="YTD" />
102     </time_scale>
103     <range_selector enabled="true" />
104   </settings>
105 </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        },
11        locale: {
12          dateTime: {
13            format: "%yyyy%MM%dd"
14          }
15        }
16      }
17    ],
18    dataProviders: {
19      generalDataProviders: [
20        {
21          dataSet: "dataSet1",
22          id: "dp1",
23          fields: [
24            {
25              type: "Close",
26              column: 4,
27              approximationType: "Close"
28            }
29          ]
30        }
31      ],
32      scrollerDataProviders: [
33        {
34          dataSet: "dataSet1",
35          column: 4
36        }
37      ]
38    }
39  },
40  settings: {
41    insideMargin: {
42      right: 35
43    },
44    charts: [
45      {
46        height: 100,
47        legend: {
48          dateTime: {
49            enabled: false
50          }
51        },
52        valueAxes: {
53          primary: {
54            position: "Right",
55            labels: {
56              position: "Outside",
57              padding: 3,
58              valign: "Center",
59              showFirst: true,
60              showLast: true,
61              font: {
62                family: "Verdana",
63                color: "#444444",
64                bold: true,
65                size: 9
66              },
67              format: "{%Value}{numDecimals:2,trailingZeros:false}"
68            },
69            scale: {
70              minimumOffset: 0
71            },
72            grid: {
73              line: {
74                dashed: true,
75                dashLength: 3,
76                dashSpace: 3,
77                pixelHinting: true
78              }
79            },
80            tickmarks: {
81              enabled: true,
82              showFirst: true,
83              showLast: true,
84              thickness: 1,
85              size: 3,
86              pixelHinting: true,
87              color: "#333333"
88            }
89          }
90        },
91        xAxis: {
92          majorGrid: {
93            line: {
94              opacity: 1,
95              color: "#D9D9D9"
96            }
97          },
98          minorGrid: {
99            line: {
100              dashed: true,
101              dashLength: 3,
102              dashSpace: 3,
103              pixelHinting: true
104            }
105          }
106        },
107        seriesList: [
108          {
109            id: "idCscoSeries",
110            type: "Line",
111            dataProvider: "dp1",
112            color: "#0066DD",
113            lineSeries: {
114              thickness: 2
115            },
116            name: "CSCO"
117          }
118        ]
119      },
120      {
121        height: 50,
122        legend: {
123          title: {
124            enabled: false
125          },
126          dateTime: {
127            enabled: false
128          }
129        },
130        valueAxes: {
131          primary: {
132            position: "Right",
133            labels: {
134              position: "Outside",
135              padding: 3,
136              valign: "Center",
137              showFirst: true,
138              showLast: true,
139              font: {
140                family: "Verdana",
141                color: "#444444",
142                bold: true,
143                size: 9
144              },
145              format: "{%Value}{numDecimals:2,trailingZeros:false}"
146            },
147            scale: {
148              minimum: 0,
149              maximum: 100,
150              interval: 20
151            },
152            grid: {
153              line: {
154                dashed: true,
155                dashLength: 3,
156                dashSpace: 3,
157                pixelHinting: true
158              }
159            },
160            tickmarks: {
161              enabled: true,
162              showFirst: true,
163              showLast: true,
164              thickness: 1,
165              size: 3,
166              pixelHinting: true,
167              color: "#333333"
168            }
169          }
170        },
171        xAxis: {
172          labels: {
173            enabled: false
174          },
175          majorGrid: {
176            line: {
177              opacity: 1,
178              color: "#D9D9D9"
179            }
180          },
181          minorGrid: {
182            line: {
183              dashed: true,
184              dashLength: 3,
185              dashSpace: 3,
186              pixelHinting: true
187            }
188          }
189        },
190        technicalIndicators: [
191          {
192            type: "Momentum",
193            dataProvider: "dp1",
194            momentumIndicator: {
195              period: 14,
196              series: {
197                color: "#8E178E",
198                name: "Momentum(14)"
199              }
200            }
201          }
202        ]
203      }
204    ],
205    timeScale: {
206      selectedRange: {
207        type: "YTD"
208      }
209    },
210    rangeSelector: {
211      enabled: true
212    }
213  }
214}

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.