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_sets>
14     <data_providers>
15       <general_data_providers>
16         <data_provider data_set="dataSet1" id="dp1">
17           <fields>
18             <field type="Close" column="4" approximation_type="Close" />
19           </fields>
20         </data_provider>
21       </general_data_providers>
22       <scroller_data_providers>
23         <data_provider data_set="dataSet1" column="4" />
24       </scroller_data_providers>
25     </data_providers>
26   </data>
27   <settings>
28     <inside_margin left="50" right="50" />
29     <data_grouping enabled="false" />
30     <charts>
31       <chart>
32         <series_list>
33           <series type="Line" data_provider="dp1" color="#005ECB">
34             <name><![CDATA[Series:]]></name>
35           </series>
36         </series_list>
37         <value_axes>
38           <primary>
39             <scale minimum_mode="CustomValue" minimum="0" maximum_mode="CustomValue" maximum="3000" />
40             <labels position="Outside" valign="Center" show_first="true" show_last="true">
41               <format><![CDATA[{%Value}{numDecimals:0}]]></format>
42             </labels>
43             <axis_markers>
44               <range_markers>
45                 <range_marker low_value="0" high_value="1000">
46                   <low_line enabled="false" />
47                   <high_line enabled="false" />
48                   <fill type="Solid" color="Green" opacity="0.1" />
49                   <labels>
50                     <label anchor="Center" valign="Center" halign="Center">
51                       <font family="Verdana" size="16" color="#6CAA6C" />
52                       <format><![CDATA[LOW]]></format>
53                     </label>
54                     <label anchor="RightBottom" valign="Top" halign="Right">
55                       <format><![CDATA[{%LowValue}{numDecimals:0}]]></format>
56                       <font family="Tahoma" size="11" color="#222222" />
57                     </label>
58                   </labels>
59                 </range_marker>
60                 <range_marker low_value="1000" high_value="2000">
61                   <low_line enabled="false" />
62                   <high_line enabled="false" />
63                   <fill type="Solid" color="Yellow" opacity="0.1" />
64                   <labels>
65                     <label anchor="Center" valign="Center" halign="Center">
66                       <font family="Verdana" size="16" color="#DBDB40" />
67                       <format><![CDATA[AVERAGE]]></format>
68                     </label>
69                     <label anchor="RightBottom" valign="Center" halign="Right">
70                       <format><![CDATA[{%LowValue}{numDecimals:0}]]></format>
71                       <font family="Tahoma" size="11" color="#222222" />
72                     </label>
73                     <label anchor="RightTop" valign="Center" halign="Right">
74                       <format><![CDATA[{%HighValue}{numDecimals:0}]]></format>
75                       <font family="Tahoma" size="11" color="#222222" />
76                     </label>
77                   </labels>
78                 </range_marker>
79                 <range_marker low_value="2000" high_value="3000">
80                   <low_line enabled="false" />
81                   <high_line enabled="false" />
82                   <fill type="Solid" color="Red" opacity="0.1" />
83                   <labels>
84                     <label anchor="Center" valign="Center" halign="Center">
85                       <font family="Verdana" size="16" color="#DD7171" />
86                       <format><![CDATA[HIGH]]></format>
87                     </label>
88                     <label anchor="RightTop" valign="Bottom" halign="Right">
89                       <format><![CDATA[{%HighValue}{numDecimals:0}]]></format>
90                       <font family="Tahoma" size="11" color="#222222" />
91                     </label>
92                   </labels>
93                 </range_marker>
94               </range_markers>
95             </axis_markers>
96           </primary>
97         </value_axes>
98       </chart>
99     </charts>
100     <time_scale>
101       <selected_range type="Unit" unit="Year" count="2" />
102     </time_scale>
103   </settings>
104 </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    dataProviders: {
20      generalDataProviders: [
21        {
22          dataSet: "dataSet1",
23          id: "dp1",
24          fields: [
25            {
26              type: "Close",
27              column: 4,
28              approximationType: "Close"
29            }
30          ]
31        }
32      ],
33      scrollerDataProviders: [
34        {
35          dataSet: "dataSet1",
36          column: 4
37        }
38      ]
39    }
40  },
41  settings: {
42    insideMargin: {
43      left: 50,
44      right: 50
45    },
46    dataGrouping: {
47      enabled: false
48    },
49    charts: [
50      {
51        seriesList: [
52          {
53            type: "Line",
54            dataProvider: "dp1",
55            color: "#005ECB",
56            name: "Series:"
57          }
58        ],
59        valueAxes: {
60          primary: {
61            scale: {
62              minimumMode: "CustomValue",
63              minimum: 0,
64              maximumMode: "CustomValue",
65              maximum: 3000
66            },
67            labels: {
68              position: "Outside",
69              valign: "Center",
70              showFirst: true,
71              showLast: true,
72              format: "{%Value}{numDecimals:0}"
73            },
74            axisMarkers: {
75              rangeMarkers: [
76                {
77                  lowValue: 0,
78                  highValue: 1000,
79                  lowLine: {
80                    enabled: false
81                  },
82                  highLine: {
83                    enabled: false
84                  },
85                  fill: {
86                    type: "Solid",
87                    color: "Green",
88                    opacity: 0.1
89                  },
90                  labels: [
91                    {
92                      anchor: "Center",
93                      valign: "Center",
94                      halign: "Center",
95                      font: {
96                        family: "Verdana",
97                        size: 16,
98                        color: "#6CAA6C"
99                      },
100                      format: "LOW"
101                    },
102                    {
103                      anchor: "RightBottom",
104                      valign: "Top",
105                      halign: "Right",
106                      format: "{%LowValue}{numDecimals:0}",
107                      font: {
108                        family: "Tahoma",
109                        size: 11,
110                        color: "#222222"
111                      }
112                    }
113                  ]
114                },
115                {
116                  lowValue: 1000,
117                  highValue: 2000,
118                  lowLine: {
119                    enabled: false
120                  },
121                  highLine: {
122                    enabled: false
123                  },
124                  fill: {
125                    type: "Solid",
126                    color: "Yellow",
127                    opacity: 0.1
128                  },
129                  labels: [
130                    {
131                      anchor: "Center",
132                      valign: "Center",
133                      halign: "Center",
134                      font: {
135                        family: "Verdana",
136                        size: 16,
137                        color: "#DBDB40"
138                      },
139                      format: "AVERAGE"
140                    },
141                    {
142                      anchor: "RightBottom",
143                      valign: "Center",
144                      halign: "Right",
145                      format: "{%LowValue}{numDecimals:0}",
146                      font: {
147                        family: "Tahoma",
148                        size: 11,
149                        color: "#222222"
150                      }
151                    },
152                    {
153                      anchor: "RightTop",
154                      valign: "Center",
155                      halign: "Right",
156                      format: "{%HighValue}{numDecimals:0}",
157                      font: {
158                        family: "Tahoma",
159                        size: 11,
160                        color: "#222222"
161                      }
162                    }
163                  ]
164                },
165                {
166                  lowValue: 2000,
167                  highValue: 3000,
168                  lowLine: {
169                    enabled: false
170                  },
171                  highLine: {
172                    enabled: false
173                  },
174                  fill: {
175                    type: "Solid",
176                    color: "Red",
177                    opacity: 0.1
178                  },
179                  labels: [
180                    {
181                      anchor: "Center",
182                      valign: "Center",
183                      halign: "Center",
184                      font: {
185                        family: "Verdana",
186                        size: 16,
187                        color: "#DD7171"
188                      },
189                      format: "HIGH"
190                    },
191                    {
192                      anchor: "RightTop",
193                      valign: "Bottom",
194                      halign: "Right",
195                      format: "{%HighValue}{numDecimals:0}",
196                      font: {
197                        family: "Tahoma",
198                        size: 11,
199                        color: "#222222"
200                      }
201                    }
202                  ]
203                }
204              ]
205            }
206          }
207        }
208      }
209    ],
210    timeScale: {
211      selectedRange: {
212        type: "Unit",
213        unit: "Year",
214        count: 2
215      }
216    }
217  }
218}

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.