Browse Source

do not "pre-style" highcharts

Rodja Trappe 3 năm trước cách đây
mục cha
commit
fa747104d0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      nicegui/elements/chart.py

+ 1 - 1
nicegui/elements/chart.py

@@ -11,6 +11,6 @@ class Chart(Element):
 
         :param options: dictionary of highcharts options
         """
-        view = jp.HighCharts(classes='m-2 p-2 border', style='width: 600px')
+        view = jp.HighCharts()
         view.options = self.options = jp.Dict(**options)
         super().__init__(view)