<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
var chart = anychart.column();
chart.data({
header: ['#', 'Florida', 'Texas', 'Arizona', 'Nevada'],
rows: [
['Apples', 1, 2, 3, 4],
['Pears', 2, 3, 4, 1],
['Bananas', 3, 4, 1, 2],
['Grapes', 4, 1, 2, 3]
]
});
// Removes the first series by index.
chart.removeSeriesAt(0);
chart.title('Remove series by index');
chart.container('container');
chart.draw();