Skip to content

Commit

Permalink
Rename p/kWh at add average (#1582)
Browse files Browse the repository at this point in the history
* Rename p/kWh at add average

* [pre-commit.ci lite] apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
  • Loading branch information
springfall2008 and pre-commit-ci-lite[bot] authored Nov 2, 2024
1 parent 6ea68c0 commit 30696de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/predbat/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ def get_chart(self, chart):
{"name": "Import", "data": rates, "opacity": "1.0", "stroke_width": "3", "stroke_curve": "stepline"},
{"name": "Export", "data": rates_export, "opacity": "0.2", "stroke_width": "2", "stroke_curve": "stepline", "chart_type": "area"},
{"name": "Gas", "data": rates_gas, "opacity": "0.2", "stroke_width": "2", "stroke_curve": "stepline", "chart_type": "area"},
{"name": "p/kWh", "data": cost_pkwh, "opacity": "1.0", "stroke_width": "3", "stroke_curve": "stepline"},
{"name": "Average p/kWh", "data": cost_pkwh, "opacity": "1.0", "stroke_width": "3", "stroke_curve": "stepline"},
]
text += self.render_chart(series_data, self.base.currency_symbols[1], "Energy Rates", now_str)
elif chart == "InDay":
Expand Down

0 comments on commit 30696de

Please sign in to comment.