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="ds" source_url="./../../csv-data/data_set_a.csv">
06         <csv_settings ignore_first_row="true" rows_separator="\n" />
07         <locale>
08           <date_time>
09             <format><![CDATA[%yyyy%MM%dd]]></format>
10           </date_time>
11         </locale>
12       </data_set>
13     </data_sets>
14     <data_providers>
15       <general_data_providers>
16         <data_provider id="dp1" data_set="ds">
17           <fields>
18             <field type="Value" column="1" approximation_type="Close" />
19           </fields>
20         </data_provider>
21       </general_data_providers>
22       <scroller_data_providers>
23         <data_provider id="default" data_set="ds" column="1" />
24       </scroller_data_providers>
25     </data_providers>
26   </data>
27   <event_markers>
28     <stack_settings mode="AlwaysExpanded" />
29     <settings allow_select="true">
30       <connector length="20" opacity="0.5" />
31       <shape type="Circle" auto_size="false" size="18">
32         <border opacity="0.4" />
33         <fill opacity="0.9" />
34       </shape>
35       <states>
36         <hover>
37           <shape>
38             <border color="#579AE9" thickness="2" opacity="0.7" />
39           </shape>
40         </hover>
41         <selected_hover>
42           <shape>
43             <border color="#579AE9" thickness="2" opacity="1" />
44           </shape>
45         </selected_hover>
46         <selected_normal>
47           <shape>
48             <border color="#579AE9" thickness="2" opacity="1" />
49           </shape>
50         </selected_normal>
51       </states>
52     </settings>
53     <groups>
54       <group chart="idMainChart" series="idSeriesA">
55         <settings>
56           <tooltip enabled="true">
57             <font family="Verdana" size="9" />
58             <format><![CDATA[<textformat leading="4">Date: {%SourceDate}{"%MMM %d, %yyyy"}<br/>Color Scheme: {%ColorScheme}</textformat>]]></format>
59           </tooltip>
60         </settings>
61         <events>
62           <event date="2008-11-12" format="A">
63             <settings>
64               <font family="Verdana" size="9" color="#FFFFFF" />
65               <shape type="Circle">
66                 <fill type="Gradient" opacity="1">
67                   <gradient type="Radial" angle="45" focal_point="-0.5">
68                     <keys>
69                       <key color="#C5C5C5" />
70                       <key color="#000000" />
71                     </keys>
72                   </gradient>
73                 </fill>
74               </shape>
75             </settings>
76             <attributes>
77               <attr name="ColorScheme"><![CDATA[Black]]></attr>
78             </attributes>
79           </event>
80           <event date="2009-01-16" format="B">
81             <settings>
82               <font family="Verdana" size="9" color="#FFFFFF" />
83               <shape type="Circle">
84                 <fill type="Gradient" opacity="1">
85                   <gradient type="Radial" angle="45" focal_point="-0.5">
86                     <keys>
87                       <key color="#DC6B6B" />
88                       <key color="#85001F" />
89                     </keys>
90                   </gradient>
91                 </fill>
92               </shape>
93             </settings>
94             <attributes>
95               <attr name="ColorScheme"><![CDATA[Red]]></attr>
96             </attributes>
97           </event>
98           <event date="2009-04-12" format="C">
99             <settings>
100               <font family="Verdana" size="9" color="#FFFFFF" />
101               <shape type="Circle">
102                 <fill type="Gradient" opacity="1">
103                   <gradient type="Radial" angle="45" focal_point="-0.5">
104                     <keys>
105                       <key color="#6BDC73" />
106                       <key color="#006511" />
107                     </keys>
108                   </gradient>
109                 </fill>
110               </shape>
111             </settings>
112             <attributes>
113               <attr name="ColorScheme"><![CDATA[Green]]></attr>
114             </attributes>
115           </event>
116         </events>
117       </group>
118     </groups>
119   </event_markers>
120   <settings>
121     <data_grouping enabled="true" />
122     <charts>
123       <chart id="idMainChart">
124         <series_list>
125           <series id="idSeriesA" type="Area" data_provider="dp1" color="#AAAAAA">
126             <name><![CDATA[Series A]]></name>
127             <line_series thickness="1" />
128           </series>
129         </series_list>
130       </chart>
131     </charts>
132     <time_scale>
133       <selected_range type="Unit" unit="Year" count="2" />
134     </time_scale>
135     <range_selector enabled="true" />
136   </settings>
137 </stock>
01{
02  data: {
03    dataSets: [
04      {
05        id: "ds",
06        sourceUrl: "./../../csv-data/data_set_a.csv",
07        csvSettings: {
08          ignoreFirstRow: true,
09          rowsSeparator: "\n"
10        },
11        locale: {
12          dateTime: {
13            format: "%yyyy%MM%dd"
14          }
15        }
16      }
17    ],
18    dataProviders: {
19      generalDataProviders: [
20        {
21          id: "dp1",
22          dataSet: "ds",
23          fields: [
24            {
25              type: "Value",
26              column: 1,
27              approximationType: "Close"
28            }
29          ]
30        }
31      ],
32      scrollerDataProviders: [
33        {
34          id: "default",
35          dataSet: "ds",
36          column: 1
37        }
38      ]
39    }
40  },
41  eventMarkers: {
42    stackSettings: {
43      mode: "AlwaysExpanded"
44    },
45    settings: {
46      allowSelect: true,
47      connector: {
48        length: 20,
49        opacity: 0.5
50      },
51      shape: {
52        type: "Circle",
53        autoSize: false,
54        size: 18,
55        border: {
56          opacity: 0.4
57        },
58        fill: {
59          opacity: 0.9
60        }
61      },
62      states: {
63        hover: {
64          shape: {
65            border: {
66              color: "#579AE9",
67              thickness: 2,
68              opacity: 0.7
69            }
70          }
71        },
72        selectedHover: {
73          shape: {
74            border: {
75              color: "#579AE9",
76              thickness: 2,
77              opacity: 1
78            }
79          }
80        },
81        selectedNormal: {
82          shape: {
83            border: {
84              color: "#579AE9",
85              thickness: 2,
86              opacity: 1
87            }
88          }
89        }
90      }
91    },
92    groups: [
93      {
94        chart: "idMainChart",
95        series: "idSeriesA",
96        settings: {
97          tooltip: {
98            enabled: true,
99            font: {
100              family: "Verdana",
101              size: 9
102            },
103            format: "<textformat leading=\"4\">Date: {%SourceDate}{\"%MMM %d, %yyyy\"}<br/>Color Scheme: {%ColorScheme}</textformat>"
104          }
105        },
106        events: [
107          {
108            date: "2008-11-12",
109            format: "A",
110            settings: {
111              font: {
112                family: "Verdana",
113                size: 9,
114                color: "#FFFFFF"
115              },
116              shape: {
117                type: "Circle",
118                fill: {
119                  type: "Gradient",
120                  opacity: 1,
121                  gradient: {
122                    type: "Radial",
123                    angle: 45,
124                    focalPoint: -0.5,
125                    keys: [
126                      {
127                        color: "#C5C5C5"
128                      },
129                      {
130                        color: "#000000"
131                      }
132                    ]
133                  }
134                }
135              }
136            },
137            attributes: {
138              ColorScheme: "Black"
139            }
140          },
141          {
142            date: "2009-01-16",
143            format: "B",
144            settings: {
145              font: {
146                family: "Verdana",
147                size: 9,
148                color: "#FFFFFF"
149              },
150              shape: {
151                type: "Circle",
152                fill: {
153                  type: "Gradient",
154                  opacity: 1,
155                  gradient: {
156                    type: "Radial",
157                    angle: 45,
158                    focalPoint: -0.5,
159                    keys: [
160                      {
161                        color: "#DC6B6B"
162                      },
163                      {
164                        color: "#85001F"
165                      }
166                    ]
167                  }
168                }
169              }
170            },
171            attributes: {
172              ColorScheme: "Red"
173            }
174          },
175          {
176            date: "2009-04-12",
177            format: "C",
178            settings: {
179              font: {
180                family: "Verdana",
181                size: 9,
182                color: "#FFFFFF"
183              },
184              shape: {
185                type: "Circle",
186                fill: {
187                  type: "Gradient",
188                  opacity: 1,
189                  gradient: {
190                    type: "Radial",
191                    angle: 45,
192                    focalPoint: -0.5,
193                    keys: [
194                      {
195                        color: "#6BDC73"
196                      },
197                      {
198                        color: "#006511"
199                      }
200                    ]
201                  }
202                }
203              }
204            },
205            attributes: {
206              ColorScheme: "Green"
207            }
208          }
209        ]
210      }
211    ]
212  },
213  settings: {
214    dataGrouping: {
215      enabled: true
216    },
217    charts: [
218      {
219        id: "idMainChart",
220        seriesList: [
221          {
222            id: "idSeriesA",
223            type: "Area",
224            dataProvider: "dp1",
225            color: "#AAAAAA",
226            name: "Series A",
227            lineSeries: {
228              thickness: 1
229            }
230          }
231        ]
232      }
233    ],
234    timeScale: {
235      selectedRange: {
236        type: "Unit",
237        unit: "Year",
238        count: 2
239      }
240    },
241    rangeSelector: {
242      enabled: true
243    }
244  }
245}

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.