Fix boolean attribute rendering for traffic graph
This commit is contained in:
parent
4242044cbd
commit
be3a588e40
1 changed files with 2 additions and 2 deletions
|
|
@ -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;"
|
||||
>
|
||||
<canvas></canvas>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue