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:

enter image description here

however, when use same code inside rmarkdown, columns seem start on wrong position:

enter image description here

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

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -