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.gauges.circular([10]);
3
chart.marker({radius: 95});
4
5
var axis = chart.axis();
6
7
var ticksSettings = axis.ticks();
8
9
// Set fill.
10
ticksSettings.fill('#F44336');
11
12
chart.title('Set ticks fill parameter as a string');
13
chart.container('container');
14
chart.draw();
15
});