01 <?xml version="1.0" encoding="UTF-8"?>
02 <stock xmlns="http://anychart.com/products/stock/schemas/1.9.0/schema.xsd">
03   <event_markers>
04     <locale>
05       <date_time>
06         <format><![CDATA[%yyyy-%MM%-%dd]]></format>
07       </date_time>
08     </locale>
09     <groups>
10       <group chart="idMainChart" series="idSeries">
11         <settings>
12           <font color="#B04C00" size="11" />
13           <tooltip enabled="true">
14             <format><![CDATA[<textformat leading="4"><b><font color="#666666">Date:</font> {%SourceDate}{"%yyyy-%MM-%dd"}<br/><font color="#666666">Status:</font> <font color="#222222">{%Status}</font><br/><font color="#666666">Param1 Value:</font> <font color="#222222">{%Param1}</font><br/><font color="#666666">Param2 Value:</font> <font color="#222222">{%Param2}</font></b></textformat>]]></format>
15           </tooltip>
16         </settings>
17         <events>
18           <event locale_based_date="2009-01-18" format="A">
19             <attributes>
20               <attr name="Status"><![CDATA[Normal]]></attr>
21               <attr name="Param1"><![CDATA[78]]></attr>
22               <attr name="Param2"><![CDATA[17]]></attr>
23             </attributes>
24           </event>
25           <event locale_based_date="2009-02-11" format="B">
26             <attributes>
27               <attr name="Status"><![CDATA[High]]></attr>
28               <attr name="Param1"><![CDATA[119]]></attr>
29               <attr name="Param2"><![CDATA[45]]></attr>
30             </attributes>
31           </event>
32           <event locale_based_date="2009-04-24" format="C">
33             <attributes>
34               <attr name="Status"><![CDATA[Low]]></attr>
35               <attr name="Param1"><![CDATA[45]]></attr>
36               <attr name="Param2"><![CDATA[4]]></attr>
37             </attributes>
38           </event>
39         </events>
40       </group>
41     </groups>
42   </event_markers>
43   <data>
44     <data_sets>
45       <data_set id="dataSet1" source_url="./../../csv-data/data_set_d.csv">
46         <csv_settings ignore_first_row="true" rows_separator="\n" />
47         <locale>
48           <date_time>
49             <format><![CDATA[%yyyy%MM%dd]]></format>
50           </date_time>
51         </locale>
52       </data_set>
53     </data_sets>
54     <data_providers>
55       <general_data_providers>
56         <data_provider data_set="dataSet1" id="s1">
57           <fields>
58             <field type="Value" column="4" approximation_type="Close" />
59           </fields>
60         </data_provider>
61       </general_data_providers>
62       <scroller_data_providers>
63         <data_provider data_set="dataSet1" column="4" />
64       </scroller_data_providers>
65     </data_providers>
66   </data>
67   <settings>
68     <inside_margin left="50" />
69     <charts>
70       <chart id="idMainChart">
71         <legend>
72           <date_time enabled="false" />
73         </legend>
74         <value_axes>
75           <primary position="Left">
76             <labels position="Outside" padding="5" show_first="true" show_last="true" valign="Center">
77               <format><![CDATA[{%Value}{numDecimals:1}]]></format>
78             </labels>
79             <scale mode="Values" />
80           </primary>
81         </value_axes>
82         <series_list>
83           <series id="idSeries" type="Area" data_provider="s1" color="#0066DD">
84             <name><![CDATA[Series]]></name>
85           </series>
86         </series_list>
87       </chart>
88     </charts>
89     <time_scale>
90       <selected_range type="Unit" unit="Year" count="1" />
91     </time_scale>
92     <range_selector enabled="true" />
93   </settings>
94 </stock>
01{
02  eventMarkers: {
03    locale: {
04      dateTime: {
05        format: "%yyyy-%MM%-%dd"
06      }
07    },
08    groups: [
09      {
10        chart: "idMainChart",
11        series: "idSeries",
12        settings: {
13          font: {
14            color: "#B04C00",
15            size: 11
16          },
17          tooltip: {
18            enabled: true,
19            format: "<textformat leading=\"4\"><b><font color=\"#666666\">Date:</font> {%SourceDate}{\"%yyyy-%MM-%dd\"}<br/><font color=\"#666666\">Status:</font> <font color=\"#222222\">{%Status}</font><br/><font color=\"#666666\">Param1 Value:</font> <font color=\"#222222\">{%Param1}</font><br/><font color=\"#666666\">Param2 Value:</font> <font color=\"#222222\">{%Param2}</font></b></textformat>"
20          }
21        },
22        events: [
23          {
24            localeBasedDate: "2009-01-18",
25            format: "A",
26            attributes: {
27              Status: "Normal",
28              Param1: "78",
29              Param2: "17"
30            }
31          },
32          {
33            localeBasedDate: "2009-02-11",
34            format: "B",
35            attributes: {
36              Status: "High",
37              Param1: "119",
38              Param2: "45"
39            }
40          },
41          {
42            localeBasedDate: "2009-04-24",
43            format: "C",
44            attributes: {
45              Status: "Low",
46              Param1: "45",
47              Param2: "4"
48            }
49          }
50        ]
51      }
52    ]
53  },
54  data: {
55    dataSets: [
56      {
57        id: "dataSet1",
58        sourceUrl: "./../../csv-data/data_set_d.csv",
59        csvSettings: {
60          ignoreFirstRow: true,
61          rowsSeparator: "\n"
62        },
63        locale: {
64          dateTime: {
65            format: "%yyyy%MM%dd"
66          }
67        }
68      }
69    ],
70    dataProviders: {
71      generalDataProviders: [
72        {
73          dataSet: "dataSet1",
74          id: "s1",
75          fields: [
76            {
77              type: "Value",
78              column: 4,
79              approximationType: "Close"
80            }
81          ]
82        }
83      ],
84      scrollerDataProviders: [
85        {
86          dataSet: "dataSet1",
87          column: 4
88        }
89      ]
90    }
91  },
92  settings: {
93    insideMargin: {
94      left: 50
95    },
96    charts: [
97      {
98        id: "idMainChart",
99        legend: {
100          dateTime: {
101            enabled: false
102          }
103        },
104        valueAxes: {
105          primary: {
106            position: "Left",
107            labels: {
108              position: "Outside",
109              padding: 5,
110              showFirst: true,
111              showLast: true,
112              valign: "Center",
113              format: "{%Value}{numDecimals:1}"
114            },
115            scale: {
116              mode: "Values"
117            }
118          }
119        },
120        seriesList: [
121          {
122            id: "idSeries",
123            type: "Area",
124            dataProvider: "s1",
125            color: "#0066DD",
126            name: "Series"
127          }
128        ]
129      }
130    ],
131    timeScale: {
132      selectedRange: {
133        type: "Unit",
134        unit: "Year",
135        count: 1
136      }
137    },
138    rangeSelector: {
139      enabled: true
140    }
141  }
142}

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.