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.polar();
3
4
var series = chart.line([10, 5, 10, 5, 10, 5, 10, 5]);
5
series.markers(true);
6
7
// Set select markers type.
8
series.selectMarkers("line");
9
10
chart.title("Set select markers parameter as a string");
11
chart.container("container");
12
chart.draw();
13
14
// Selects points.
15
series.select([0, 2, 4, 6]);
16
});