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.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     <data_grouping enabled="true" max_visible_points="500" />
29     <range_selector enabled="true" />
30     <labels>
31       <label anchor="LeftTop" x_padding="5">
32         <format><![CDATA[NASDAQ Composite (^IXIC): Historical Prices (1971-2009)]]></format>
33         <font family="Tahoma" size="11" color="#064367" bold="true" underline="false" />
34       </label>
35     </labels>
36     <inside_margin right="50" top="23" />
37     <charts>
38       <chart height="100">
39         <legend>
40           <date_time enabled="false" />
41           <background>
42             <fill type="Solid" color="White" />
43           </background>
44           <labels falling_color="DarkRed" rising_color="#005500" />
45           <title width="75" />
46         </legend>
47         <series_list>
48           <series type="Area" data_provider="dp1" color="#DC3912" axis="Secondary">
49             <name><![CDATA[NASDAQ Composite (^IXIC):]]></name>
50             <area_series>
51               <fill opacity="0.2" />
52               <line thickness="1" color="DarkColor(%Color)" />
53             </area_series>
54             <legend_item>
55               <labels>
56                 <icon type="Circle" size="6" />
57                 <focus_settings>
58                   <mouse_over>
59                     <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName}</font> <font color="#808080">Value:</font> <font color="#333333">{%Value.Current}</font> <font color="#808080">Change:</font> <font color="%ChangeColor">{%ValueChange.Current}{plusSign:true} ({%PercentValueChange.Current}{plusSign:true}%)</font></b> ]]></format>
60                   </mouse_over>
61                   <mouse_out>
62                     <format><![CDATA[{%SeriesIcon} <b><font color="%Color">{%SeriesName}</font> <font color="#808080">Last Value:</font> <font color="#333333">{%Value.LastVisible}</font> <font color="#808080">Change:</font> <font color="%ChangeColor">{%ValueChange.LastVisible}{plusSign:true} ({%PercentValueChange.LastVisible}{plusSign:true}%)</font></b> ]]></format>
63                   </mouse_out>
64                 </focus_settings>
65               </labels>
66             </legend_item>
67           </series>
68         </series_list>
69         <value_axes>
70           <primary enabled="true" position="Right">
71             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
72               <format><![CDATA[{%Value}{numDecimals:0}]]></format>
73               <font family="Tahoma" size="9" bold="true" color="#333333" />
74             </labels>
75             <scale mode="Values" type="Logarithmic" minimum_offset="0" optimal_step_count="5" />
76           </primary>
77         </value_axes>
78         <x_axis>
79           <labels>
80             <background>
81               <fill type="Solid" color="#FDFDFD" />
82             </background>
83           </labels>
84         </x_axis>
85       </chart>
86     </charts>
87     <time_scale>
88       <selected_range type="Unit" unit="Year" count="30" />
89     </time_scale>
90     <scroller>
91       <time_scale max_ticks_count="8" />
92     </scroller>
93   </settings>
94 </stock>
01{
02  data: {
03    dataSets: [
04      {
05        id: "dataSet1",
06        sourceUrl: "./../../csv-data/ixic_daily.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    dataGrouping: {
43      enabled: true,
44      maxVisiblePoints: 500
45    },
46    rangeSelector: {
47      enabled: true
48    },
49    labels: [
50      {
51        anchor: "LeftTop",
52        xPadding: 5,
53        format: "NASDAQ Composite (^IXIC): Historical Prices (1971-2009)",
54        font: {
55          family: "Tahoma",
56          size: 11,
57          color: "#064367",
58          bold: true,
59          underline: false
60        }
61      }
62    ],
63    insideMargin: {
64      right: 50,
65      top: 23
66    },
67    charts: [
68      {
69        height: 100,
70        legend: {
71          dateTime: {
72            enabled: false
73          },
74          background: {
75            fill: {
76              type: "Solid",
77              color: "White"
78            }
79          },
80          labels: {
81            fallingColor: "DarkRed",
82            risingColor: "#005500"
83          },
84          title: {
85            width: 75
86          }
87        },
88        seriesList: [
89          {
90            type: "Area",
91            dataProvider: "dp1",
92            color: "#DC3912",
93            axis: "Secondary",
94            name: "NASDAQ Composite (^IXIC):",
95            areaSeries: {
96              fill: {
97                opacity: 0.2
98              },
99              line: {
100                thickness: 1,
101                color: "DarkColor(%Color)"
102              }
103            },
104            legendItem: {
105              labels: {
106                icon: {
107                  type: "Circle",
108                  size: 6
109                },
110                focusSettings: {
111                  mouseOver: {
112                    format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName}</font> <font color=\"#808080\">Value:</font> <font color=\"#333333\">{%Value.Current}</font> <font color=\"#808080\">Change:</font> <font color=\"%ChangeColor\">{%ValueChange.Current}{plusSign:true} ({%PercentValueChange.Current}{plusSign:true}%)</font></b> "
113                  },
114                  mouseOut: {
115                    format: "{%SeriesIcon} <b><font color=\"%Color\">{%SeriesName}</font> <font color=\"#808080\">Last Value:</font> <font color=\"#333333\">{%Value.LastVisible}</font> <font color=\"#808080\">Change:</font> <font color=\"%ChangeColor\">{%ValueChange.LastVisible}{plusSign:true} ({%PercentValueChange.LastVisible}{plusSign:true}%)</font></b> "
116                  }
117                }
118              }
119            }
120          }
121        ],
122        valueAxes: {
123          primary: {
124            enabled: true,
125            position: "Right",
126            labels: {
127              position: "Outside",
128              padding: 3,
129              valign: "Center",
130              showFirst: true,
131              showLast: true,
132              format: "{%Value}{numDecimals:0}",
133              font: {
134                family: "Tahoma",
135                size: 9,
136                bold: true,
137                color: "#333333"
138              }
139            },
140            scale: {
141              mode: "Values",
142              type: "Logarithmic",
143              minimumOffset: 0,
144              optimalStepCount: 5
145            }
146          }
147        },
148        xAxis: {
149          labels: {
150            background: {
151              fill: {
152                type: "Solid",
153                color: "#FDFDFD"
154              }
155            }
156          }
157        }
158      }
159    ],
160    timeScale: {
161      selectedRange: {
162        type: "Unit",
163        unit: "Year",
164        count: 30
165      }
166    },
167    scroller: {
168      timeScale: {
169        maxTicksCount: 8
170      }
171    }
172  }
173}

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.