anychart.onDocumentReady(function () {
chart = anychart.column([
{x: "Waffle Bowl", value: 1000},
{x: "Kids Cone", value: 1300},
{x: "Cake Cup", value: 1400},
{x: "Color Cup", value: 1100},
{x: "Jumbo Cup", value: 9000},
{x: "Jacketed Waffle Cone", value: 1000},
{x: "Sugar Cone", value: 5000}
chart.getSeries(0).selected().labels({enabled: true, format: "{%x}"});
var label = chart.label();
label.position("right-top");
label.anchor("right-top");
label.text("Ice cream cones types");
"cornerType": "round-inner",
label.listen("click", function() {
chart.getSeries(0).getPoint(i).selected(true);
if (i==chart.getSeries(0).data().getRowsCount()) i=0;
label.listen("mouseOver", function() {
this.background().fill("Gray 0.2");
document.body.style.cursor = "hand";
label.listen("mouseOut", function() {
this.background().fill("White");
document.body.style.cursor = "auto";
chart.container("container");