Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PieCharts don't show when using the examples #125

Open
hairpin86 opened this issue Apr 9, 2018 · 7 comments
Open

PieCharts don't show when using the examples #125

hairpin86 opened this issue Apr 9, 2018 · 7 comments

Comments

@hairpin86
Copy link

Hi,

I'm just trying to implement your library into our Oracle Apex application.

I tried to get the examples to work, but the pie charts don't show up.
All the other layers show up just fine when selected but not the charts.

I tried both version of the library (1.x and 0.7x)

No errors in the console.

What could be the problem?

Thanks

grafik

@sfairgrieve
Copy link
Contributor

@hairpin86 That's weird. Not sure what the problem could be offhand. Can you provide some more details like sample code? Or, is it just this example with no changes: http://humangeo.github.io/leaflet-dvf/examples/html/incomelevels.html

@hairpin86
Copy link
Author

i just plainly copied the example Javascript, included the data files and leaflet.js as well as the tile.stamen.js

Did I miss a library?

@hairpin86
Copy link
Author

Just realised, that all the interactive functionality (e.g. hover over states / country tooltips etc.) don't work either ...
I did not include the geohash.js, jsts.js, javascript.util.js in my page, could that be the problem?

@sfairgrieve
Copy link
Contributor

Those libraries shouldn't matter actually, and they can be moved out of this example. This is an old-ish example and hasn't been updated recently. What version of Leaflet are you using? 1.x? If so, you should be using leaflet-dvf 0.3.0. Are you sure that the correct Leaflet CSS file is being included as well? Still no errors in the console logs?

@hairpin86
Copy link
Author

hairpin86 commented Apr 10, 2018

Hi,
Your suggestion helped a little bit, tooltips do show now, but pie charts still don't show up as expected.
I tried using:
using leaflet-dvf 0.3.0 with Leaflet 1.3.1

No errors on the logs.

@sfairgrieve
Copy link
Contributor

Weird. Still the same example, or a different one?

@hairpin666
Copy link

I tried all the examples, no charts :( , the other layers work as expected. No idea what I'm doing wrong....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants