瀏覽代碼

some words about how data of chart can be updated

Rodja Trappe 2 年之前
父節點
當前提交
8638297e19
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      nicegui/elements/chart.py

+ 2 - 0
nicegui/elements/chart.py

@@ -11,6 +11,8 @@ class Chart(Element):
         """Chart
 
         An element to create a chart using `Highcharts <https://www.highcharts.com/>`_.
+        Updates can be pushed to the chart  by changing the `options` property.
+        After data has changed, call the `update` method to refresh the chart.
 
         :param options: dictionary of Highcharts options
         """