kyper-data / python-highcharts

A simple translation layer between Python and Javascript for Highcharts projects (highcharts, highmaps, and highstocks).
MIT License
393 stars 190 forks source link

Highmaps bugfix and CSSsource clear. #89

Open zottacko opened 1 year ago

zottacko commented 1 year ago

The file highmaps/templates/content.html has a bug that prevents JavaScript from parsing a custom GeoJSON map. Added a $.parseJSON(); call to fix it.

Most of Highcharts 6 libraries for Maps don't work properly, so JSsource links were updated to version 9. Most maps work fine with version 7, but when adding a custom GeoJSON map, the least version needed is 9.

The CSS https://www.highcharts.com/highslide/highslide.css is not available anymore so it's been removed from CSSsource definitions on highcharts/highcharts.py, highmaps/highmaps.py, and highstocks/highstocks.py.