From 400816a399f32be97c2a8904bc394eb4602b7781 Mon Sep 17 00:00:00 2001 From: Kristian Sloth Lauszus Date: Sat, 11 Apr 2020 13:43:09 +0200 Subject: [PATCH] Fixed dashStyle param, as it should be a basestring This was done for Highchart in https://github.com/kyper-data/python-highcharts/pull/35, but not for Highstock --- highcharts/highstock/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/highcharts/highstock/common.py b/highcharts/highstock/common.py index ea43dc7..aeaf898 100644 --- a/highcharts/highstock/common.py +++ b/highcharts/highstock/common.py @@ -655,7 +655,7 @@ class PlotBands(ArrayObject): class PlotLines(ArrayObject): ALLOWED_OPTIONS = { "color": (ColorObject, basestring, dict), - "dashStyle": int, + "dashStyle": basestring, "events": (Events, dict), "id": basestring, "label": (Labels, dict),