Basic Gauge

FAKE(linspace(55, 60, 1))
CHART(
    chartOption({
        tooltip: {
            formatter: "{a} <br/>{b} : {c}%"
        },
        series: [
            {
                name: "Pressure",
                type: "gauge",
                detail: {
                    formatter: "{value}"
                },
                data: [
                    {
                        value: column(0)[0],
                        name: "PRESSURE"
                    }
                ]
            }
        ]
    })
)
Last updated on