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.bullet([6]);
3
4
chart.height('50%');
5
chart.range(0, {from: 0, to: 5});
6
chart.range(1, {from: 5, to: 10});
7
chart.range(2, {from: 10, to: 15});
8
9
// Set marker type ellipse.
10
chart.markerPalette(['ellipse']);
11
12
chart.title('Set marker type');
13
chart.container('container');
14
chart.draw();
15
});