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/ibm_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_set id="dataSet2" source_url="./../../csv-data/msft_daily_short.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="dataSet3" source_url="./../../csv-data/orcl_daily_short.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="dataSet1" id="dp1">
33           <fields>
34             <field type="Open" column="1" approximation_type="Open" />
35             <field type="High" column="2" approximation_type="High" />
36             <field type="Low" column="3" approximation_type="Low" />
37             <field type="Close" column="4" approximation_type="Close" />
38             <field type="Volume" column="5" approximation_type="Average" />
39           </fields>
40         </data_provider>
41         <data_provider data_set="dataSet2" id="dp2">
42           <fields>
43             <field type="Close" column="4" approximation_type="Close" />
44           </fields>
45         </data_provider>
46         <data_provider data_set="dataSet3" id="dp3">
47           <fields>
48             <field type="Close" column="4" approximation_type="Close" />
49           </fields>
50         </data_provider>
51       </general_data_providers>
52       <scroller_data_providers>
53         <data_provider data_set="dataSet1" column="4" />
54       </scroller_data_providers>
55     </data_providers>
56   </data>
57   <settings>
58     <data_grouping enabled="true" max_visible_points="250" />
59     <inside_margin right="40" />
60     <range_selector enabled="true" />
61     <charts>
62       <chart height="100">
63         <legend>
64           <date_time enabled="true">
65             <font color="#333333" bold="true" />
66             <focus_settings>
67               <mouse_over>
68                 <format><![CDATA[{%Date.Current}{"%MMMM %dd, %yyyy"}]]></format>
69               </mouse_over>
70               <mouse_out>
71                 <format><![CDATA[{%Date.LastVisible}{"%MMMM %dd, %yyyy"}]]></format>
72               </mouse_out>
73             </focus_settings>
74           </date_time>
75           <title line_break="true">
76             <focus_settings>
77               <mouse_over>
78                 <format><![CDATA[Compare: IMB vs ORCL vs MSFT]]></format>
79               </mouse_over>
80               <mouse_out>
81                 <format><![CDATA[Compare: IMB vs ORCL vs MSFT]]></format>
82               </mouse_out>
83             </focus_settings>
84           </title>
85         </legend>
86         <series_list>
87           <series type="RangeSplineArea" data_provider="dp1" color="#DC3912" compare_field_type="Close">
88             <name><![CDATA[IBM]]></name>
89             <legend_item line_break="true">
90               <labels>
91                 <font color="#333333" />
92                 <focus_settings>
93                   <mouse_over>
94                     <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName} </font><font color="#707070">O: </font>{%Open.Current} <font color="#707070">H: </font>{%High.Current} <font color="#707070">L: </font>{%Low.Current} <font color="#707070">C: </font>{%Close.Current}</b> ]]></format>
95                   </mouse_over>
96                   <mouse_out>
97                     <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName} </font><font color="#707070">O: </font>{%Open.LastVisible} <font color="#707070">H: </font>{%High.LastVisible} <font color="#707070">L: </font>{%Low.LastVisible} <font color="#707070">C: </font>{%Close.LastVisible}</b> ]]></format>
98                   </mouse_out>
99                 </focus_settings>
100               </labels>
101             </legend_item>
102           </series>
103           <series type="Spline" data_provider="dp2" color="#005ECB">
104             <name><![CDATA[MSFT]]></name>
105             <line_series thickness="2" />
106           </series>
107           <series type="Line" data_provider="dp3" color="#00B62D">
108             <name><![CDATA[ORCL]]></name>
109             <line_series thickness="2" />
110           </series>
111         </series_list>
112         <series_settings_defaults>
113           <line_series thickness="1">
114             <legend_item>
115               <labels>
116                 <focus_settings>
117                   <mouse_over>
118                     <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName}</font> <font color="#333333">{%Value.Current}</font> <font color="#808080">Chg:</font> <font color="%ChangeColor">{%ValueChange.Current}{plusSign:true} ({%PercentValueChange.Current}{plusSign:true}%)</font></b> ]]></format>
119                   </mouse_over>
120                   <mouse_out>
121                     <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName}</font> <font color="#333333">{%Value.LastVisible}</font> <font color="#808080">Chg:</font> <font color="%ChangeColor">{%ValueChange.LastVisible}{plusSign:true} ({%PercentValueChange.LastVisible}{plusSign:true}%)</font></b> ]]></format>
122                   </mouse_out>
123                 </focus_settings>
124               </labels>
125             </legend_item>
126           </line_series>
127         </series_settings_defaults>
128         <value_axes>
129           <primary position="Right">
130             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
131               <font family="Verdana" color="%Color" bold="true" size="9" />
132               <format><![CDATA[{%Value}{numDecimals:2,trailingZeros:false,plusSign:true}%]]></format>
133             </labels>
134             <scale mode="Changes" />
135             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
136           </primary>
137         </value_axes>
138       </chart>
139     </charts>
140     <time_scale>
141       <selected_range type="Unit" unit="Year" count="3" />
142     </time_scale>
143   </settings>
144 </stock>
01{
02  data: {
03    dataSets: [
04      {
05        id: "dataSet1",
06        sourceUrl: "./../../csv-data/ibm_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        id: "dataSet2",
20        sourceUrl: "./../../csv-data/msft_daily_short.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: "dataSet3",
34        sourceUrl: "./../../csv-data/orcl_daily_short.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: "dataSet1",
51          id: "dp1",
52          fields: [
53            {
54              type: "Open",
55              column: 1,
56              approximationType: "Open"
57            },
58            {
59              type: "High",
60              column: 2,
61              approximationType: "High"
62            },
63            {
64              type: "Low",
65              column: 3,
66              approximationType: "Low"
67            },
68            {
69              type: "Close",
70              column: 4,
71              approximationType: "Close"
72            },
73            {
74              type: "Volume",
75              column: 5,
76              approximationType: "Average"
77            }
78          ]
79        },
80        {
81          dataSet: "dataSet2",
82          id: "dp2",
83          fields: [
84            {
85              type: "Close",
86              column: 4,
87              approximationType: "Close"
88            }
89          ]
90        },
91        {
92          dataSet: "dataSet3",
93          id: "dp3",
94          fields: [
95            {
96              type: "Close",
97              column: 4,
98              approximationType: "Close"
99            }
100          ]
101        }
102      ],
103      scrollerDataProviders: [
104        {
105          dataSet: "dataSet1",
106          column: 4
107        }
108      ]
109    }
110  },
111  settings: {
112    dataGrouping: {
113      enabled: true,
114      maxVisiblePoints: 250
115    },
116    insideMargin: {
117      right: 40
118    },
119    rangeSelector: {
120      enabled: true
121    },
122    charts: [
123      {
124        height: 100,
125        legend: {
126          dateTime: {
127            enabled: true,
128            font: {
129              color: "#333333",
130              bold: true
131            },
132            focusSettings: {
133              mouseOver: {
134                format: "{%Date.Current}{\"%MMMM %dd, %yyyy\"}"
135              },
136              mouseOut: {
137                format: "{%Date.LastVisible}{\"%MMMM %dd, %yyyy\"}"
138              }
139            }
140          },
141          title: {
142            lineBreak: true,
143            focusSettings: {
144              mouseOver: {
145                format: "Compare: IMB vs ORCL vs MSFT"
146              },
147              mouseOut: {
148                format: "Compare: IMB vs ORCL vs MSFT"
149              }
150            }
151          }
152        },
153        seriesList: [
154          {
155            type: "RangeSplineArea",
156            dataProvider: "dp1",
157            color: "#DC3912",
158            compareFieldType: "Close",
159            name: "IBM",
160            legendItem: {
161              lineBreak: true,
162              labels: {
163                font: {
164                  color: "#333333"
165                },
166                focusSettings: {
167                  mouseOver: {
168                    format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName} </font><font color=\"#707070\">O: </font>{%Open.Current} <font color=\"#707070\">H: </font>{%High.Current} <font color=\"#707070\">L: </font>{%Low.Current} <font color=\"#707070\">C: </font>{%Close.Current}</b> "
169                  },
170                  mouseOut: {
171                    format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName} </font><font color=\"#707070\">O: </font>{%Open.LastVisible} <font color=\"#707070\">H: </font>{%High.LastVisible} <font color=\"#707070\">L: </font>{%Low.LastVisible} <font color=\"#707070\">C: </font>{%Close.LastVisible}</b> "
172                  }
173                }
174              }
175            }
176          },
177          {
178            type: "Spline",
179            dataProvider: "dp2",
180            color: "#005ECB",
181            name: "MSFT",
182            lineSeries: {
183              thickness: 2
184            }
185          },
186          {
187            type: "Line",
188            dataProvider: "dp3",
189            color: "#00B62D",
190            name: "ORCL",
191            lineSeries: {
192              thickness: 2
193            }
194          }
195        ],
196        seriesSettingsDefaults: {
197          lineSeries: {
198            thickness: 1,
199            legendItem: {
200              labels: {
201                focusSettings: {
202                  mouseOver: {
203                    format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName}</font> <font color=\"#333333\">{%Value.Current}</font> <font color=\"#808080\">Chg:</font> <font color=\"%ChangeColor\">{%ValueChange.Current}{plusSign:true} ({%PercentValueChange.Current}{plusSign:true}%)</font></b> "
204                  },
205                  mouseOut: {
206                    format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName}</font> <font color=\"#333333\">{%Value.LastVisible}</font> <font color=\"#808080\">Chg:</font> <font color=\"%ChangeColor\">{%ValueChange.LastVisible}{plusSign:true} ({%PercentValueChange.LastVisible}{plusSign:true}%)</font></b> "
207                  }
208                }
209              }
210            }
211          }
212        },
213        valueAxes: {
214          primary: {
215            position: "Right",
216            labels: {
217              position: "Outside",
218              padding: 3,
219              valign: "Center",
220              showFirst: true,
221              showLast: true,
222              font: {
223                family: "Verdana",
224                color: "%Color",
225                bold: true,
226                size: 9
227              },
228              format: "{%Value}{numDecimals:2,trailingZeros:false,plusSign:true}%"
229            },
230            scale: {
231              mode: "Changes"
232            },
233            tickmarks: {
234              enabled: true,
235              showFirst: true,
236              showLast: true,
237              thickness: 1,
238              size: 3,
239              pixelHinting: true,
240              color: "#333333"
241            }
242          }
243        }
244      }
245    ],
246    timeScale: {
247      selectedRange: {
248        type: "Unit",
249        unit: "Year",
250        count: 3
251      }
252    }
253  }
254}

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.