<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
var chart = anychart.column();
chart.column([
{x: 0, value: 22},
{x: 1, value: 34},
{x: 2, value: 16},
]);
{x: 0, value: 12},
{x: 1, value: 41},
{x: 2, value: 47}
var interactivity = chart.interactivity();
// Set selection mode.
interactivity.selectionMode('single-select');
chart.title('Set selection mode');
chart.container('container');
chart.draw();
});