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" />
07         <locale>
08           <date_time>
09             <format><![CDATA[%yyyy%MM%dd]]></format>
10           </date_time>
11         </locale>
12       </data_set>
13       <data_set id="dataSet2" source_url="./../../csv-data/orcl_daily_short.csv">
14         <csv_settings ignore_first_row="true" rows_separator="\n" />
15         <locale>
16           <date_time>
17             <format><![CDATA[%yyyy%MM%dd]]></format>
18           </date_time>
19         </locale>
20       </data_set>
21     </data_sets>
22     <data_providers>
23       <general_data_providers>
24         <data_provider data_set="dataSet1" id="dp1">
25           <fields>
26             <field type="Value" column="4" approximation_type="Close" />
27           </fields>
28         </data_provider>
29         <data_provider data_set="dataSet2" id="dp2">
30           <fields>
31             <field type="Value" column="4" approximation_type="Close" />
32           </fields>
33         </data_provider>
34       </general_data_providers>
35       <scroller_data_providers>
36         <data_provider data_set="dataSet1" column="4" />
37       </scroller_data_providers>
38     </data_providers>
39   </data>
40   <settings>
41     <inside_margin left="50" right="55" />
42     <charts>
43       <chart>
44         <legend>
45           <date_time enabled="false" />
46         </legend>
47         <value_axes>
48           <primary position="Left" offset="0">
49             <tickmarks enabled="true" color="#275BA8" inside="false" outside="true" size="3" pixel_hinting="true" />
50             <labels show_first="true" show_last="true" valign="Center" position="Outside">
51               <format><![CDATA[{%Value}{numDecimals:0}]]></format>
52               <font color="#275BA8" />
53             </labels>
54             <title enabled="true" offset="30" align="Center" render_as_bitmap="true" rotation="-90">
55               <format><![CDATA[Primary Y-Axis]]></format>
56               <font family="Tahoma" color="#333333" bold="false" />
57             </title>
58           </primary>
59           <extra>
60             <axis id="extra1" position="Right" offset="0">
61               <tickmarks enabled="true" color="#379B29" inside="false" outside="true" size="3" pixel_hinting="true" />
62               <labels show_first="true" show_last="true" valign="Center" position="Outside">
63                 <format><![CDATA[{%Value}{numDecimals:1}]]></format>
64                 <font color="#379B29" />
65               </labels>
66               <grid enabled="false" />
67               <title enabled="true" offset="37" align="Center" render_as_bitmap="true" rotation="90">
68                 <format><![CDATA[Additional Y-Axis]]></format>
69                 <font family="Tahoma" color="#333333" bold="false" />
70               </title>
71             </axis>
72           </extra>
73         </value_axes>
74         <series_list>
75           <series type="Line" data_provider="dp1" color="#275BA8" axis="Primary">
76             <name><![CDATA[MSFT]]></name>
77           </series>
78           <series type="Line" data_provider="dp2" color="#379B29" axis="extra1">
79             <name><![CDATA[ORCL]]></name>
80           </series>
81         </series_list>
82       </chart>
83     </charts>
84     <time_scale>
85       <selected_range type="Custom" start_date="2008-01-01" end_date="2009-07-02" />
86     </time_scale>
87   </settings>
88 </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        },
11        locale: {
12          dateTime: {
13            format: "%yyyy%MM%dd"
14          }
15        }
16      },
17      {
18        id: "dataSet2",
19        sourceUrl: "./../../csv-data/orcl_daily_short.csv",
20        csvSettings: {
21          ignoreFirstRow: true,
22          rowsSeparator: "\n"
23        },
24        locale: {
25          dateTime: {
26            format: "%yyyy%MM%dd"
27          }
28        }
29      }
30    ],
31    dataProviders: {
32      generalDataProviders: [
33        {
34          dataSet: "dataSet1",
35          id: "dp1",
36          fields: [
37            {
38              type: "Value",
39              column: 4,
40              approximationType: "Close"
41            }
42          ]
43        },
44        {
45          dataSet: "dataSet2",
46          id: "dp2",
47          fields: [
48            {
49              type: "Value",
50              column: 4,
51              approximationType: "Close"
52            }
53          ]
54        }
55      ],
56      scrollerDataProviders: [
57        {
58          dataSet: "dataSet1",
59          column: 4
60        }
61      ]
62    }
63  },
64  settings: {
65    insideMargin: {
66      left: 50,
67      right: 55
68    },
69    charts: [
70      {
71        legend: {
72          dateTime: {
73            enabled: false
74          }
75        },
76        valueAxes: {
77          primary: {
78            position: "Left",
79            offset: 0,
80            tickmarks: {
81              enabled: true,
82              color: "#275BA8",
83              inside: false,
84              outside: true,
85              size: 3,
86              pixelHinting: true
87            },
88            labels: {
89              showFirst: true,
90              showLast: true,
91              valign: "Center",
92              position: "Outside",
93              format: "{%Value}{numDecimals:0}",
94              font: {
95                color: "#275BA8"
96              }
97            },
98            title: {
99              enabled: true,
100              offset: 30,
101              align: "Center",
102              renderAsBitmap: true,
103              rotation: -90,
104              format: "Primary Y-Axis",
105              font: {
106                family: "Tahoma",
107                color: "#333333",
108                bold: false
109              }
110            }
111          },
112          extra: [
113            {
114              id: "extra1",
115              position: "Right",
116              offset: 0,
117              tickmarks: {
118                enabled: true,
119                color: "#379B29",
120                inside: false,
121                outside: true,
122                size: 3,
123                pixelHinting: true
124              },
125              labels: {
126                showFirst: true,
127                showLast: true,
128                valign: "Center",
129                position: "Outside",
130                format: "{%Value}{numDecimals:1}",
131                font: {
132                  color: "#379B29"
133                }
134              },
135              grid: {
136                enabled: false
137              },
138              title: {
139                enabled: true,
140                offset: 37,
141                align: "Center",
142                renderAsBitmap: true,
143                rotation: 90,
144                format: "Additional Y-Axis",
145                font: {
146                  family: "Tahoma",
147                  color: "#333333",
148                  bold: false
149                }
150              }
151            }
152          ]
153        },
154        seriesList: [
155          {
156            type: "Line",
157            dataProvider: "dp1",
158            color: "#275BA8",
159            axis: "Primary",
160            name: "MSFT"
161          },
162          {
163            type: "Line",
164            dataProvider: "dp2",
165            color: "#379B29",
166            axis: "extra1",
167            name: "ORCL"
168          }
169        ]
170      }
171    ],
172    timeScale: {
173      selectedRange: {
174        type: "Custom",
175        startDate: "2008-01-01",
176        endDate: "2009-07-02"
177      }
178    }
179  }
180}

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.