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

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.