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/missing_points.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="false" />
29     <range_selector enabled="true" />
30     <inside_margin right="30" />
31     <charts>
32       <chart height="100">
33         <series_list>
34           <series type="Line" data_provider="dp1" color="#005ECB">
35             <name><![CDATA[Series A]]></name>
36             <line_series connect_missing_points="true" />
37           </series>
38         </series_list>
39         <labels>
40           <label anchor="RightTop" x_padding="5" y_padding="23">
41             <font family="Verdana" size="9" bold="true" color="#444444" />
42             <format><![CDATA[connect_missing_points="true"]]></format>
43             <background enabled="true">
44               <fill enabled="true" color="White" opacity="0.5" />
45               <border enabled="true" color="Black" opacity="0.1" />
46               <corners type="Rounded" all="4" />
47               <inside_margin left="6" top="2" right="6" bottom="2" />
48             </background>
49           </label>
50         </labels>
51       </chart>
52       <chart height="100">
53         <series_list>
54           <series type="Line" data_provider="dp1" color="#DC3912">
55             <name><![CDATA[Series B]]></name>
56             <line_series connect_missing_points="false" />
57           </series>
58         </series_list>
59         <labels>
60           <label anchor="RightTop" x_padding="5" y_padding="23">
61             <font family="Verdana" size="9" bold="true" color="#444444" />
62             <format><![CDATA[connect_missing_points="false"]]></format>
63             <background enabled="true">
64               <fill enabled="true" color="White" opacity="0.5" />
65               <border enabled="true" color="Black" opacity="0.1" />
66               <corners type="Rounded" all="4" />
67               <inside_margin left="6" top="2" right="6" bottom="2" />
68             </background>
69           </label>
70         </labels>
71       </chart>
72     </charts>
73     <defaults>
74       <chart>
75         <legend>
76           <date_time enabled="false" />
77           <background>
78             <fill type="Solid" color="White" />
79           </background>
80           <labels falling_color="DarkRed" rising_color="#005500" />
81           <title width="75" />
82         </legend>
83         <value_axes>
84           <primary position="Right">
85             <labels position="Outside" padding="3" valign="Center" show_first="true" show_last="true">
86               <format><![CDATA[{%Value}{numDecimals:0}]]></format>
87               <font family="Tahoma" size="9" bold="true" color="#333333" />
88             </labels>
89             <scale mode="Values" type="Linear" minimum="0" calculate_changes_from="FirstVisible" />
90           </primary>
91         </value_axes>
92         <series_settings_defaults>
93           <line_series thickness="2" />
94         </series_settings_defaults>
95         <x_axis>
96           <labels>
97             <background>
98               <fill type="Solid" color="#FDFDFD" />
99             </background>
100           </labels>
101         </x_axis>
102       </chart>
103     </defaults>
104     <time_scale>
105       <selected_range type="Max" />
106     </time_scale>
107     <scroller connect_missing_points="false" />
108   </settings>
109 </stock>
01{
02  data: {
03    dataSets: [
04      {
05        id: "dataSet1",
06        sourceUrl: "./../../csv-data/missing_points.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: false
44    },
45    rangeSelector: {
46      enabled: true
47    },
48    insideMargin: {
49      right: 30
50    },
51    charts: [
52      {
53        height: 100,
54        seriesList: [
55          {
56            type: "Line",
57            dataProvider: "dp1",
58            color: "#005ECB",
59            name: "Series A",
60            lineSeries: {
61              connectMissingPoints: true
62            }
63          }
64        ],
65        labels: [
66          {
67            anchor: "RightTop",
68            xPadding: 5,
69            yPadding: 23,
70            font: {
71              family: "Verdana",
72              size: 9,
73              bold: true,
74              color: "#444444"
75            },
76            format: "connect_missing_points=\"true\"",
77            background: {
78              enabled: true,
79              fill: {
80                enabled: true,
81                color: "White",
82                opacity: 0.5
83              },
84              border: {
85                enabled: true,
86                color: "Black",
87                opacity: 0.1
88              },
89              corners: {
90                type: "Rounded",
91                all: 4
92              },
93              insideMargin: {
94                left: 6,
95                top: 2,
96                right: 6,
97                bottom: 2
98              }
99            }
100          }
101        ]
102      },
103      {
104        height: 100,
105        seriesList: [
106          {
107            type: "Line",
108            dataProvider: "dp1",
109            color: "#DC3912",
110            name: "Series B",
111            lineSeries: {
112              connectMissingPoints: false
113            }
114          }
115        ],
116        labels: [
117          {
118            anchor: "RightTop",
119            xPadding: 5,
120            yPadding: 23,
121            font: {
122              family: "Verdana",
123              size: 9,
124              bold: true,
125              color: "#444444"
126            },
127            format: "connect_missing_points=\"false\"",
128            background: {
129              enabled: true,
130              fill: {
131                enabled: true,
132                color: "White",
133                opacity: 0.5
134              },
135              border: {
136                enabled: true,
137                color: "Black",
138                opacity: 0.1
139              },
140              corners: {
141                type: "Rounded",
142                all: 4
143              },
144              insideMargin: {
145                left: 6,
146                top: 2,
147                right: 6,
148                bottom: 2
149              }
150            }
151          }
152        ]
153      }
154    ],
155    defaults: {
156      chart: {
157        legend: {
158          dateTime: {
159            enabled: false
160          },
161          background: {
162            fill: {
163              type: "Solid",
164              color: "White"
165            }
166          },
167          labels: {
168            fallingColor: "DarkRed",
169            risingColor: "#005500"
170          },
171          title: {
172            width: 75
173          }
174        },
175        valueAxes: {
176          primary: {
177            position: "Right",
178            labels: {
179              position: "Outside",
180              padding: 3,
181              valign: "Center",
182              showFirst: true,
183              showLast: true,
184              format: "{%Value}{numDecimals:0}",
185              font: {
186                family: "Tahoma",
187                size: 9,
188                bold: true,
189                color: "#333333"
190              }
191            },
192            scale: {
193              mode: "Values",
194              type: "Linear",
195              minimum: 0,
196              calculateChangesFrom: "FirstVisible"
197            }
198          }
199        },
200        seriesSettingsDefaults: {
201          lineSeries: {
202            thickness: 2
203          }
204        },
205        xAxis: {
206          labels: {
207            background: {
208              fill: {
209                type: "Solid",
210                color: "#FDFDFD"
211              }
212            }
213          }
214        }
215      }
216    },
217    timeScale: {
218      selectedRange: {
219        type: "Max"
220      }
221    },
222    scroller: {
223      connectMissingPoints: false
224    }
225  }
226}

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.