<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
var chart = anychart.line([1.1, 1.6, 1.4, 1.9]);
var yAxis = chart.yAxis();
// Set ticks settings.
yAxis.ticks({stroke: "2 #4DB6AC", length: 10});
chart.title("Set ticks parameters as an object");
chart.container("container");
chart.draw();
});