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/csco_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="720" />
29     <inside_margin right="35" />
30     <range_selector enabled="true" />
31     <charts>
32       <chart>
33         <legend>
34           <date_time enabled="false" />
35         </legend>
36         <series_list>
37           <series type="Line" data_provider="dp1" color="#253992">
38             <name><![CDATA[CSCO]]></name>
39             <line_series thickness="2" />
40           </series>
41         </series_list>
42         <technical_indicators>
43           <technical_indicator type="EMA" data_provider="dp1">
44             <ema_indicator period="50">
45               <series type="Spline" color="#DB2A0E">
46                 <name><![CDATA[EMA(50)]]></name>
47               </series>
48             </ema_indicator>
49           </technical_indicator>
50         </technical_indicators>
51         <value_axes>
52           <primary position="Right">
53             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
54               <font family="Verdana" color="#444444" bold="true" size="9" />
55               <format><![CDATA[{%Value}{numDecimals:2,trailingZeros:false}]]></format>
56             </labels>
57             <scale minimum_offset="0" />
58             <grid>
59               <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
60             </grid>
61             <tickmarks enabled="true" show_first="true" show_last="true" thickness="1" size="3" pixel_hinting="true" color="#333333" />
62           </primary>
63         </value_axes>
64         <x_axis>
65           <major_grid>
66             <line opacity="1" color="#D9D9D9" />
67           </major_grid>
68           <minor_grid>
69             <line dashed="true" dash_length="3" dash_space="3" pixel_hinting="true" />
70           </minor_grid>
71         </x_axis>
72       </chart>
73     </charts>
74     <time_scale>
75       <selected_range type="Unit" unit="Year" count="3" />
76     </time_scale>
77   </settings>
78 </stock>
01{
02  data: {
03    dataSets: [
04      {
05        id: "dataSet1",
06        sourceUrl: "./../../csv-data/csco_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: 720
45    },
46    insideMargin: {
47      right: 35
48    },
49    rangeSelector: {
50      enabled: true
51    },
52    charts: [
53      {
54        legend: {
55          dateTime: {
56            enabled: false
57          }
58        },
59        seriesList: [
60          {
61            type: "Line",
62            dataProvider: "dp1",
63            color: "#253992",
64            name: "CSCO",
65            lineSeries: {
66              thickness: 2
67            }
68          }
69        ],
70        technicalIndicators: [
71          {
72            type: "EMA",
73            dataProvider: "dp1",
74            emaIndicator: {
75              period: 50,
76              series: {
77                type: "Spline",
78                color: "#DB2A0E",
79                name: "EMA(50)"
80              }
81            }
82          }
83        ],
84        valueAxes: {
85          primary: {
86            position: "Right",
87            labels: {
88              position: "Outside",
89              padding: 3,
90              valign: "Center",
91              showFirst: true,
92              showLast: true,
93              font: {
94                family: "Verdana",
95                color: "#444444",
96                bold: true,
97                size: 9
98              },
99              format: "{%Value}{numDecimals:2,trailingZeros:false}"
100            },
101            scale: {
102              minimumOffset: 0
103            },
104            grid: {
105              line: {
106                dashed: true,
107                dashLength: 3,
108                dashSpace: 3,
109                pixelHinting: true
110              }
111            },
112            tickmarks: {
113              enabled: true,
114              showFirst: true,
115              showLast: true,
116              thickness: 1,
117              size: 3,
118              pixelHinting: true,
119              color: "#333333"
120            }
121          }
122        },
123        xAxis: {
124          majorGrid: {
125            line: {
126              opacity: 1,
127              color: "#D9D9D9"
128            }
129          },
130          minorGrid: {
131            line: {
132              dashed: true,
133              dashLength: 3,
134              dashSpace: 3,
135              pixelHinting: true
136            }
137          }
138        }
139      }
140    ],
141    timeScale: {
142      selectedRange: {
143        type: "Unit",
144        unit: "Year",
145        count: 3
146      }
147    }
148  }
149}

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.