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

plotMap : Color extreme values with a different color on maps or heatmaps for several variables #78

Open
jalazawa opened this issue Apr 7, 2017 · 0 comments

Comments

@jalazawa
Copy link
Member

jalazawa commented Apr 7, 2017

we can create a specific legend map for one variable, but we lose the generic legend if we want to plot an another variable.

ex

plotMap(
  mydata, myMapLayout,
  colAreaVar = "MRG. PRICE",
  options = plotMapOptions(
    areaColorScaleOpts = colorScaleOptions(
      breaks = c(0, 100, 200, 20000),
      colors = c("green", "orange", "red")
    )
  )
)

If we choose to plot LOAD then we have a "bad" legend for LOAD.

Can we set quantiles in the parameter "breaks" for all variables ?
Can we set a list of breaks and colors for several variables in areaColorScaleOpts ?

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

No branches or pull requests

4 participants