anychart.onDocumentReady(function () {
var chart = anychart.sparkline([5, 50, 10, 60, 20, 70, 30]);
chart.clip(anychart.math.rect(10, 0, 10, 20));
chart.title({text: "Clip visible part of a series", orientation: "top"});
chart.container("container");