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>
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     </charts>
76     <range_selector enabled="true" />
77     <time_scale>
78       <selected_range type="YTD" />
79     </time_scale>
80   </settings>
81 </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        legend: {
67          dateTime: {
68            enabled: false
69          }
70        },
71        seriesList: [
72          {
73            type: "Candlestick",
74            dataProvider: "dp1",
75            color: "#0066DD",
76            name: "^IXIC",
77            legendItem: {
78              lineBreak: true
79            }
80          }
81        ],
82        technicalIndicators: [
83          {
84            type: "BBands",
85            dataProvider: "dp1",
86            bbandsIndicator: {
87              period: 20,
88              deviation: 2,
89              upperSeries: {
90                name: "BBands(20,2)"
91              }
92            }
93          }
94        ],
95        valueAxes: {
96          primary: {
97            position: "Right",
98            labels: {
99              position: "Outside",
100              padding: 3,
101              valign: "Center",
102              showFirst: true,
103              showLast: true,
104              font: {
105                family: "Verdana",
106                color: "#444444",
107                bold: true,
108                size: 9
109              },
110              format: "{%Value}{numDecimals:2,trailingZeros:false}"
111            },
112            scale: {
113              minimumOffset: 0
114            },
115            grid: {
116              line: {
117                dashed: true,
118                dashLength: 3,
119                dashSpace: 3,
120                pixelHinting: true
121              }
122            },
123            tickmarks: {
124              enabled: true,
125              showFirst: true,
126              showLast: true,
127              thickness: 1,
128              size: 3,
129              pixelHinting: true,
130              color: "#333333"
131            }
132          }
133        },
134        xAxis: {
135          majorGrid: {
136            line: {
137              opacity: 1,
138              color: "#D9D9D9"
139            }
140          },
141          minorGrid: {
142            line: {
143              dashed: true,
144              dashLength: 3,
145              dashSpace: 3,
146              pixelHinting: true
147            }
148          }
149        }
150      }
151    ],
152    rangeSelector: {
153      enabled: true
154    },
155    timeScale: {
156      selectedRange: {
157        type: "YTD"
158      }
159    }
160  }
161}

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.