Browse Source

some words about how data of chart can be updated

Rodja Trappe 2 years ago
parent
commit
8638297e19
1 changed files with 2 additions and 0 deletions
  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
         """