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="OHLC" data_provider="dp1" color="#555555" 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             <ohlc_series width="0.5">
103               <rising color="Black" />
104               <falling color="#CF003B" />
105             </ohlc_series>
106           </series>
107           <series type="Line" data_provider="dp2" color="#0066DD">
108             <name><![CDATA[MSFT]]></name>
109           </series>
110           <series type="Spline" data_provider="dp3" color="#DC3912">
111             <name><![CDATA[ORCL]]></name>
112           </series>
113         </series_list>
114         <series_settings_defaults>
115           <line_series thickness="1">
116             <legend_item>
117               <labels>
118                 <focus_settings>
119                   <mouse_over>
120                     <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>
121                   </mouse_over>
122                   <mouse_out>
123                     <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>
124                   </mouse_out>
125                 </focus_settings>
126               </labels>
127             </legend_item>
128           </line_series>
129         </series_settings_defaults>
130         <value_axes>
131           <primary position="Right">
132             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
133               <font family="Verdana" color="%Color" bold="true" size="9" />
134               <format><![CDATA[{%Value}{numDecimals:2,trailingZeros:false,plusSign:true}%]]></format>
135             </labels>
136             <scale mode="Changes" />
137             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
138           </primary>
139         </value_axes>
140       </chart>
141     </charts>
142     <time_scale>
143       <selected_range type="YTD" />
144     </time_scale>
145   </settings>
146 </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: "OHLC",
156            dataProvider: "dp1",
157            color: "#555555",
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            ohlcSeries: {
177              width: 0.5,
178              rising: {
179                color: "Black"
180              },
181              falling: {
182                color: "#CF003B"
183              }
184            }
185          },
186          {
187            type: "Line",
188            dataProvider: "dp2",
189            color: "#0066DD",
190            name: "MSFT"
191          },
192          {
193            type: "Spline",
194            dataProvider: "dp3",
195            color: "#DC3912",
196            name: "ORCL"
197          }
198        ],
199        seriesSettingsDefaults: {
200          lineSeries: {
201            thickness: 1,
202            legendItem: {
203              labels: {
204                focusSettings: {
205                  mouseOver: {
206                    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> "
207                  },
208                  mouseOut: {
209                    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> "
210                  }
211                }
212              }
213            }
214          }
215        },
216        valueAxes: {
217          primary: {
218            position: "Right",
219            labels: {
220              position: "Outside",
221              padding: 3,
222              valign: "Center",
223              showFirst: true,
224              showLast: true,
225              font: {
226                family: "Verdana",
227                color: "%Color",
228                bold: true,
229                size: 9
230              },
231              format: "{%Value}{numDecimals:2,trailingZeros:false,plusSign:true}%"
232            },
233            scale: {
234              mode: "Changes"
235            },
236            tickmarks: {
237              enabled: true,
238              showFirst: true,
239              showLast: true,
240              thickness: 1,
241              size: 3,
242              pixelHinting: true,
243              color: "#333333"
244            }
245          }
246        }
247      }
248    ],
249    timeScale: {
250      selectedRange: {
251        type: "YTD"
252      }
253    }
254  }
255}

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.