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/ixic_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/gspc_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_sets>
22     <data_providers>
23       <general_data_providers>
24         <data_provider data_set="dataSet1" id="dp1">
25           <fields>
26             <field type="Close" column="4" approximation_type="Close" />
27           </fields>
28         </data_provider>
29         <data_provider data_set="dataSet2" id="dp2">
30           <fields>
31             <field type="Close" 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 right="50" />
42     <charts>
43       <chart>
44         <legend>
45           <date_time enabled="false" />
46         </legend>
47         <value_axes>
48           <primary position="Right">
49             <scale mode="Values" />
50             <labels position="Outside" padding="5" show_first="true" show_last="true" valign="Center">
51               <format><![CDATA[{%Value}{numDecimals:0}]]></format>
52             </labels>
53             <tickmarks enabled="true" size="4" thickness="1" color="#333333" pixel_hinting="true" />
54           </primary>
55         </value_axes>
56         <series_list>
57           <series type="Line" data_provider="dp1" color="#005ECB">
58             <name><![CDATA[^IXIC:]]></name>
59             <value_highlighter enabled="true">
60               <line thickness="1" color="#777777" dashed="false" opacity="1" />
61               <labels>
62                 <label anchor="Right" x_padding="5" y_padding="0" valign="Center" halign="Left">
63                   <format><![CDATA[{%Value}{numDecimals:2}]]></format>
64                   <font family="Tahoma" size="9" bold="false" color="White" />
65                   <background enabled="true">
66                     <fill enabled="true" type="Solid" color="#005ECB" opacity="1" />
67                     <border enabled="false" color="#CBAF87" />
68                     <corners type="Rounded" all="3" />
69                     <inside_margin left="3" right="3" />
70                   </background>
71                 </label>
72               </labels>
73             </value_highlighter>
74           </series>
75           <series type="Line" data_provider="dp2" color="#CB1010">
76             <name><![CDATA[^GSPC:]]></name>
77             <value_highlighter enabled="true">
78               <line thickness="1" color="#777777" dashed="false" opacity="1" />
79               <labels>
80                 <label anchor="Right" x_padding="5" y_padding="0" valign="Center" halign="Left">
81                   <format><![CDATA[{%Value}{numDecimals:2}]]></format>
82                   <font family="Tahoma" size="9" bold="false" color="White" />
83                   <background enabled="true">
84                     <fill enabled="true" type="Solid" color="#CB1010" opacity="1" />
85                     <border enabled="false" color="#CBAF87" />
86                     <corners type="Rounded" all="3" />
87                     <inside_margin left="3" right="3" />
88                   </background>
89                 </label>
90               </labels>
91             </value_highlighter>
92           </series>
93         </series_list>
94         <x_axis>
95           <date_highlighter>
96             <line thickness="1" color="#777777" dashed="false" opacity="1" />
97             <labels>
98               <label anchor="Bottom" x_padding="0" y_padding="0" valign="Bottom" halign="Center">
99                 <format><![CDATA[{%Date}{"%MMM %dd, %yyyy"}]]></format>
100                 <font family="Tahoma" size="9" bold="true" color="White" />
101                 <background enabled="true">
102                   <fill enabled="true" type="Solid" color="#6D6D6D" opacity="1" />
103                   <border enabled="false" color="#CBAF87" />
104                   <corners type="Rounded" all="3" />
105                   <inside_margin left="3" right="3" />
106                 </background>
107               </label>
108             </labels>
109           </date_highlighter>
110         </x_axis>
111       </chart>
112     </charts>
113     <time_scale>
114       <selected_range type="Unit" unit="Year" count="1" />
115     </time_scale>
116   </settings>
117 </stock>
01{
02  data: {
03    dataSets: [
04      {
05        id: "dataSet1",
06        sourceUrl: "./../../csv-data/ixic_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/gspc_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    dataProviders: {
34      generalDataProviders: [
35        {
36          dataSet: "dataSet1",
37          id: "dp1",
38          fields: [
39            {
40              type: "Close",
41              column: 4,
42              approximationType: "Close"
43            }
44          ]
45        },
46        {
47          dataSet: "dataSet2",
48          id: "dp2",
49          fields: [
50            {
51              type: "Close",
52              column: 4,
53              approximationType: "Close"
54            }
55          ]
56        }
57      ],
58      scrollerDataProviders: [
59        {
60          dataSet: "dataSet1",
61          column: 4
62        }
63      ]
64    }
65  },
66  settings: {
67    insideMargin: {
68      right: 50
69    },
70    charts: [
71      {
72        legend: {
73          dateTime: {
74            enabled: false
75          }
76        },
77        valueAxes: {
78          primary: {
79            position: "Right",
80            scale: {
81              mode: "Values"
82            },
83            labels: {
84              position: "Outside",
85              padding: 5,
86              showFirst: true,
87              showLast: true,
88              valign: "Center",
89              format: "{%Value}{numDecimals:0}"
90            },
91            tickmarks: {
92              enabled: true,
93              size: 4,
94              thickness: 1,
95              color: "#333333",
96              pixelHinting: true
97            }
98          }
99        },
100        seriesList: [
101          {
102            type: "Line",
103            dataProvider: "dp1",
104            color: "#005ECB",
105            name: "^IXIC:",
106            valueHighlighter: {
107              enabled: true,
108              line: {
109                thickness: 1,
110                color: "#777777",
111                dashed: false,
112                opacity: 1
113              },
114              labels: [
115                {
116                  anchor: "Right",
117                  xPadding: 5,
118                  yPadding: 0,
119                  valign: "Center",
120                  halign: "Left",
121                  format: "{%Value}{numDecimals:2}",
122                  font: {
123                    family: "Tahoma",
124                    size: 9,
125                    bold: false,
126                    color: "White"
127                  },
128                  background: {
129                    enabled: true,
130                    fill: {
131                      enabled: true,
132                      type: "Solid",
133                      color: "#005ECB",
134                      opacity: 1
135                    },
136                    border: {
137                      enabled: false,
138                      color: "#CBAF87"
139                    },
140                    corners: {
141                      type: "Rounded",
142                      all: 3
143                    },
144                    insideMargin: {
145                      left: 3,
146                      right: 3
147                    }
148                  }
149                }
150              ]
151            }
152          },
153          {
154            type: "Line",
155            dataProvider: "dp2",
156            color: "#CB1010",
157            name: "^GSPC:",
158            valueHighlighter: {
159              enabled: true,
160              line: {
161                thickness: 1,
162                color: "#777777",
163                dashed: false,
164                opacity: 1
165              },
166              labels: [
167                {
168                  anchor: "Right",
169                  xPadding: 5,
170                  yPadding: 0,
171                  valign: "Center",
172                  halign: "Left",
173                  format: "{%Value}{numDecimals:2}",
174                  font: {
175                    family: "Tahoma",
176                    size: 9,
177                    bold: false,
178                    color: "White"
179                  },
180                  background: {
181                    enabled: true,
182                    fill: {
183                      enabled: true,
184                      type: "Solid",
185                      color: "#CB1010",
186                      opacity: 1
187                    },
188                    border: {
189                      enabled: false,
190                      color: "#CBAF87"
191                    },
192                    corners: {
193                      type: "Rounded",
194                      all: 3
195                    },
196                    insideMargin: {
197                      left: 3,
198                      right: 3
199                    }
200                  }
201                }
202              ]
203            }
204          }
205        ],
206        xAxis: {
207          dateHighlighter: {
208            line: {
209              thickness: 1,
210              color: "#777777",
211              dashed: false,
212              opacity: 1
213            },
214            labels: [
215              {
216                anchor: "Bottom",
217                xPadding: 0,
218                yPadding: 0,
219                valign: "Bottom",
220                halign: "Center",
221                format: "{%Date}{\"%MMM %dd, %yyyy\"}",
222                font: {
223                  family: "Tahoma",
224                  size: 9,
225                  bold: true,
226                  color: "White"
227                },
228                background: {
229                  enabled: true,
230                  fill: {
231                    enabled: true,
232                    type: "Solid",
233                    color: "#6D6D6D",
234                    opacity: 1
235                  },
236                  border: {
237                    enabled: false,
238                    color: "#CBAF87"
239                  },
240                  corners: {
241                    type: "Rounded",
242                    all: 3
243                  },
244                  insideMargin: {
245                    left: 3,
246                    right: 3
247                  }
248                }
249              }
250            ]
251          }
252        }
253      }
254    ],
255    timeScale: {
256      selectedRange: {
257        type: "Unit",
258        unit: "Year",
259        count: 1
260      }
261    }
262  }
263}

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.