HTMLcopy
1
<div id="container"></div>
CSScopy
6
1
html, body, #container {
2
width: 100%;
3
height: 100%;
4
margin: 0;
5
padding: 0;
6
}
JavaScriptcopy
x
1
anychart.onDocumentReady(function () {
2
var chart = anychart.column();
3
4
var series = chart.column([
5
{x: "January", value: 4},
6
{x: "February", value: 2},
7
{x: "March", value: 7},
8
{x: "April", value: 1},
9
{x: "May", value: 10},
10
{x: "June", value: 6},
11
{x: "July", value: 8},
12
{x: "August", value: 4},
13
{x: "September", value: 6},
14
{x: "October", value: 3}
15
]);
16
series.excludePoint([0, 4, 9]);
17
18
// Include excluded the points.
19
series.includePoint(4);
20
21
chart.title("Include excluded the points by indexes");
22
chart.container("container");
23
chart.draw();
24
});