Add multi-bucket support for tables and update reports
This commit is contained in:
parent
250cce8c11
commit
1d4e99c69b
4 changed files with 127 additions and 33 deletions
|
@ -182,6 +182,8 @@ def _generate_interval(interval: str, domain: Optional[str] = None) -> None:
|
|||
entry["icon"] = definition["icon"]
|
||||
if "bucket" in definition:
|
||||
entry["bucket"] = definition["bucket"]
|
||||
if "buckets" in definition:
|
||||
entry["buckets"] = definition["buckets"]
|
||||
if "bucket_label" in definition:
|
||||
entry["bucket_label"] = definition["bucket_label"]
|
||||
if "color" in definition:
|
||||
|
@ -268,6 +270,8 @@ def _generate_global() -> None:
|
|||
entry["icon"] = definition["icon"]
|
||||
if "bucket" in definition:
|
||||
entry["bucket"] = definition["bucket"]
|
||||
if "buckets" in definition:
|
||||
entry["buckets"] = definition["buckets"]
|
||||
if "bucket_label" in definition:
|
||||
entry["bucket_label"] = definition["bucket_label"]
|
||||
if "color" in definition:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue