diff --git a/source/_dashboards/statistics-graph.markdown b/source/_dashboards/statistics-graph.markdown index 2a24180ab68..b85599a43ce 100644 --- a/source/_dashboards/statistics-graph.markdown +++ b/source/_dashboards/statistics-graph.markdown @@ -62,7 +62,7 @@ title: type: string period: required: false - description: The period of the rendered graph. `5minute`, `hour`, `day`, `week` or `month` + description: The period of the rendered graph. `5minute`, `hour`, `day`, `week` or `month`. If `energy_date_selection` is true, and `period` is not defined, the chart period will auto-select between month/day/hour based on the selected date range. type: string hide_legend: required: false @@ -87,6 +87,15 @@ fit_y_data: description: If true, configured Y-axis bounds would automatically extend (but not shrink) to fit the data. type: boolean default: false +energy_date_selection: + required: false + description: If true, chart date range will follow the date selected on an `energy-date-selection` card on the same view, similar to energy cards. + type: boolean + default: false +collection_key: + required: false + description: If using `energy_date_selection`, you can set a custom key to match the optional key of an `energy-date-selection` card. This is not typically required, but can be useful if multiple date selection cards are used on the same view. + type: string {% endconfiguration %} ### Options for entities