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

Add legend title to e_visual_map #643

Open
lepromatous opened this issue Oct 10, 2024 · 0 comments
Open

Add legend title to e_visual_map #643

lepromatous opened this issue Oct 10, 2024 · 0 comments

Comments

@lepromatous
Copy link

lepromatous commented Oct 10, 2024

It doesn't appear possible to add a legend title to a piecewise e_visual_map, even by inspecting the HTML/JS to manually hack and throw in some text. Am I missing something? Is it possible to add an option in e_visual_map so you could add a title to the legend?

not reprex but example code:

.dat |>
e_charts_(df_link) |>
e_map_register("mapz", map_json) |>
e_map(serie = var_int,
map = "mapz",
nameProperty = map_link,
aspectScale = 1) |>
e_visual_map(
type = "piecewise",
pieces = piecez) |> ...

[where piecez contains min/max/labels/etc of all items required by the pieces argument]

CleanShot 2024-10-10 at 07 44 02@2x

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

1 participant