Hi, I have a bar graph in R which is going to be used on powerbi. I want to set a maximum and a minimum to the Y axis. By getting the value entered by the user into ‘Maximum Height’ field or ‘Minimum Height’ field to modify the visualisation.
I set up these two field,
“yscalemaxin”:{
“displayName”: “Maximum Height”,
“displayNameKey”: “dynymax”,
“type”: {
“numeric”: true
}
},
“yscaleminin”:{
“displayName”: “Minimum Height”,
“displayNameKey”: “dynymin”,
“type”: {
“numeric”: true
layout(
xaxis = list(range = c(0, yscalemaxin)),
yaxis = list(range = c(yscaleminin, Inf)))
this code do not work.
How can I get their values and then the chart changes? I think this function is same as ‘start’ and ‘end’ in PowerBI.
Greetings