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/ixic_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="40" />
33     <charts>
34       <chart height="100">
35         <legend>
36           <date_time enabled="false" />
37         </legend>
38         <series_list>
39           <series type="Area" data_provider="dp1" color="#7D8BB7">
40             <name><![CDATA[^IXIC]]></name>
41             <area_series>
42               <fill color="%Color" opacity="0.2" />
43             </area_series>
44           </series>
45         </series_list>
46         <value_axes>
47           <primary position="Right">
48             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
49               <font family="Verdana" color="#444444" bold="true" size="9" />
50               <format><![CDATA[{%Value}{numDecimals:2,trailingZeros:false}]]></format>
51             </labels>
52             <scale minimum_offset="0" />
53             <grid>
54               <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
55             </grid>
56             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
57           </primary>
58         </value_axes>
59         <x_axis>
60           <major_grid>
61             <line opacity="1" color="#D9D9D9" />
62           </major_grid>
63           <minor_grid>
64             <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
65           </minor_grid>
66         </x_axis>
67       </chart>
68       <chart height="50">
69         <legend>
70           <date_time enabled="false" />
71           <title enabled="false" />
72         </legend>
73         <technical_indicators>
74           <technical_indicator type="MACD" data_provider="dp1">
75             <macd_indicator slow_period="26" fast_period="12" signal_period="9">
76               <macd_series color="#000000">
77                 <name><![CDATA[MACD(26,12)]]></name>
78               </macd_series>
79               <signal_series>
80                 <name><![CDATA[EMA(9)]]></name>
81               </signal_series>
82               <histogram_series type="Bar" color="#5BACD5" />
83             </macd_indicator>
84           </technical_indicator>
85         </technical_indicators>
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:3,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           <labels enabled="false" />
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         </x_axis>
107       </chart>
108     </charts>
109     <range_selector enabled="true" />
110     <time_scale>
111       <selected_range type="YTD" />
112     </time_scale>
113   </settings>
114 </stock>
01{
02  data: {
03    dataSets: [
04      {
05        id: "dataSet1",
06        sourceUrl: "./../../csv-data/ixic_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: 40
63    },
64    charts: [
65      {
66        height: 100,
67        legend: {
68          dateTime: {
69            enabled: false
70          }
71        },
72        seriesList: [
73          {
74            type: "Area",
75            dataProvider: "dp1",
76            color: "#7D8BB7",
77            name: "^IXIC",
78            areaSeries: {
79              fill: {
80                color: "%Color",
81                opacity: 0.2
82              }
83            }
84          }
85        ],
86        valueAxes: {
87          primary: {
88            position: "Right",
89            labels: {
90              position: "Outside",
91              padding: 3,
92              valign: "Center",
93              showFirst: true,
94              showLast: true,
95              font: {
96                family: "Verdana",
97                color: "#444444",
98                bold: true,
99                size: 9
100              },
101              format: "{%Value}{numDecimals:2,trailingZeros:false}"
102            },
103            scale: {
104              minimumOffset: 0
105            },
106            grid: {
107              line: {
108                dashed: true,
109                dashLength: 3,
110                dashSpace: 3,
111                pixelHinting: true
112              }
113            },
114            tickmarks: {
115              enabled: true,
116              showFirst: true,
117              showLast: true,
118              thickness: 1,
119              size: 3,
120              pixelHinting: true,
121              color: "#333333"
122            }
123          }
124        },
125        xAxis: {
126          majorGrid: {
127            line: {
128              opacity: 1,
129              color: "#D9D9D9"
130            }
131          },
132          minorGrid: {
133            line: {
134              dashed: true,
135              dashLength: 3,
136              dashSpace: 3,
137              pixelHinting: true
138            }
139          }
140        }
141      },
142      {
143        height: 50,
144        legend: {
145          dateTime: {
146            enabled: false
147          },
148          title: {
149            enabled: false
150          }
151        },
152        technicalIndicators: [
153          {
154            type: "MACD",
155            dataProvider: "dp1",
156            macdIndicator: {
157              slowPeriod: 26,
158              fastPeriod: 12,
159              signalPeriod: 9,
160              macdSeries: {
161                color: "#000000",
162                name: "MACD(26,12)"
163              },
164              signalSeries: {
165                name: "EMA(9)"
166              },
167              histogramSeries: {
168                type: "Bar",
169                color: "#5BACD5"
170              }
171            }
172          }
173        ],
174        valueAxes: {
175          primary: {
176            position: "Right",
177            labels: {
178              position: "Outside",
179              padding: 3,
180              valign: "Center",
181              showFirst: true,
182              showLast: true,
183              font: {
184                family: "Verdana",
185                color: "#444444",
186                bold: true,
187                size: 9
188              },
189              format: "{%Value}{numDecimals:3,trailingZeros:false}"
190            },
191            grid: {
192              line: {
193                dashed: true,
194                dashLength: 3,
195                dashSpace: 3,
196                pixelHinting: true
197              }
198            },
199            tickmarks: {
200              enabled: true,
201              showFirst: true,
202              showLast: true,
203              thickness: 1,
204              size: 3,
205              pixelHinting: true,
206              color: "#333333"
207            }
208          }
209        },
210        xAxis: {
211          labels: {
212            enabled: false
213          },
214          majorGrid: {
215            line: {
216              opacity: 1,
217              color: "#D9D9D9"
218            }
219          },
220          minorGrid: {
221            line: {
222              dashed: true,
223              dashLength: 3,
224              dashSpace: 3,
225              pixelHinting: true
226            }
227          }
228        }
229      }
230    ],
231    rangeSelector: {
232      enabled: true
233    },
234    timeScale: {
235      selectedRange: {
236        type: "YTD"
237      }
238    }
239  }
240}

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.