anychart.onDocumentReady(function () {
var chart = anychart.gauges.linear([15, 20, 25, 30, 44]);
var barPointer = chart.bar(2);
var legendItem = barPointer.legendItem();
legendItem.text('Blue pointer');
legendItem.iconType('circle');
chart.width(600).height(400);
chart.title('Get and modify pointer legend item');
chart.container('container');