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
11
1
anychart.onDocumentReady(function () {
2
var chart = anychart.gauges.circular([100]);
3
chart.marker({radius: 95});
4
var axis = chart.axis();
5
axis.scale(anychart.enums.GaugeScaleTypes.LOG); // sets scale
6
var scale = axis.scale();
7
scale.minimum(0.1);
8
scale.maximum(100);
9
chart.container("container");
10
chart.draw();
11
});