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

setProdStackAlias #180

Open
IsabelleBailleul opened this issue Feb 24, 2020 · 1 comment
Open

setProdStackAlias #180

IsabelleBailleul opened this issue Feb 24, 2020 · 1 comment

Comments

@IsabelleBailleul
Copy link
Collaborator

Cette fonction fonctionne lorsqu'on définit au moins deux "lines" :
lines = alist("Consommation" = LOAD,
"test" = 0),
lineColors = c("#a65628", "#EB9BA6")
mais ne fonctionne pas si on en définit une seule, voire pas du tout !

@pvictor
Copy link
Member

pvictor commented May 25, 2020

Bonjour,

Je ne suis pas arrivé à reproduire le problème, pourriez-vous m'envoyer par mail un jeu de données et un exemple, du type :

setProdStackAlias(
  name = "Wind and solar",
  lines = alist(wind = WIND),
  lineColors = c("green")
)
prodStack(x = mydata, unit = "GWh", stack = "Wind and solar", interactive = FALSE, areas = "a")

# sauvegarde des données pour reproduire le problème
saveRDS(mydata, file = "mydata.rds")

Merci,

Victor

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

2 participants