hupili / datavis.studio

data-viz course/ slides/ projects
http://datavis.studio/
6 stars 6 forks source link

Highmap incompatible with Highcharts #32

Closed tiffanynys closed 5 years ago

tiffanynys commented 5 years ago

Troubleshooting

Describe your environment

(26/4) After adding the codes of Highcharts to the webpage, Highmap cannot be shown in my group work.

Error message Screenshot 2019-04-29 at 4 58 10 AM

(28/4) While I tried to create two templates (one with map only and one with map and chart, the map is compatible with the graph lol. I don't know why.

ivywze commented 5 years ago

The issue might happen when highmap and highcharts are built with different versions. One easy and quick way to solve the problem will be to use <iframe> to insert charts to the main page that's already done.

hupili commented 5 years ago

@tiffanynys any good news of the integration? @ivyWANG958 can you find an example showing the iframe embedding trick?

tiffanynys commented 5 years ago

I change the 〈div> 〈/div> for the chart to An empty rectangular box appears with nth inside :-S

ivywze commented 5 years ago

Here is an example of how to use <iframe>. You could see trick - how I insert the second chart to the main page.

tiffanynys commented 5 years ago

wow, thank you problem fixed!