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/weather_data.csv">
06         <csv_settings ignore_first_row="true" rows_separator="\n" columns_separator="," />
07         <locale>
08           <date_time>
09             <format><![CDATA[%M/%d/%yyyy]]></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="High" column="2" approximation_type="High" />
19             <field type="Low" column="3" approximation_type="Low" />
20           </fields>
21         </data_provider>
22       </general_data_providers>
23       <scroller_data_providers>
24         <data_provider data_set="dataSet1" column="4" />
25       </scroller_data_providers>
26     </data_providers>
27   </data>
28   <settings>
29     <data_grouping enabled="true" max_visible_points="300" />
30     <inside_margin right="40" />
31     <range_selector enabled="true" />
32     <charts>
33       <chart>
34         <legend>
35           <date_time enabled="false" />
36         </legend>
37         <series_list>
38           <series type="RangeSplineArea" data_provider="dp1" color="#27A032">
39             <name><![CDATA[High/Low Temp. (C)]]></name>
40             <range_area_series>
41               <high>
42                 <value_highlighter enabled="true">
43                   <line thickness="1" color="#DC3912" />
44                   <labels>
45                     <label anchor="Right" x_padding="5" y_padding="0" valign="Center" halign="Left">
46                       <format><![CDATA[{%Value}{numDecimals:2}]]></format>
47                       <font family="Tahoma" size="9" bold="false" color="White" />
48                       <background enabled="true">
49                         <fill enabled="true" type="Solid" color="#DC3912" opacity="1" />
50                         <border enabled="false" />
51                         <corners type="Rounded" all="3" />
52                         <inside_margin left="3" right="3" />
53                       </background>
54                     </label>
55                   </labels>
56                 </value_highlighter>
57               </high>
58               <low>
59                 <value_highlighter enabled="true">
60                   <line thickness="1" color="#005ECB" />
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" />
68                         <corners type="Rounded" all="3" />
69                         <inside_margin left="3" right="3" />
70                       </background>
71                     </label>
72                   </labels>
73                 </value_highlighter>
74               </low>
75             </range_area_series>
76           </series>
77         </series_list>
78         <value_axes>
79           <primary position="Right">
80             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
81               <format><![CDATA[{%Value}{numDecimals:1}]]></format>
82             </labels>
83             <zero_line color="#606060" />
84           </primary>
85         </value_axes>
86       </chart>
87     </charts>
88     <time_scale>
89       <selected_range type="Unit" unit="Year" count="1" />
90     </time_scale>
91   </settings>
92 </stock>
01{
02  data: {
03    dataSets: [
04      {
05        id: "dataSet1",
06        sourceUrl: "./../../csv-data/weather_data.csv",
07        csvSettings: {
08          ignoreFirstRow: true,
09          rowsSeparator: "\n",
10          columnsSeparator: ","
11        },
12        locale: {
13          dateTime: {
14            format: "%M/%d/%yyyy"
15          }
16        }
17      }
18    ],
19    dataProviders: {
20      generalDataProviders: [
21        {
22          dataSet: "dataSet1",
23          id: "dp1",
24          fields: [
25            {
26              type: "High",
27              column: 2,
28              approximationType: "High"
29            },
30            {
31              type: "Low",
32              column: 3,
33              approximationType: "Low"
34            }
35          ]
36        }
37      ],
38      scrollerDataProviders: [
39        {
40          dataSet: "dataSet1",
41          column: 4
42        }
43      ]
44    }
45  },
46  settings: {
47    dataGrouping: {
48      enabled: true,
49      maxVisiblePoints: 300
50    },
51    insideMargin: {
52      right: 40
53    },
54    rangeSelector: {
55      enabled: true
56    },
57    charts: [
58      {
59        legend: {
60          dateTime: {
61            enabled: false
62          }
63        },
64        seriesList: [
65          {
66            type: "RangeSplineArea",
67            dataProvider: "dp1",
68            color: "#27A032",
69            name: "High/Low Temp. (C)",
70            rangeAreaSeries: {
71              high: {
72                valueHighlighter: {
73                  enabled: true,
74                  line: {
75                    thickness: 1,
76                    color: "#DC3912"
77                  },
78                  labels: [
79                    {
80                      anchor: "Right",
81                      xPadding: 5,
82                      yPadding: 0,
83                      valign: "Center",
84                      halign: "Left",
85                      format: "{%Value}{numDecimals:2}",
86                      font: {
87                        family: "Tahoma",
88                        size: 9,
89                        bold: false,
90                        color: "White"
91                      },
92                      background: {
93                        enabled: true,
94                        fill: {
95                          enabled: true,
96                          type: "Solid",
97                          color: "#DC3912",
98                          opacity: 1
99                        },
100                        border: {
101                          enabled: false
102                        },
103                        corners: {
104                          type: "Rounded",
105                          all: 3
106                        },
107                        insideMargin: {
108                          left: 3,
109                          right: 3
110                        }
111                      }
112                    }
113                  ]
114                }
115              },
116              low: {
117                valueHighlighter: {
118                  enabled: true,
119                  line: {
120                    thickness: 1,
121                    color: "#005ECB"
122                  },
123                  labels: [
124                    {
125                      anchor: "Right",
126                      xPadding: 5,
127                      yPadding: 0,
128                      valign: "Center",
129                      halign: "Left",
130                      format: "{%Value}{numDecimals:2}",
131                      font: {
132                        family: "Tahoma",
133                        size: 9,
134                        bold: false,
135                        color: "White"
136                      },
137                      background: {
138                        enabled: true,
139                        fill: {
140                          enabled: true,
141                          type: "Solid",
142                          color: "#005ECB",
143                          opacity: 1
144                        },
145                        border: {
146                          enabled: false
147                        },
148                        corners: {
149                          type: "Rounded",
150                          all: 3
151                        },
152                        insideMargin: {
153                          left: 3,
154                          right: 3
155                        }
156                      }
157                    }
158                  ]
159                }
160              }
161            }
162          }
163        ],
164        valueAxes: {
165          primary: {
166            position: "Right",
167            labels: {
168              position: "Outside",
169              padding: 3,
170              valign: "Center",
171              showFirst: true,
172              showLast: true,
173              format: "{%Value}{numDecimals:1}"
174            },
175            zeroLine: {
176              color: "#606060"
177            }
178          }
179        }
180      }
181    ],
182    timeScale: {
183      selectedRange: {
184        type: "Unit",
185        unit: "Year",
186        count: 1
187      }
188    }
189  }
190}

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.