<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
var chart = anychart.scatter([
{x: 0.5, value: 6},
{x: 1, value: 10},
{x: 2, value: 18},
{x: 3, value: 11},
{x: 3.1, value: 10},
{x: 3.1, value: 12},
{x: 4, value: 9},
{x: 2, value: 5},
{x: 4.5, value: 7},
{x: 2.1, value: 8}
]);
chart.lineMarker(0, {value: 5, stroke: '2 #1B5E20'});
chart.lineMarker(1, {value: 10, stroke: '2 #D50000'});
// Disable line marker.
chart.lineMarker(false);
chart.title('Disable line marker');
chart.container('container');
chart.draw();
});