Kpi Dashboard Altair

Kpi Dashboard Altair

by Contaura LLC · original work by Creu Blanca, OCA
kpi_dashboard_altair
$ 29.00

Create dashboards using altair

1.0
Needs 2 more store apps, added with it: Total $ 137.00

One purchase covers every version. Already bought it? Sign in.

Kpi Dashboard Altair

Define KPI graphs using altair

Table of contents

Configuration

Configure KPIs

  1. Access Dashboards > Configuration > KPI Dashboards > Configure KPI
  2. Create a new kpi with widget altair

You need to define a function like:

import pandas
import altair


class Kpi(models.Model):
    _inherit = 'kpi.kpi'

    def test_demo_altair(self):
        source = pandas.DataFrame(
            {
                "a": ["A", "B", "C", "D", "E", "F", "G", "H", "I"],
                "b": [28, 55, 43, 91, 81, 53, 19, 87, 52],
            }
        )
        chart = altair.Chart(source).mark_bar().encode(x="a", y="b")
        return {"altair": json.loads(chart.to_json())}

You can use code in a similar way, as pandas and altair are already defined when using code on an altair widget.

Technical namekpi_dashboard_altair
Module version12.0.1.0.3
Tulio versions1.0
CategoryTools
PublisherContaura LLC
Ported to Tulio, tested and supported by Contaura LLC.
Original authorsCreu Blanca, OCA
LicenseAGPL-3
Open source: you may use, change and share this module under its license. The price covers the Tulio port, its testing on Tulio 1.0 and the download.
Python librariesaltair
Install them on the server with pip before installing the module.
Requires (store) Kpi Dashboard
Lines of code130
Downloads0
Released12/06/2026
12.0.1.0.3 Tulio 1.0 · 12/06/2026