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.scatter();
3
4
var series = chart.line([
5
{x: 1.2, value: 2},
6
{x: 2.3, value: 6},
7
{x: 3.4, value: 4},
8
{x: 4.1, value: 8}
9
]);
10
series.markers(true);
11
12
// Disables markers in selected mode.
13
series.selectMarkers(false);
14
15
chart.title("Disable select markers");
16
chart.container("container");
17
chart.draw();
18
19
series.select([1, 3]);
20
});