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="Open" column="1" approximation_type="Open" />
19             <field type="High" column="2" approximation_type="High" />
20             <field type="Low" column="3" approximation_type="Low" />
21             <field type="Close" column="4" approximation_type="Close" />
22           </fields>
23         </data_provider>
24       </general_data_providers>
25       <scroller_data_providers>
26         <data_provider data_set="dataSet1" column="4" />
27       </scroller_data_providers>
28     </data_providers>
29   </data>
30   <settings>
31     <inside_margin right="60" />
32     <charts>
33       <chart>
34         <legend>
35           <date_time enabled="false" />
36         </legend>
37         <series_list>
38           <series type="Candlestick" data_provider="dp1" color="#005ECB" id="idSeriesA">
39             <name><![CDATA[NASDAQ Composite (^IXIC):]]></name>
40           </series>
41         </series_list>
42         <value_axes>
43           <primary position="Right">
44             <labels position="Outside" show_last="true" show_first="true" valign="Center" padding="5" />
45             <axis_markers>
46               <line_markers>
47                 <line_marker value_mode="Bound" series_id="idSeriesA" value_token="{%Close.LastVisible}">
48                   <line color="#8E0000" thickness="1" />
49                   <labels>
50                     <label anchor="Right" valign="Center" halign="Right" x_padding="3">
51                       <format><![CDATA[{%Value}{numDecimals:2}]]></format>
52                       <font family="Tahoma" size="9" bold="true" color="#FFFFFF" />
53                       <background enabled="true">
54                         <fill enabled="true" type="Solid" color="#8E0000" opacity="1" />
55                         <border enabled="false" />
56                         <inside_margin all="0" />
57                       </background>
58                     </label>
59                   </labels>
60                 </line_marker>
61               </line_markers>
62             </axis_markers>
63           </primary>
64         </value_axes>
65       </chart>
66     </charts>
67     <range_selector enabled="true" />
68     <time_scale>
69       <selected_range type="Unit" unit="Year" count="1" />
70     </time_scale>
71   </settings>
72 </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: "Open",
27              column: 1,
28              approximationType: "Open"
29            },
30            {
31              type: "High",
32              column: 2,
33              approximationType: "High"
34            },
35            {
36              type: "Low",
37              column: 3,
38              approximationType: "Low"
39            },
40            {
41              type: "Close",
42              column: 4,
43              approximationType: "Close"
44            }
45          ]
46        }
47      ],
48      scrollerDataProviders: [
49        {
50          dataSet: "dataSet1",
51          column: 4
52        }
53      ]
54    }
55  },
56  settings: {
57    insideMargin: {
58      right: 60
59    },
60    charts: [
61      {
62        legend: {
63          dateTime: {
64            enabled: false
65          }
66        },
67        seriesList: [
68          {
69            type: "Candlestick",
70            dataProvider: "dp1",
71            color: "#005ECB",
72            id: "idSeriesA",
73            name: "NASDAQ Composite (^IXIC):"
74          }
75        ],
76        valueAxes: {
77          primary: {
78            position: "Right",
79            labels: {
80              position: "Outside",
81              showLast: true,
82              showFirst: true,
83              valign: "Center",
84              padding: 5
85            },
86            axisMarkers: {
87              lineMarkers: [
88                {
89                  valueMode: "Bound",
90                  seriesId: "idSeriesA",
91                  valueToken: "{%Close.LastVisible}",
92                  line: {
93                    color: "#8E0000",
94                    thickness: 1
95                  },
96                  labels: [
97                    {
98                      anchor: "Right",
99                      valign: "Center",
100                      halign: "Right",
101                      xPadding: 3,
102                      format: "{%Value}{numDecimals:2}",
103                      font: {
104                        family: "Tahoma",
105                        size: 9,
106                        bold: true,
107                        color: "#FFFFFF"
108                      },
109                      background: {
110                        enabled: true,
111                        fill: {
112                          enabled: true,
113                          type: "Solid",
114                          color: "#8E0000",
115                          opacity: 1
116                        },
117                        border: {
118                          enabled: false
119                        },
120                        insideMargin: {
121                          all: 0
122                        }
123                      }
124                    }
125                  ]
126                }
127              ]
128            }
129          }
130        }
131      }
132    ],
133    rangeSelector: {
134      enabled: true
135    },
136    timeScale: {
137      selectedRange: {
138        type: "Unit",
139        unit: "Year",
140        count: 1
141      }
142    }
143  }
144}

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.