Commit 124cd7db authored by Masayuki Tanaka's avatar Masayuki Tanaka

Update sample for region

parent 0a761774
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
} }
}); });
/*
setTimeout(function () { setTimeout(function () {
chart.load({ chart.load({
columns: [ columns: [
...@@ -41,7 +40,20 @@ ...@@ -41,7 +40,20 @@
] ]
}); });
}, 1000); }, 1000);
*/
setTimeout(function () {
chart.regions([]);
}, 2000);
setTimeout(function () {
chart.regions([{start:0.5,end:2.5}]);
}, 3000);
setTimeout(function () {
chart.regions.add([{start:4.5}]);
}, 4000);
</script> </script>
</body> </body>
</html> </html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment