HTMLcopy
1
<div id="container"></div>
CSScopy
6
1
html, body, #container {
2
width: 100%;
3
height: 100%;
4
margin: 0;
5
padding: 0;
6
}
JavaScriptcopy
x
1
anychart.onDocumentReady(function () {
2
3
// Set morning theme.
4
anychart.theme("morning");
5
6
var chart = anychart.column();
7
8
chart.column([21.2, 32.5, 21.3, 44.5, 21, 35.2, 67.7]);
9
chart.column([21, 97, 56, 24, 27, 30, 27]);
10
chart.column([38, 124, 75, 40, 40, 50, 39]);
11
chart.title("Set morning theme.");
12
chart.container("container");
13
chart.draw();
14
});