diff --git a/highcharts/highcharts/common.py b/highcharts/highcharts/common.py index 611e00b..0be82af 100644 --- a/highcharts/highcharts/common.py +++ b/highcharts/highcharts/common.py @@ -568,6 +568,7 @@ class Hover(CommonObject): "marker": (Marker, dict), "radius": int, "radiusPlus": int, + "color": (ColorObject, basestring, dict), } class States(CommonObject): diff --git a/highcharts/highcharts/highcharts.py b/highcharts/highcharts/highcharts.py index 5d5ec2e..0b7a5a3 100644 --- a/highcharts/highcharts/highcharts.py +++ b/highcharts/highcharts/highcharts.py @@ -110,7 +110,7 @@ def __init__(self, **kwargs): # Bind Base Classes to self self.options = { "chart": ChartOptions(), - "colorAxis" : ColorAxisOptions(), + #"colorAxis" : ColorAxisOptions(), "colors": ColorsOptions(), "credits": CreditsOptions(), #"data": #NotImplemented @@ -270,6 +270,9 @@ def set_options(self, option_type, option_dict, force_options=False): self.options[option_type].update_dict(**option_dict) elif option_type in ["global" , "lang"]: #Highcharts.setOptions: self.setOptions[option_type].update_dict(**option_dict) + elif option_type == 'colorAxis': + self.options.update({'colorAxis': ColorAxisOptions()}) + self.options[option_type].update_dict(**option_dict) else: self.options[option_type].update_dict(**option_dict)