r - Columns overlap xAxis labels -
i have made graph r/rcharts/highcharts inside markdown document. produce plot includes (besides other commands) command, causes problem in rmarkdown:
plot$yaxis(labels = list(formatter = "#! function() {return (this.value) + '%';} !#"), # maximum value should 100 max = 100, # subtract 5 percent minimum value # minimum value y axis. min = max(minimum - 5, 0))
which looks fine when @ in rstudio viewer:
however, when use same code inside rmarkdown, columns seem start on wrong position:
which caused hard setting of yaxis minimum value. code creating error in markdown same above. plot, use command:
plot$show('iframesrc', cdn = true)
the columns start position not seem updated.. have idea causes error?
Comments
Post a Comment