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/msft_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             <field type="Volume" column="5" approximation_type="Average" />
23           </fields>
24         </data_provider>
25       </general_data_providers>
26       <scroller_data_providers>
27         <data_provider data_set="dataSet1" column="1" />
28       </scroller_data_providers>
29     </data_providers>
30   </data>
31   <settings>
32     <data_grouping enabled="true" max_visible_points="120" />
33     <range_selector enabled="true" />
34     <charts>
35       <chart height="100">
36         <legend>
37           <date_time enabled="false" />
38         </legend>
39         <series_list>
40           <series type="Candlestick" color="#3030AA" data_provider="dp1">
41             <name><![CDATA[MSFT]]></name>
42           </series>
43         </series_list>
44         <technical_indicators>
45           <technical_indicator type="PSAR" data_provider="dp1" />
46         </technical_indicators>
47       </chart>
48       <chart height="40">
49         <technical_indicators>
50           <technical_indicator type="Volume" data_provider="dp1">
51             <volume_indicator>
52               <series type="Bar">
53                 <bar_series width="1" />
54               </series>
55             </volume_indicator>
56           </technical_indicator>
57         </technical_indicators>
58         <legend>
59           <date_time enabled="false" />
60           <title enabled="false" />
61         </legend>
62         <value_axes>
63           <primary>
64             <scale optimal_step_count="3" />
65           </primary>
66         </value_axes>
67         <x_axis>
68           <labels enabled="false" />
69         </x_axis>
70       </chart>
71     </charts>
72     <time_scale is_ordinal="false">
73       <selected_range type="Unit" unit="Month" count="1" />
74     </time_scale>
75   </settings>
76 </stock>
01{
02  data: {
03    dataSets: [
04      {
05        id: "dataSet1",
06        sourceUrl: "./../../csv-data/msft_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              type: "Volume",
47              column: 5,
48              approximationType: "Average"
49            }
50          ]
51        }
52      ],
53      scrollerDataProviders: [
54        {
55          dataSet: "dataSet1",
56          column: 1
57        }
58      ]
59    }
60  },
61  settings: {
62    dataGrouping: {
63      enabled: true,
64      maxVisiblePoints: 120
65    },
66    rangeSelector: {
67      enabled: true
68    },
69    charts: [
70      {
71        height: 100,
72        legend: {
73          dateTime: {
74            enabled: false
75          }
76        },
77        seriesList: [
78          {
79            type: "Candlestick",
80            color: "#3030AA",
81            dataProvider: "dp1",
82            name: "MSFT"
83          }
84        ],
85        technicalIndicators: [
86          {
87            type: "PSAR",
88            dataProvider: "dp1"
89          }
90        ]
91      },
92      {
93        height: 40,
94        technicalIndicators: [
95          {
96            type: "Volume",
97            dataProvider: "dp1",
98            volumeIndicator: {
99              series: {
100                type: "Bar",
101                barSeries: {
102                  width: 1
103                }
104              }
105            }
106          }
107        ],
108        legend: {
109          dateTime: {
110            enabled: false
111          },
112          title: {
113            enabled: false
114          }
115        },
116        valueAxes: {
117          primary: {
118            scale: {
119              optimalStepCount: 3
120            }
121          }
122        },
123        xAxis: {
124          labels: {
125            enabled: false
126          }
127        }
128      }
129    ],
130    timeScale: {
131      isOrdinal: false,
132      selectedRange: {
133        type: "Unit",
134        unit: "Month",
135        count: 1
136      }
137    }
138  }
139}

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.