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
var chart = anychart.radar([
3
{x: 0, value: 6},
4
{x: 1, value: 1},
5
{x: 2, value: 6},
6
{x: 3, value: 1},
7
{x: 4, value: 6},
8
{x: 5, value: 1}
9
]);
10
11
// Disable X-axis
12
chart.xAxis(false);
13
14
chart.title('Disable xAxis');
15
chart.container('container');
16
chart.draw();
17
});