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
chart.line([
4
{x: 0, value: 6},
5
{x: 1, value: 1},
6
{x: 2, value: 6},
7
{x: 3, value: 1},
8
{x: 4, value: 6},
9
{x: 5, value: 1}
10
]);
11
12
var xAxis = chart.xAxis();
13
14
// Get labels.
15
var labelsSettings = xAxis.labels();
16
17
labelsSettings.fontColor('#00897B');
18
labelsSettings.fontWeight('bold');
19
20
chart.title('Get and modify axis labels');
21
chart.container('container');
22
chart.draw();
23
});