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.column3d([
3
{x: 'Meat', value: 10},
4
{x: 'Fruit', value: 12},
5
{x: 'Nuts', value: 18},
6
{x: 'Milk', value: 11},
7
{x: 'Fish', value: 5}
8
]);
9
chart.title('Set select marquee. Use mouse to draw marquee');
10
chart.container('container');
11
chart.draw();
12
13
chart.startSelectRectangleMarquee(true);
14
15
// Set select marquee fill.
16
chart.selectRectangleMarqueeStroke('#424242', 2, '5 2');
17
});