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="dataSetDJI" source_url="./../../csv-data/dji_daily_close.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="dataSetDJI" id="dpDJI">
17           <fields>
18             <field type="Close" column="1" approximation_type="Close" />
19           </fields>
20         </data_provider>
21       </general_data_providers>
22       <scroller_data_providers>
23         <data_provider id="scrDp" data_set="dataSetDJI" column="1" />
24       </scroller_data_providers>
25     </data_providers>
26   </data>
27   <settings>
28     <data_grouping enabled="true" max_visible_points="0">
29       <intervals>
30         <interval unit="Day" count="1" max_visible_points="1092" />
31         <interval unit="Week" count="1" max_visible_points="780" />
32         <interval unit="Month" count="1" max_visible_points="450" />
33         <interval unit="Quarter" count="1" max_visible_points="200" />
34         <interval unit="Year" count="1" max_visible_points="1000" />
35       </intervals>
36     </data_grouping>
37     <display_locale>
38       <default_date_time_format>
39         <format><![CDATA[%yyyy-%MM-%dd %HH:%mm:%ss]]></format>
40       </default_date_time_format>
41     </display_locale>
42     <inside_margin left="15" top="8" bottom="8" right="55" />
43     <outside_margin left="0" top="0" right="0" bottom="0" />
44     <tooltip_settings enabled="true" display_mode="AllCharts" />
45     <charts>
46       <chart id="main" height="100">
47         <labels>
48           <label anchor="LeftTop" x_padding="5" y_padding="23">
49             <font family="Verdana" size="9" bold="true" color="#444444" />
50             <format><![CDATA[Standard Date-Time Formatting]]></format>
51             <background enabled="true">
52               <fill enabled="true" color="White" opacity="0.5" />
53               <border enabled="true" color="Black" opacity="0.1" />
54               <corners type="Rounded" all="4" />
55               <inside_margin left="6" top="2" right="6" bottom="2" />
56             </background>
57           </label>
58         </labels>
59         <value_axes>
60           <primary enabled="true" position="Right">
61             <labels enabled="true" position="Outside" padding="5" valign="Center" show_first="true" show_last="true" positive_color="#167316">
62               <format><![CDATA[{%Value}{trailingZeros:false}]]></format>
63             </labels>
64             <scale mode="Values" type="Linear" minimum_offset="0" />
65             <zero_line enabled="true" color="DarkRed" opacity="0.3" />
66             <tickmarks enabled="true" inside="false" outside="true" size="3" pixel_hinting="true" />
67             <grid>
68               <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
69             </grid>
70           </primary>
71         </value_axes>
72         <legend>
73           <date_time enabled="false" />
74           <title>
75             <focus_settings>
76               <mouse_over>
77                 <format><![CDATA[{%Date.Current}{"%MMM %d, %yyyy"}: ]]></format>
78               </mouse_over>
79               <mouse_out>
80                 <format><![CDATA[{%Date.LastVisible}{"%MMM %d, %yyyy"}: ]]></format>
81               </mouse_out>
82             </focus_settings>
83           </title>
84         </legend>
85         <tooltip_settings enabled="true" tooltip_mode="Separated">
86           <separated_tooltip affects="AllSeries">
87             <format><![CDATA[<textformat leading="4">{%SeriesIcon} <b><font color="%Color">{%SeriesName}</font> <font color="#777777">Value: </font>{%Value}
88 <b>{%Date.Current}{"%MMM %d, %yyyy"}</b></textformat>]]></format>
89             <background>
90               <fill type="Gradient">
91                 <gradient angle="90">
92                   <keys>
93                     <key color="#FEFEFE" />
94                     <key color="#F1F1F1" />
95                   </keys>
96                 </gradient>
97               </fill>
98               <border color="#BDBDBD" />
99             </background>
100           </separated_tooltip>
101         </tooltip_settings>
102         <series_list>
103           <series enabled="true" id="dji" type="Line" data_provider="dpDJI" color="#3463B0">
104             <name><![CDATA[^DJI]]></name>
105             <line_series thickness="2" />
106           </series>
107         </series_list>
108         <series_settings_defaults>
109           <line_series thickness="1" />
110           <area_series>
111             <fill opacity="0.45" color="%Color" />
112             <line thickness="1" color="DarkColor(%Color)" />
113           </area_series>
114         </series_settings_defaults>
115         <x_axis>
116           <major_grid>
117             <line opacity="1" color="#CCCCCC" />
118           </major_grid>
119           <minor_grid>
120             <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
121           </minor_grid>
122         </x_axis>
123       </chart>
124       <chart height="100">
125         <labels>
126           <label anchor="LeftTop" x_padding="5" y_padding="23">
127             <font family="Verdana" size="9" bold="true" color="#444444" />
128             <format><![CDATA[Adaptive Date-Time Formatting]]></format>
129             <background enabled="true">
130               <fill enabled="true" color="White" opacity="0.5" />
131               <border enabled="true" color="Black" opacity="0.1" />
132               <corners type="Rounded" all="4" />
133               <inside_margin left="6" top="2" right="6" bottom="2" />
134             </background>
135           </label>
136         </labels>
137         <value_axes>
138           <primary enabled="true" position="Right">
139             <labels enabled="true" position="Outside" padding="5" valign="Center" show_first="true" show_last="true" positive_color="#167316">
140               <format><![CDATA[{%Value}{trailingZeros:false}]]></format>
141             </labels>
142             <scale mode="Values" type="Linear" minimum_offset="0" />
143             <zero_line enabled="true" color="DarkRed" opacity="0.3" />
144             <tickmarks enabled="true" inside="false" outside="true" size="3" pixel_hinting="true" />
145             <grid>
146               <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
147             </grid>
148           </primary>
149         </value_axes>
150         <legend>
151           <date_time enabled="true">
152             <font bold="true" render_as_html="true" />
153             <format><![CDATA[<font color="#555555">Current Interval:</font> <font color="#0066DD">DAY</font>]]></format>
154             <interval_formats>
155               <interval_format unit="Week" count="1">
156                 <format><![CDATA[Current Interval: <font color="#DC3912">WEEK</font>]]></format>
157               </interval_format>
158               <interval_format unit="Month" count="1">
159                 <format><![CDATA[Current Interval: <font color="#66A012">MONTH</font>]]></format>
160               </interval_format>
161               <interval_format unit="Quarter" count="1">
162                 <format><![CDATA[Current Interval: <font color="#DF8600">QUARTER</font>]]></format>
163               </interval_format>
164               <interval_format unit="Year" count="1">
165                 <format><![CDATA[Current Interval: <font color="#4942CC">YEAR</font>]]></format>
166               </interval_format>
167             </interval_formats>
168           </date_time>
169           <title>
170             <focus_settings>
171               <mouse_over>
172                 <format><![CDATA[{%Date.Current}{"%MMM %d, %yyyy"}: ]]></format>
173                 <interval_formats>
174                   <interval_format unit="Week" count="1">
175                     <format><![CDATA[Week {%Date}{"%ee of %yyyy"}: ]]></format>
176                   </interval_format>
177                   <interval_format unit="Month" count="1">
178                     <format><![CDATA[{%Date.Current}{"%MMMM %yyyy"}: ]]></format>
179                   </interval_format>
180                   <interval_format unit="Quarter" count="1">
181                     <format><![CDATA[{%Date.Current}{"%Q %yyyy"}: ]]></format>
182                   </interval_format>
183                   <interval_format unit="Year" count="1">
184                     <format><![CDATA[{%Date.Current}{"Year - %yyyy"}: ]]></format>
185                   </interval_format>
186                 </interval_formats>
187               </mouse_over>
188               <mouse_out>
189                 <format><![CDATA[{%Date.LastVisible}{"%MMM %d, %yyyy"}: ]]></format>
190                 <interval_formats>
191                   <interval_format unit="Week" count="1">
192                     <format><![CDATA[Week {%Date}{"%ee of %yyyy"}: ]]></format>
193                   </interval_format>
194                   <interval_format unit="Month" count="1">
195                     <format><![CDATA[{%Date.LastVisible}{"%MMMM %yyyy"}: ]]></format>
196                   </interval_format>
197                   <interval_format unit="Quarter" count="1">
198                     <format><![CDATA[{%Date.LastVisible}{"%Q %yyyy"}: ]]></format>
199                   </interval_format>
200                   <interval_format unit="Year" count="1">
201                     <format><![CDATA[{%Date.LastVisible}{"Year - %yyyy"}: ]]></format>
202                   </interval_format>
203                 </interval_formats>
204               </mouse_out>
205             </focus_settings>
206           </title>
207         </legend>
208         <tooltip_settings enabled="true" tooltip_mode="Separated">
209           <separated_tooltip affects="AllSeries">
210             <format><![CDATA[<textformat leading="4">{%SeriesIcon} <b><font color="%Color">{%SeriesName}</font> <font color="#777777">Value: </font>{%Value}<br/><b>{%Date.Current}{"%MMM %d, %yyyy"}</b></textformat>]]></format>
211             <interval_formats>
212               <interval_format unit="Week" count="1">
213                 <format><![CDATA[<textformat leading="4">{%SeriesIcon} <b><font color="%Color">{%SeriesName}</font> <font color="#777777">Value: </font>{%Value}<br/><b>Week {%Date}{"%ee of %yyyy"}<br/>({%Date.Current.ApxIntervalFirst}{"%MMM %d, %yyyy"} - {%Date.Current.ApxIntervalLast}{"%MMM %d, %yyyy"})</b></textformat>]]></format>
214               </interval_format>
215               <interval_format unit="Month" count="1">
216                 <format><![CDATA[<textformat leading="4">{%SeriesIcon} <b><font color="%Color">{%SeriesName}</font> <font color="#777777">Value: </font>{%Value}<br/><b>{%Date}{"%MMMM %yyyy"}</b></textformat>]]></format>
217               </interval_format>
218               <interval_format unit="Quarter" count="1">
219                 <format><![CDATA[<textformat leading="4">{%SeriesIcon} <b><font color="%Color">{%SeriesName}</font> <font color="#777777">Value: </font>{%Value}<br/><b>{%Date}{"%QQQ of %yyyy"}<br/>({%Date.Current}{"%MMM %d, %yyyy"} - {%Date.Current.ApxIntervalLast}{"%MMM %d, %yyyy"})</b></textformat>]]></format>
220               </interval_format>
221               <interval_format unit="Year" count="1">
222                 <format><![CDATA[<textformat leading="4">{%SeriesIcon} <b><font color="%Color">{%SeriesName}</font> <font color="#777777">Value: </font>{%Value}<br/><b>Year - {%Date.Current}{"%yyyy"}</b></textformat>]]></format>
223               </interval_format>
224             </interval_formats>
225             <background>
226               <fill type="Gradient">
227                 <gradient angle="90">
228                   <keys>
229                     <key color="#FEFEFE" />
230                     <key color="#F1F1F1" />
231                   </keys>
232                 </gradient>
233               </fill>
234               <border color="#BDBDBD" />
235             </background>
236           </separated_tooltip>
237         </tooltip_settings>
238         <series_list>
239           <series enabled="true" id="dji" type="Line" data_provider="dpDJI" color="#3463B0">
240             <name><![CDATA[^DJI]]></name>
241             <line_series thickness="2" />
242           </series>
243         </series_list>
244         <series_settings_defaults>
245           <line_series thickness="1" />
246           <area_series>
247             <fill opacity="0.45" color="%Color" />
248             <line thickness="1" color="DarkColor(%Color)" />
249           </area_series>
250         </series_settings_defaults>
251         <x_axis>
252           <major_grid>
253             <line opacity="1" color="#CCCCCC" />
254           </major_grid>
255           <minor_grid>
256             <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
257           </minor_grid>
258         </x_axis>
259       </chart>
260     </charts>
261     <time_scale>
262       <selected_range type="Unit" unit="Day" count="364" />
263     </time_scale>
264     <range_selector enabled="true">
265       <presets>
266         <title>
267           <format><![CDATA[Grouping Level: ]]></format>
268         </title>
269         <button_settings spacing="2" />
270         <ranges>
271           <range type="Unit" unit="Day" count="364">
272             <format><![CDATA[Daily]]></format>
273           </range>
274           <range type="Unit" unit="Day" count="3000">
275             <format><![CDATA[Weekly]]></format>
276           </range>
277           <range type="Unit" unit="Day" count="8000">
278             <format><![CDATA[Monthly]]></format>
279           </range>
280           <range type="Unit" unit="Day" count="18000">
281             <format><![CDATA[Quarterly]]></format>
282           </range>
283           <range type="Unit" unit="Year" count="70">
284             <format><![CDATA[Yearly]]></format>
285           </range>
286         </ranges>
287       </presets>
288     </range_selector>
289     <scroller data_provider="scrDp" />
290   </settings>
291 </stock>
01{
02  data: {
03    dataSets: [
04      {
05        id: "dataSetDJI",
06        sourceUrl: "./../../csv-data/dji_daily_close.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: "dataSetDJI",
23          id: "dpDJI",
24          fields: [
25            {
26              type: "Close",
27              column: 1,
28              approximationType: "Close"
29            }
30          ]
31        }
32      ],
33      scrollerDataProviders: [
34        {
35          id: "scrDp",
36          dataSet: "dataSetDJI",
37          column: 1
38        }
39      ]
40    }
41  },
42  settings: {
43    dataGrouping: {
44      enabled: true,
45      maxVisiblePoints: 0,
46      intervals: [
47        {
48          unit: "Day",
49          count: 1,
50          maxVisiblePoints: 1092
51        },
52        {
53          unit: "Week",
54          count: 1,
55          maxVisiblePoints: 780
56        },
57        {
58          unit: "Month",
59          count: 1,
60          maxVisiblePoints: 450
61        },
62        {
63          unit: "Quarter",
64          count: 1,
65          maxVisiblePoints: 200
66        },
67        {
68          unit: "Year",
69          count: 1,
70          maxVisiblePoints: 1000
71        }
72      ]
73    },
74    displayLocale: {
75      defaultDateTimeFormat: {
76        format: "%yyyy-%MM-%dd %HH:%mm:%ss"
77      }
78    },
79    insideMargin: {
80      left: 15,
81      top: 8,
82      bottom: 8,
83      right: 55
84    },
85    outsideMargin: {
86      left: 0,
87      top: 0,
88      right: 0,
89      bottom: 0
90    },
91    tooltipSettings: {
92      enabled: true,
93      displayMode: "AllCharts"
94    },
95    charts: [
96      {
97        id: "main",
98        height: 100,
99        labels: [
100          {
101            anchor: "LeftTop",
102            xPadding: 5,
103            yPadding: 23,
104            font: {
105              family: "Verdana",
106              size: 9,
107              bold: true,
108              color: "#444444"
109            },
110            format: "Standard Date-Time Formatting",
111            background: {
112              enabled: true,
113              fill: {
114                enabled: true,
115                color: "White",
116                opacity: 0.5
117              },
118              border: {
119                enabled: true,
120                color: "Black",
121                opacity: 0.1
122              },
123              corners: {
124                type: "Rounded",
125                all: 4
126              },
127              insideMargin: {
128                left: 6,
129                top: 2,
130                right: 6,
131                bottom: 2
132              }
133            }
134          }
135        ],
136        valueAxes: {
137          primary: {
138            enabled: true,
139            position: "Right",
140            labels: {
141              enabled: true,
142              position: "Outside",
143              padding: 5,
144              valign: "Center",
145              showFirst: true,
146              showLast: true,
147              positiveColor: "#167316",
148              format: "{%Value}{trailingZeros:false}"
149            },
150            scale: {
151              mode: "Values",
152              type: "Linear",
153              minimumOffset: 0
154            },
155            zeroLine: {
156              enabled: true,
157              color: "DarkRed",
158              opacity: 0.3
159            },
160            tickmarks: {
161              enabled: true,
162              inside: false,
163              outside: true,
164              size: 3,
165              pixelHinting: true
166            },
167            grid: {
168              line: {
169                dashed: true,
170                dashLength: 3,
171                dashSpace: 3,
172                pixelHinting: true
173              }
174            }
175          }
176        },
177        legend: {
178          dateTime: {
179            enabled: false
180          },
181          title: {
182            focusSettings: {
183              mouseOver: {
184                format: "{%Date.Current}{\"%MMM %d, %yyyy\"}: "
185              },
186              mouseOut: {
187                format: "{%Date.LastVisible}{\"%MMM %d, %yyyy\"}: "
188              }
189            }
190          }
191        },
192        tooltipSettings: {
193          enabled: true,
194          tooltipMode: "Separated",
195          separatedTooltip: {
196            affects: "AllSeries",
197            format: "<textformat leading=\"4\">{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName}</font> <font color=\"#777777\">Value: </font>{%Value}\r\n<b>{%Date.Current}{\"%MMM %d, %yyyy\"}</b></textformat>",
198            background: {
199              fill: {
200                type: "Gradient",
201                gradient: {
202                  angle: 90,
203                  keys: [
204                    {
205                      color: "#FEFEFE"
206                    },
207                    {
208                      color: "#F1F1F1"
209                    }
210                  ]
211                }
212              },
213              border: {
214                color: "#BDBDBD"
215              }
216            }
217          }
218        },
219        seriesList: [
220          {
221            enabled: true,
222            id: "dji",
223            type: "Line",
224            dataProvider: "dpDJI",
225            color: "#3463B0",
226            name: "^DJI",
227            lineSeries: {
228              thickness: 2
229            }
230          }
231        ],
232        seriesSettingsDefaults: {
233          lineSeries: {
234            thickness: 1
235          },
236          areaSeries: {
237            fill: {
238              opacity: 0.45,
239              color: "%Color"
240            },
241            line: {
242              thickness: 1,
243              color: "DarkColor(%Color)"
244            }
245          }
246        },
247        xAxis: {
248          majorGrid: {
249            line: {
250              opacity: 1,
251              color: "#CCCCCC"
252            }
253          },
254          minorGrid: {
255            line: {
256              dashed: true,
257              dashLength: 3,
258              dashSpace: 3,
259              pixelHinting: true
260            }
261          }
262        }
263      },
264      {
265        height: 100,
266        labels: [
267          {
268            anchor: "LeftTop",
269            xPadding: 5,
270            yPadding: 23,
271            font: {
272              family: "Verdana",
273              size: 9,
274              bold: true,
275              color: "#444444"
276            },
277            format: "Adaptive Date-Time Formatting",
278            background: {
279              enabled: true,
280              fill: {
281                enabled: true,
282                color: "White",
283                opacity: 0.5
284              },
285              border: {
286                enabled: true,
287                color: "Black",
288                opacity: 0.1
289              },
290              corners: {
291                type: "Rounded",
292                all: 4
293              },
294              insideMargin: {
295                left: 6,
296                top: 2,
297                right: 6,
298                bottom: 2
299              }
300            }
301          }
302        ],
303        valueAxes: {
304          primary: {
305            enabled: true,
306            position: "Right",
307            labels: {
308              enabled: true,
309              position: "Outside",
310              padding: 5,
311              valign: "Center",
312              showFirst: true,
313              showLast: true,
314              positiveColor: "#167316",
315              format: "{%Value}{trailingZeros:false}"
316            },
317            scale: {
318              mode: "Values",
319              type: "Linear",
320              minimumOffset: 0
321            },
322            zeroLine: {
323              enabled: true,
324              color: "DarkRed",
325              opacity: 0.3
326            },
327            tickmarks: {
328              enabled: true,
329              inside: false,
330              outside: true,
331              size: 3,
332              pixelHinting: true
333            },
334            grid: {
335              line: {
336                dashed: true,
337                dashLength: 3,
338                dashSpace: 3,
339                pixelHinting: true
340              }
341            }
342          }
343        },
344        legend: {
345          dateTime: {
346            enabled: true,
347            font: {
348              bold: true,
349              renderAsHtml: true
350            },
351            format: "<font color=\"#555555\">Current Interval:</font> <font color=\"#0066DD\">DAY</font>",
352            intervalFormats: [
353              {
354                unit: "Week",
355                count: 1,
356                format: "Current Interval: <font color=\"#DC3912\">WEEK</font>"
357              },
358              {
359                unit: "Month",
360                count: 1,
361                format: "Current Interval: <font color=\"#66A012\">MONTH</font>"
362              },
363              {
364                unit: "Quarter",
365                count: 1,
366                format: "Current Interval: <font color=\"#DF8600\">QUARTER</font>"
367              },
368              {
369                unit: "Year",
370                count: 1,
371                format: "Current Interval: <font color=\"#4942CC\">YEAR</font>"
372              }
373            ]
374          },
375          title: {
376            focusSettings: {
377              mouseOver: {
378                format: "{%Date.Current}{\"%MMM %d, %yyyy\"}: ",
379                intervalFormats: [
380                  {
381                    unit: "Week",
382                    count: 1,
383                    format: "Week {%Date}{\"%ee of %yyyy\"}: "
384                  },
385                  {
386                    unit: "Month",
387                    count: 1,
388                    format: "{%Date.Current}{\"%MMMM %yyyy\"}: "
389                  },
390                  {
391                    unit: "Quarter",
392                    count: 1,
393                    format: "{%Date.Current}{\"%Q %yyyy\"}: "
394                  },
395                  {
396                    unit: "Year",
397                    count: 1,
398                    format: "{%Date.Current}{\"Year - %yyyy\"}: "
399                  }
400                ]
401              },
402              mouseOut: {
403                format: "{%Date.LastVisible}{\"%MMM %d, %yyyy\"}: ",
404                intervalFormats: [
405                  {
406                    unit: "Week",
407                    count: 1,
408                    format: "Week {%Date}{\"%ee of %yyyy\"}: "
409                  },
410                  {
411                    unit: "Month",
412                    count: 1,
413                    format: "{%Date.LastVisible}{\"%MMMM %yyyy\"}: "
414                  },
415                  {
416                    unit: "Quarter",
417                    count: 1,
418                    format: "{%Date.LastVisible}{\"%Q %yyyy\"}: "
419                  },
420                  {
421                    unit: "Year",
422                    count: 1,
423                    format: "{%Date.LastVisible}{\"Year - %yyyy\"}: "
424                  }
425                ]
426              }
427            }
428          }
429        },
430        tooltipSettings: {
431          enabled: true,
432          tooltipMode: "Separated",
433          separatedTooltip: {
434            affects: "AllSeries",
435            format: "<textformat leading=\"4\">{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName}</font> <font color=\"#777777\">Value: </font>{%Value}<br/><b>{%Date.Current}{\"%MMM %d, %yyyy\"}</b></textformat>",
436            intervalFormats: [
437              {
438                unit: "Week",
439                count: 1,
440                format: "<textformat leading=\"4\">{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName}</font> <font color=\"#777777\">Value: </font>{%Value}<br/><b>Week {%Date}{\"%ee of %yyyy\"}<br/>({%Date.Current.ApxIntervalFirst}{\"%MMM %d, %yyyy\"} - {%Date.Current.ApxIntervalLast}{\"%MMM %d, %yyyy\"})</b></textformat>"
441              },
442              {
443                unit: "Month",
444                count: 1,
445                format: "<textformat leading=\"4\">{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName}</font> <font color=\"#777777\">Value: </font>{%Value}<br/><b>{%Date}{\"%MMMM %yyyy\"}</b></textformat>"
446              },
447              {
448                unit: "Quarter",
449                count: 1,
450                format: "<textformat leading=\"4\">{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName}</font> <font color=\"#777777\">Value: </font>{%Value}<br/><b>{%Date}{\"%QQQ of %yyyy\"}<br/>({%Date.Current}{\"%MMM %d, %yyyy\"} - {%Date.Current.ApxIntervalLast}{\"%MMM %d, %yyyy\"})</b></textformat>"
451              },
452              {
453                unit: "Year",
454                count: 1,
455                format: "<textformat leading=\"4\">{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName}</font> <font color=\"#777777\">Value: </font>{%Value}<br/><b>Year - {%Date.Current}{\"%yyyy\"}</b></textformat>"
456              }
457            ],
458            background: {
459              fill: {
460                type: "Gradient",
461                gradient: {
462                  angle: 90,
463                  keys: [
464                    {
465                      color: "#FEFEFE"
466                    },
467                    {
468                      color: "#F1F1F1"
469                    }
470                  ]
471                }
472              },
473              border: {
474                color: "#BDBDBD"
475              }
476            }
477          }
478        },
479        seriesList: [
480          {
481            enabled: true,
482            id: "dji",
483            type: "Line",
484            dataProvider: "dpDJI",
485            color: "#3463B0",
486            name: "^DJI",
487            lineSeries: {
488              thickness: 2
489            }
490          }
491        ],
492        seriesSettingsDefaults: {
493          lineSeries: {
494            thickness: 1
495          },
496          areaSeries: {
497            fill: {
498              opacity: 0.45,
499              color: "%Color"
500            },
501            line: {
502              thickness: 1,
503              color: "DarkColor(%Color)"
504            }
505          }
506        },
507        xAxis: {
508          majorGrid: {
509            line: {
510              opacity: 1,
511              color: "#CCCCCC"
512            }
513          },
514          minorGrid: {
515            line: {
516              dashed: true,
517              dashLength: 3,
518              dashSpace: 3,
519              pixelHinting: true
520            }
521          }
522        }
523      }
524    ],
525    timeScale: {
526      selectedRange: {
527        type: "Unit",
528        unit: "Day",
529        count: 364
530      }
531    },
532    rangeSelector: {
533      enabled: true,
534      presets: {
535        title: {
536          format: "Grouping Level: "
537        },
538        buttonSettings: {
539          spacing: 2
540        },
541        ranges: [
542          {
543            type: "Unit",
544            unit: "Day",
545            count: 364,
546            format: "Daily"
547          },
548          {
549            type: "Unit",
550            unit: "Day",
551            count: 3000,
552            format: "Weekly"
553          },
554          {
555            type: "Unit",
556            unit: "Day",
557            count: 8000,
558            format: "Monthly"
559          },
560          {
561            type: "Unit",
562            unit: "Day",
563            count: 18000,
564            format: "Quarterly"
565          },
566          {
567            type: "Unit",
568            unit: "Year",
569            count: 70,
570            format: "Yearly"
571          }
572        ]
573      }
574    },
575    scroller: {
576      dataProvider: "scrDp"
577    }
578  }
579}

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.