diff --git a/lib/towerops_web/live/graph_live/show.html.heex b/lib/towerops_web/live/graph_live/show.html.heex index 33a1295a..a7ff5a16 100644 --- a/lib/towerops_web/live/graph_live/show.html.heex +++ b/lib/towerops_web/live/graph_live/show.html.heex @@ -50,8 +50,8 @@ phx-hook="SensorChart" data-chart={@chart_data} data-unit={@unit} - data-auto-scale={@auto_scale} - data-show-zero-line={@show_zero_line} + data-auto-scale={to_string(@auto_scale)} + data-show-zero-line={to_string(@show_zero_line)} style="height: 600px;" >