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
// create variable for custom theme
4
var customTheme = {
5
"defaultFontSettings": {
6
"fontSize": 9,
7
"fontWeight": 100,
8
"fontColor": "#0000CD"
9
},
10
"chart": {
11
"title": false,
12
"legend": false
13
}
14
};
15
16
// data
17
var data = anychart.data.set([
18
["Alice", 33],
19
["Bob", 23],
20
["Jake", 35]
21
]);
22
23
// apply custom theme
24
anychart.theme(customTheme);
25
26
var table = anychart.standalones.table();
27
table.contents([
28
[
29
anychart.column(data),
30
anychart.pie(data),
31
anychart.radar(data)
32
]
33
]);
34
table.container("container");
35
table.draw();
36
});