Chart / dataset /web /AnyChart /scatter /chart_0046_scatter.html
Pekku's picture
Upload folder using huggingface_hub
79dc9c8 verified
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta content="width=device-width, initial-scale=1" name="viewport">
<title>anychart.core.cartesian.series.Bubble.fill set asOpacity</title>
<link href="https://playground.anychart.com/api/core/cartesian/series/_samples/anychart.core.cartesian.series.Bubble.fill_set_asOpacity/iframe" rel="canonical">
<meta content="Bubble Chart,Statistical Data" name="keywords">
<meta content="AnyChart - JavaScript Charts designed to be embedded and integrated" name="description">
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<link href="_deps/cdn.anychart.com/releases/8.14.1/css/anychart-ui.min.css" rel="stylesheet" type="text/css">
<style>html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}</style>
</head>
<body>
<div id="container"></div>
<script src="_deps/cdn.anychart.com/releases/8.14.1/js/anychart-base.min.js"></script>
<script src="_deps/cdn.anychart.com/releases/8.14.1/js/anychart-exports.min.js"></script>
<script src="_deps/cdn.anychart.com/releases/8.14.1/js/anychart-ui.min.js"></script>
<script type="text/javascript">anychart.onDocumentReady(function () {
var chart = anychart.bubble();
var series = chart.bubble([
{x: 1, value: 1.0, size: 2},
{x: 2, value: 1.6, size: 6},
{x: 3, value: 1.2, size: 4},
{x: 4, value: 1.8, size: 3}
]);
// Set fill.
series.fill('#26A69A', 0.2);
chart.title('Set fill with opacity');
chart.container('container');
chart.draw();
});</script>
</body>
</html>