Skip to content

Commit e8063e4

Browse files
authored
Update highcharts.py
1 parent ef0ba31 commit e8063e4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

highcharts/highcharts/highcharts.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def __init__(self, **kwargs):
110110
# Bind Base Classes to self
111111
self.options = {
112112
"chart": ChartOptions(),
113-
"colorAxis" : ColorAxisOptions(),
113+
#"colorAxis" : ColorAxisOptions(),
114114
"colors": ColorsOptions(),
115115
"credits": CreditsOptions(),
116116
#"data": #NotImplemented
@@ -270,6 +270,9 @@ def set_options(self, option_type, option_dict, force_options=False):
270270
self.options[option_type].update_dict(**option_dict)
271271
elif option_type in ["global" , "lang"]: #Highcharts.setOptions:
272272
self.setOptions[option_type].update_dict(**option_dict)
273+
elif option_type == 'colorAxis':
274+
self.options.update({'colorAxis': ColorAxisOptions()})
275+
self.options[option_type].update_dict(**option_dict)
273276
else:
274277
self.options[option_type].update_dict(**option_dict)
275278

0 commit comments

Comments
 (0)