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="dataSet2" source_url="./../../csv-data/msft_daily.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_set id="dataSet3" source_url="./../../csv-data/orcl_daily.csv">
14         <csv_settings ignore_first_row="true" rows_separator="\n" columns_separator="," />
15         <locale>
16           <date_time>
17             <format><![CDATA[%yyyy%MM%dd]]></format>
18           </date_time>
19         </locale>
20       </data_set>
21       <data_set id="dataSet4" source_url="./../../csv-data/goog_daily.csv">
22         <csv_settings ignore_first_row="true" rows_separator="\n" columns_separator="," />
23         <locale>
24           <date_time>
25             <format><![CDATA[%yyyy%MM%dd]]></format>
26           </date_time>
27         </locale>
28       </data_set>
29     </data_sets>
30     <data_providers>
31       <general_data_providers>
32         <data_provider data_set="dataSet2" id="dp2">
33           <fields>
34             <field type="Close" column="4" approximation_type="Close" />
35           </fields>
36         </data_provider>
37         <data_provider data_set="dataSet3" id="dp3">
38           <fields>
39             <field type="Close" column="4" approximation_type="Close" />
40           </fields>
41         </data_provider>
42         <data_provider data_set="dataSet4" id="dp4">
43           <fields>
44             <field type="Close" column="4" approximation_type="Close" />
45           </fields>
46         </data_provider>
47       </general_data_providers>
48       <scroller_data_providers>
49         <data_provider data_set="dataSet2" column="4" />
50       </scroller_data_providers>
51     </data_providers>
52   </data>
53   <settings>
54     <data_grouping enabled="true" max_visible_points="120" />
55     <range_selector enabled="true" />
56     <inside_margin right="55" />
57     <charts>
58       <chart height="100">
59         <legend enabled="true">
60           <date_time enabled="false" />
61           <title enabled="true" />
62           <background>
63             <fill type="Solid" color="White" />
64           </background>
65           <labels falling_color="DarkRed" rising_color="#005500">
66             <icon type="Circle" size="6" />
67             <focus_settings>
68               <mouse_over>
69                 <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName}</font></b> <font color="%ChangeColor">{%ValueChange.Current}{plusSign:true} ({%PercentValueChange.Current}{plusSign:true}%)</font> ]]></format>
70               </mouse_over>
71               <mouse_out>
72                 <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName}</font></b> <font color="%ChangeColor">{%ValueChange.LastVisible}{plusSign:true} ({%PercentValueChange.LastVisible}{plusSign:true}%)</font> ]]></format>
73               </mouse_out>
74             </focus_settings>
75           </labels>
76         </legend>
77         <series_list>
78           <series type="Spline" data_provider="dp2" color="#DC3912" axis="Secondary">
79             <name><![CDATA[MSFT:]]></name>
80           </series>
81           <series type="Spline" data_provider="dp3" color="#0066DD" axis="Secondary">
82             <name><![CDATA[ORCL:]]></name>
83           </series>
84           <series type="Spline" data_provider="dp4" color="#FF9900" axis="Secondary">
85             <name><![CDATA[GOOG:]]></name>
86           </series>
87         </series_list>
88         <series_settings_defaults>
89           <line_series thickness="2">
90             <marker>
91               <states>
92                 <normal enabled="true" />
93               </states>
94             </marker>
95           </line_series>
96         </series_settings_defaults>
97         <value_axes>
98           <primary enabled="true" position="Right">
99             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
100               <format><![CDATA[{%Value}{numDecimals:0}%]]></format>
101               <font family="Tahoma" size="9" bold="true" color="#333333" />
102             </labels>
103             <scale mode="PercentChanges" type="Logarithmic" minimum_offset="0" negative_mode="Offset" />
104           </primary>
105         </value_axes>
106         <x_axis>
107           <labels>
108             <background>
109               <fill type="Solid" color="#FDFDFD" />
110             </background>
111           </labels>
112         </x_axis>
113         <background enabled="true">
114           <fill enabled="true" type="Gradient">
115             <gradient angle="90">
116               <keys>
117                 <key color="White" />
118                 <key color="#F5F5F5" />
119               </keys>
120             </gradient>
121           </fill>
122         </background>
123       </chart>
124     </charts>
125     <time_scale>
126       <selected_range type="Unit" unit="Year" count="12" />
127     </time_scale>
128     <scroller>
129       <time_scale max_ticks_count="8" />
130     </scroller>
131   </settings>
132 </stock>
01{
02  data: {
03    dataSets: [
04      {
05        id: "dataSet2",
06        sourceUrl: "./../../csv-data/msft_daily.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        id: "dataSet3",
20        sourceUrl: "./../../csv-data/orcl_daily.csv",
21        csvSettings: {
22          ignoreFirstRow: true,
23          rowsSeparator: "\n",
24          columnsSeparator: ","
25        },
26        locale: {
27          dateTime: {
28            format: "%yyyy%MM%dd"
29          }
30        }
31      },
32      {
33        id: "dataSet4",
34        sourceUrl: "./../../csv-data/goog_daily.csv",
35        csvSettings: {
36          ignoreFirstRow: true,
37          rowsSeparator: "\n",
38          columnsSeparator: ","
39        },
40        locale: {
41          dateTime: {
42            format: "%yyyy%MM%dd"
43          }
44        }
45      }
46    ],
47    dataProviders: {
48      generalDataProviders: [
49        {
50          dataSet: "dataSet2",
51          id: "dp2",
52          fields: [
53            {
54              type: "Close",
55              column: 4,
56              approximationType: "Close"
57            }
58          ]
59        },
60        {
61          dataSet: "dataSet3",
62          id: "dp3",
63          fields: [
64            {
65              type: "Close",
66              column: 4,
67              approximationType: "Close"
68            }
69          ]
70        },
71        {
72          dataSet: "dataSet4",
73          id: "dp4",
74          fields: [
75            {
76              type: "Close",
77              column: 4,
78              approximationType: "Close"
79            }
80          ]
81        }
82      ],
83      scrollerDataProviders: [
84        {
85          dataSet: "dataSet2",
86          column: 4
87        }
88      ]
89    }
90  },
91  settings: {
92    dataGrouping: {
93      enabled: true,
94      maxVisiblePoints: 120
95    },
96    rangeSelector: {
97      enabled: true
98    },
99    insideMargin: {
100      right: 55
101    },
102    charts: [
103      {
104        height: 100,
105        legend: {
106          enabled: true,
107          dateTime: {
108            enabled: false
109          },
110          title: {
111            enabled: true
112          },
113          background: {
114            fill: {
115              type: "Solid",
116              color: "White"
117            }
118          },
119          labels: {
120            fallingColor: "DarkRed",
121            risingColor: "#005500",
122            icon: {
123              type: "Circle",
124              size: 6
125            },
126            focusSettings: {
127              mouseOver: {
128                format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName}</font></b> <font color=\"%ChangeColor\">{%ValueChange.Current}{plusSign:true} ({%PercentValueChange.Current}{plusSign:true}%)</font> "
129              },
130              mouseOut: {
131                format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName}</font></b> <font color=\"%ChangeColor\">{%ValueChange.LastVisible}{plusSign:true} ({%PercentValueChange.LastVisible}{plusSign:true}%)</font> "
132              }
133            }
134          }
135        },
136        seriesList: [
137          {
138            type: "Spline",
139            dataProvider: "dp2",
140            color: "#DC3912",
141            axis: "Secondary",
142            name: "MSFT:"
143          },
144          {
145            type: "Spline",
146            dataProvider: "dp3",
147            color: "#0066DD",
148            axis: "Secondary",
149            name: "ORCL:"
150          },
151          {
152            type: "Spline",
153            dataProvider: "dp4",
154            color: "#FF9900",
155            axis: "Secondary",
156            name: "GOOG:"
157          }
158        ],
159        seriesSettingsDefaults: {
160          lineSeries: {
161            thickness: 2,
162            marker: {
163              states: {
164                normal: {
165                  enabled: true
166                }
167              }
168            }
169          }
170        },
171        valueAxes: {
172          primary: {
173            enabled: true,
174            position: "Right",
175            labels: {
176              position: "Outside",
177              padding: 3,
178              valign: "Center",
179              showFirst: true,
180              showLast: true,
181              format: "{%Value}{numDecimals:0}%",
182              font: {
183                family: "Tahoma",
184                size: 9,
185                bold: true,
186                color: "#333333"
187              }
188            },
189            scale: {
190              mode: "PercentChanges",
191              type: "Logarithmic",
192              minimumOffset: 0,
193              negativeMode: "Offset"
194            }
195          }
196        },
197        xAxis: {
198          labels: {
199            background: {
200              fill: {
201                type: "Solid",
202                color: "#FDFDFD"
203              }
204            }
205          }
206        },
207        background: {
208          enabled: true,
209          fill: {
210            enabled: true,
211            type: "Gradient",
212            gradient: {
213              angle: 90,
214              keys: [
215                {
216                  color: "White"
217                },
218                {
219                  color: "#F5F5F5"
220                }
221              ]
222            }
223          }
224        }
225      }
226    ],
227    timeScale: {
228      selectedRange: {
229        type: "Unit",
230        unit: "Year",
231        count: 12
232      }
233    },
234    scroller: {
235      timeScale: {
236        maxTicksCount: 8
237      }
238    }
239  }
240}

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.