From f7133916272847beff0f0be96e23dfeafe052144 Mon Sep 17 00:00:00 2001 From: wittypluck Date: Thu, 23 Nov 2023 10:03:10 +0100 Subject: [PATCH] Add logarithmic scale option to Statistics and History graph cards (#29874) * Add logarithmic scale option to History graph card * Add logarithmic scale option to Statistics graph card * Apply suggestions from code review Use Y-axis instead of vertical axis Co-authored-by: Fletcher --------- Co-authored-by: Fletcher --- source/_dashboards/history-graph.markdown | 5 +++++ source/_dashboards/statistics-graph.markdown | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/source/_dashboards/history-graph.markdown b/source/_dashboards/history-graph.markdown index c351f3cb30b..e81cffc3099 100644 --- a/source/_dashboards/history-graph.markdown +++ b/source/_dashboards/history-graph.markdown @@ -48,6 +48,11 @@ show_names: description: If false, no entity names are shown in the card. type: boolean default: true +logarithmic_scale: + required: false + description: If true, numerical values on the Y-axis will be displayed with a logarithmic scale. + type: boolean + default: false {% endconfiguration %} ### Options For Entities diff --git a/source/_dashboards/statistics-graph.markdown b/source/_dashboards/statistics-graph.markdown index ddc607dbead..3ba392539b1 100644 --- a/source/_dashboards/statistics-graph.markdown +++ b/source/_dashboards/statistics-graph.markdown @@ -64,6 +64,11 @@ hide_legend: description: If true, the legend will be hidden. type: boolean default: false +logarithmic_scale: + required: false + description: If true, numerical values on the Y-axis will be displayed with a logarithmic scale. + type: boolean + default: false {% endconfiguration %} ### Options For Entities