mirror of https://github.com/arendst/Tasmota.git
Haspmota fix chart color series
This commit is contained in:
parent
ed520140a1
commit
364fa21fc4
|
@ -2187,10 +2187,10 @@ class lvh_chart : lvh_obj
|
||||||
end
|
end
|
||||||
|
|
||||||
def set_series1_color(color)
|
def set_series1_color(color)
|
||||||
self._lv_obj.set_series_color(self._ser1, color)
|
self._lv_obj.set_series_color(self._ser1, self.parse_color(color))
|
||||||
end
|
end
|
||||||
def set_series2_color(color)
|
def set_series2_color(color)
|
||||||
self._lv_obj.set_series_color(self._ser2, color)
|
self._lv_obj.set_series_color(self._ser2, self.parse_color(color))
|
||||||
end
|
end
|
||||||
def set_h_div_line_count(_h_div)
|
def set_h_div_line_count(_h_div)
|
||||||
self._h_div = _h_div
|
self._h_div = _h_div
|
||||||
|
|
Loading…
Reference in New Issue