Chart Bubble I
Chart Bubble I

Insert it in <head>

<!-- Choose one for Light Mode -->
<link id="themecss" rel="stylesheet" type="text/css" href="https://i-as.dev/devui/css/light/all.min.css" />
<!-- Choose one for Dark Mode -->
<link id="themecss" rel="stylesheet" type="text/css" href="https://i-as.dev/devui/css/dark/all.min.css" />

<script type="text/javascript" src="https://i-as.dev/devui/js/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="https://i-as.dev/devui/js/devui-all.min.js"></script>

Use Components

<body class="theme-light">

<div id="chart"></div>

<script type="text/javascript">
    $(function () {
        $("#chart").devuiChart({
            theme: "light",
            axisX: {
                title: {
                    text: "Pressure psi"
                },
                endOffset: 0.05,
                startOffset: 0.05
            },
            axisY: {
                title: {
                    text: "Boiling point in Celsius"
                }
            },
            primaryHeader: {
                text: "Water - pressure and boiling point"
            },
            chartLegend: {
                align: "right",
                verticalAlign: "top",
                renderDirection: "vertical"
            },
            tooltipSettings: {
                chartBound: true,
                axisMarkers: {
                    enabled: true,
                    mode: 'xy'
                }
            },
            dataSeries: [{
                seriesType: "bubble",
                collectionAlias: "metrics",
                data: [
                     {
                         x: 3.45,
                         y: 26.4,
                         size: 26.4
                     },
                     {
                         x: 20.69,
                         y: 60.8,
                         size: 60.8
                     },
                     {
                         x: 60.02,
                         y: 86.8,
                         size: 86.8
                     },
                     {
                         x: 101.3,
                         y: 100,
                         size: 100
                     },
                     {
                          x: 151.7,
                          y: 112,
                          size: 112
                     }
                ]
            }]
        });
    });
</script>

</body>