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/dji_daily_close.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/gspc_daily_close.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/ixic_daily_close.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="Value" column="1" approximation_type="Close" />
35           </fields>
36         </data_provider>
37         <data_provider data_set="dataSet2" id="dp2">
38           <fields>
39             <field type="Value" column="1" approximation_type="Close" />
40           </fields>
41         </data_provider>
42         <data_provider data_set="dataSet3" id="dp3">
43           <fields>
44             <field type="Value" column="1" approximation_type="Close" />
45           </fields>
46         </data_provider>
47       </general_data_providers>
48       <scroller_data_providers>
49         <data_provider data_set="dataSet1" column="1" />
50       </scroller_data_providers>
51     </data_providers>
52   </data>
53   <settings>
54     <data_grouping enabled="true" max_visible_points="500" />
55     <inside_margin left="50" />
56     <charts>
57       <chart>
58         <value_axes>
59           <primary>
60             <scale mode="Changes" minimum_offset="0" />
61             <labels enabled="true" position="Outside" padding="5" valign="Center" show_first="true" show_last="true">
62               <format><![CDATA[{%Value}{numDecimals:0}]]></format>
63             </labels>
64             <zero_line enabled="true" color="DarkRed" opacity="0.7" />
65           </primary>
66         </value_axes>
67         <legend>
68           <date_time enabled="false" />
69           <labels falling_color="DarkRed" rising_color="#005500" />
70         </legend>
71         <series_list>
72           <series type="Area" data_provider="dp1" color="#DC3912">
73             <name><![CDATA[^DJI]]></name>
74             <area_series>
75               <fill opacity="0.7" />
76             </area_series>
77           </series>
78           <series type="Area" data_provider="dp3" color="#FF9900">
79             <name><![CDATA[^IXIC]]></name>
80             <area_series>
81               <fill opacity="0.7" />
82             </area_series>
83           </series>
84           <series type="Area" data_provider="dp2" color="#0066DD">
85             <name><![CDATA[^GSPC]]></name>
86             <area_series>
87               <fill opacity="0.7" />
88             </area_series>
89           </series>
90         </series_list>
91         <series_settings_defaults>
92           <area_series>
93             <legend_item>
94               <labels>
95                 <focus_settings>
96                   <mouse_over>
97                     <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName}</font> </b><font color="%ChangeColor">{%ValueChange.Current}{plusSign:true} ({%PercentValueChange.Current}{plusSign:true}%)</font> ]]></format>
98                   </mouse_over>
99                   <mouse_out>
100                     <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName}</font> </b><font color="%ChangeColor">{%Value.Last}{plusSign:true} ({%PercentValueChange.LastVisible}{plusSign:true}%)</font> ]]></format>
101                   </mouse_out>
102                 </focus_settings>
103               </labels>
104             </legend_item>
105           </area_series>
106         </series_settings_defaults>
107       </chart>
108     </charts>
109     <range_selector enabled="true" />
110     <time_scale is_ordinal="true">
111       <selected_range type="Custom" start_date="1986-01-02" end_date="2009-07-02" />
112     </time_scale>
113   </settings>
114 </stock>
01{
02  data: {
03    dataSets: [
04      {
05        id: "dataSet1",
06        sourceUrl: "./../../csv-data/dji_daily_close.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/gspc_daily_close.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/ixic_daily_close.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: "Value",
55              column: 1,
56              approximationType: "Close"
57            }
58          ]
59        },
60        {
61          dataSet: "dataSet2",
62          id: "dp2",
63          fields: [
64            {
65              type: "Value",
66              column: 1,
67              approximationType: "Close"
68            }
69          ]
70        },
71        {
72          dataSet: "dataSet3",
73          id: "dp3",
74          fields: [
75            {
76              type: "Value",
77              column: 1,
78              approximationType: "Close"
79            }
80          ]
81        }
82      ],
83      scrollerDataProviders: [
84        {
85          dataSet: "dataSet1",
86          column: 1
87        }
88      ]
89    }
90  },
91  settings: {
92    dataGrouping: {
93      enabled: true,
94      maxVisiblePoints: 500
95    },
96    insideMargin: {
97      left: 50
98    },
99    charts: [
100      {
101        valueAxes: {
102          primary: {
103            scale: {
104              mode: "Changes",
105              minimumOffset: 0
106            },
107            labels: {
108              enabled: true,
109              position: "Outside",
110              padding: 5,
111              valign: "Center",
112              showFirst: true,
113              showLast: true,
114              format: "{%Value}{numDecimals:0}"
115            },
116            zeroLine: {
117              enabled: true,
118              color: "DarkRed",
119              opacity: 0.7
120            }
121          }
122        },
123        legend: {
124          dateTime: {
125            enabled: false
126          },
127          labels: {
128            fallingColor: "DarkRed",
129            risingColor: "#005500"
130          }
131        },
132        seriesList: [
133          {
134            type: "Area",
135            dataProvider: "dp1",
136            color: "#DC3912",
137            name: "^DJI",
138            areaSeries: {
139              fill: {
140                opacity: 0.7
141              }
142            }
143          },
144          {
145            type: "Area",
146            dataProvider: "dp3",
147            color: "#FF9900",
148            name: "^IXIC",
149            areaSeries: {
150              fill: {
151                opacity: 0.7
152              }
153            }
154          },
155          {
156            type: "Area",
157            dataProvider: "dp2",
158            color: "#0066DD",
159            name: "^GSPC",
160            areaSeries: {
161              fill: {
162                opacity: 0.7
163              }
164            }
165          }
166        ],
167        seriesSettingsDefaults: {
168          areaSeries: {
169            legendItem: {
170              labels: {
171                focusSettings: {
172                  mouseOver: {
173                    format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName}</font> </b><font color=\"%ChangeColor\">{%ValueChange.Current}{plusSign:true} ({%PercentValueChange.Current}{plusSign:true}%)</font> "
174                  },
175                  mouseOut: {
176                    format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName}</font> </b><font color=\"%ChangeColor\">{%Value.Last}{plusSign:true} ({%PercentValueChange.LastVisible}{plusSign:true}%)</font> "
177                  }
178                }
179              }
180            }
181          }
182        }
183      }
184    ],
185    rangeSelector: {
186      enabled: true
187    },
188    timeScale: {
189      isOrdinal: true,
190      selectedRange: {
191        type: "Custom",
192        startDate: "1986-01-02",
193        endDate: "2009-07-02"
194      }
195    }
196  }
197}

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.