$ 29.00
Create dashboards using altair
Needs 2 more store apps, added with it:
- Kpi Dashboard · $ 79.00
- Web Widget Color · $ 29.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
- Access Dashboards > Configuration > KPI Dashboards > Configure KPI
- 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 name | kpi_dashboard_altair |
|---|---|
| Module version | 12.0.1.0.3 |
| Tulio versions | 1.0 |
| Category | Tools |
| Publisher | Contaura LLC
Ported to Tulio, tested and supported by Contaura LLC. |
| Original authors | Creu Blanca, OCA |
| License | AGPL-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 libraries | altair
Install them on the server with pip before installing the module. |
| Requires (store) | Kpi Dashboard |
| Lines of code | 130 |
| Downloads | 0 |
| Released | 12/06/2026 |