From 47d9d1ca90c0ad9c8df459ddb7d144f024c29fd1 Mon Sep 17 00:00:00 2001 From: Trefor Southwell <48591903+springfall2008@users.noreply.github.com> Date: Sun, 8 Sep 2024 15:04:39 +0100 Subject: [PATCH] Chart width 100% --- apps/predbat/predbat.py | 2 +- apps/predbat/web.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/predbat/predbat.py b/apps/predbat/predbat.py index f622c24c8..0d5e7d50e 100644 --- a/apps/predbat/predbat.py +++ b/apps/predbat/predbat.py @@ -32,7 +32,7 @@ import asyncio import json -THIS_VERSION = "v8.4.6" +THIS_VERSION = "v8.4.7" PREDBAT_FILES = ["predbat.py", "config.py", "prediction.py", "utils.py", "inverter.py", "ha.py", "download.py", "unit_test.py", "web.py"] from download import predbat_update_move, predbat_update_download, check_install diff --git a/apps/predbat/web.py b/apps/predbat/web.py index 95faad5b9..948e0f4ac 100644 --- a/apps/predbat/web.py +++ b/apps/predbat/web.py @@ -216,7 +216,7 @@ def render_chart(self, series_data, yaxis_name, chart_name, now_str): var options = { chart: { type: 'line', - width: '80%' + width: '100%' }, span: { start: 'minute', offset: '-12h'