Запуск MacOS 10.13.5 и Windows 10 в Parallels. Загружать образцы Highcharts из https://www.highcharts.com/maps/demo/color-axis ... фон карты серый, и состояния меняются только при наведении на них курсора.
Это происходит как в MacOS, так и в Windows. Скриншот с сайта Highcharts.
РЕДАКТИРОВАТЬ В комментарии я отредактировал, чтобы выглядело так (так как я отображаю диаграммы и карты из одного модуля):
<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.1.1.js"></script> <script src="https://code.highcharts.com/highcharts.js"></script> <script src="http://code.highcharts.com/highcharts-more.js"></script> <script src="https://code.highcharts.com/highcharts-3d.js"></script> <!-- USE MASTER BRANCH OF HIGHCHARTS MAPPING AND NOT RELEASE VERSION **** TEMP *** https://stackoverflow.com/questions/51051239/highcharts-maps-even-samples-dont-work <script src="https://code.highcharts.com/modules/exporting.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/proj4js/2.3.6/proj4.js"></script> --> <!-- <script src="http://code.highcharts.com/maps/modules/map.js"></script> <script src="http://code.highcharts.com/maps/modules/data.js"></script> --> <script src="https://github.highcharts.com/master/maps/highmaps.js"></script> <script src="https://github.highcharts.com/master/maps/modules/data.js"></script> <script src="https://github.highcharts.com/master/maps/modules/exporting.js"></script> <script src="https://github.highcharts.com/master/maps/modules/offline-exporting.js"></script> <script src="https://code.highcharts.com/mapdata/countries/us/us-all.js"></script>
Но я получаю ошибку 16. Я предполагаю, что должен вытащить все библиотеки из github, но похоже, что некоторые имена изменились?
Кажется, что эта ошибка уже исправлена в основной ветке Highcharts:
<script src="https://github.highcharts.com/master/maps/highmaps.js"></script> <script src="https://github.highcharts.com/master/maps/modules/data.js"></script> <script src="https://github.highcharts.com/master/maps/modules/exporting.js"></script> <script src="https://github.highcharts.com/master/maps/modules/offline-exporting.js">
Демонстрационная версия: https://jsfiddle.net/BlackLabel/teazgj5r/
Исправление будет включено в следующую версию Highmaps.