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

Styling attributes for markers and charts #129

Open
aurelien-robineau opened this issue May 20, 2019 · 3 comments
Open

Styling attributes for markers and charts #129

aurelien-robineau opened this issue May 20, 2019 · 3 comments

Comments

@aurelien-robineau
Copy link

Hi,
I can't find a list of all possibles styling attributes possible for markers and charts. I guessed some of them, but I surely missed some of the possibilities.
By the way the color attribute changes the border color on histrograms, but not on pie charts (I did not test on other charts). Maybe it is a bug ?

Thanks.

@sfairgrieve
Copy link
Contributor

Some of the marker options are defined here: https://github.com/humangeo/leaflet-dvf/wiki/6.-Markers. In most cases, what's mentioned on the wiki is in addition to normal Leaflet Path styling options. The components of chart markers are just Path objects, so they accept all the same styling parameters that normal Leaflet path objects accept as well: https://leafletjs.com/reference-1.5.0.html#path. Hope this helps, but let me know if it doesn't.

The color thing may be a bug, and is worth investigating - thanks for pointing that out.

@aurelien-robineau
Copy link
Author

It does help, thanks. I just didn't realise that I could actually use normal Leaflet styling options.
I let this topic open so you can close it when you know wether the color is a bug or not.

@valerio-bozzolan
Copy link

@aurelien-robineau can you please mark as resolved if you have fixed? :) thank you so much!

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