<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
var chart = anychart.scatter();
var series = chart.line([
{x: 1.2, value: 2},
{x: 2.3, value: 6},
{x: 3.4, value: 4},
{x: 4.1, value: 8}
]);
series.markers(true);
// Set markers settings in selected mode.
series.selectMarkers("star7");
chart.title("Set markers parameter as a string");
chart.container("container");
chart.draw();
series.select([1, 3]);
});