Skip to content

Commit 0a75fc6

Browse files
committed
Added ChartEvents.render property.
1 parent 98ba0c7 commit 0a75fc6

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

highcharts_core/utility_classes/events.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,20 @@ def load(self) -> Optional[CallbackFunction]:
233233
def load(self, value):
234234
self._load = value
235235

236+
@property
237+
def render(self) -> Optional[CallbackFunction]:
238+
"""JavaScript callback function that fires when the chart is initially loaded
239+
(directly after the ``load`` event), and after each redraw (directly after the ``redraw`` event).
240+
241+
:rtype: :class:`CallbackFunction` or :obj:`None <python:None>`
242+
"""
243+
return self._render
244+
245+
@render.setter
246+
@class_sensitive(CallbackFunction)
247+
def render(self, value):
248+
self._render = value
249+
236250
@property
237251
def redraw(self) -> Optional[CallbackFunction]:
238252
"""JavaScript callback function that fires when the chart is redrawn, either after

0 commit comments

Comments
 (0)