Skip to content

Commit

Permalink
Haspmota fix chart color series
Browse files Browse the repository at this point in the history
  • Loading branch information
s-hadinger authored Dec 8, 2024
1 parent ed52014 commit 364fa21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/libesp32_lvgl/lv_haspmota/src/embedded/lv_haspmota.be
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 364fa21

Please sign in to comment.