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: 90});
4
5
var axis = chart.axis();
6
7
var ticksSettings = axis.ticks();
8
ticksSettings.length(8);
9
10
// Set hatch fill.
11
ticksSettings.hatchFill('forward-diagonal', '#E0E0E0', 2, 5);
12
13
chart.title('Set ticks hatch fill parameters');
14
chart.container('container');
15
chart.draw();
16
});