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.column();
3
4
var series = chart.rangeColumn([
5
{x: 'January', low: 3093, high: 19522},
6
{x: 'February', low: 4205, high: 32622},
7
{x: 'March', low: 4019, high: 41612},
8
{x: 'April', low: 4920, high: 53752},
9
{x: 'May', low: 12684, high: 31917},
10
{x: 'June', low: 14924, high: 42052},
11
{x: 'July', low: 7933, high: 69812},
12
{x: 'August', low: 15573, high: 59922}
13
]);
14
15
// Set fill.
16
series.fill('#F44336', 0.4);
17
18
chart.title(' Set fill with opacity');
19
chart.container('container');
20
chart.draw();
21
});