Haspmota fix chart color series

This commit is contained in:
s-hadinger 2024-12-08 10:29:45 +01:00 committed by GitHub
parent ed520140a1
commit 364fa21fc4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -2187,10 +2187,10 @@ class lvh_chart : lvh_obj
end
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
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
def set_h_div_line_count(_h_div)
self._h_div = _h_div