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" use_range_based_series="true">
47               <range_based_series type="RangeArea">
48                 <name><![CDATA[BBands(20,2)]]></name>
49               </range_based_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              useRangeBasedSeries: true,
90              rangeBasedSeries: {
91                type: "RangeArea",
92                name: "BBands(20,2)"
93              }
94            }
95          }
96        ],
97        valueAxes: {
98          primary: {
99            position: "Right",
100            labels: {
101              position: "Outside",
102              padding: 3,
103              valign: "Center",
104              showFirst: true,
105              showLast: true,
106              font: {
107                family: "Verdana",
108                color: "#444444",
109                bold: true,
110                size: 9
111              },
112              format: "{%Value}{numDecimals:2,trailingZeros:false}"
113            },
114            scale: {
115              minimumOffset: 0
116            },
117            grid: {
118              line: {
119                dashed: true,
120                dashLength: 3,
121                dashSpace: 3,
122                pixelHinting: true
123              }
124            },
125            tickmarks: {
126              enabled: true,
127              showFirst: true,
128              showLast: true,
129              thickness: 1,
130              size: 3,
131              pixelHinting: true,
132              color: "#333333"
133            }
134          }
135        },
136        xAxis: {
137          majorGrid: {
138            line: {
139              opacity: 1,
140              color: "#D9D9D9"
141            }
142          },
143          minorGrid: {
144            line: {
145              dashed: true,
146              dashLength: 3,
147              dashSpace: 3,
148              pixelHinting: true
149            }
150          }
151        }
152      }
153    ],
154    rangeSelector: {
155      enabled: true
156    },
157    timeScale: {
158      selectedRange: {
159        type: "YTD"
160      }
161    }
162  }
163}

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.