# NOT RUN {
guides <- list(guide(fillAlpha = .4), guide(fillAlpha = .5))
new("ValueAxis", title = "Hello !", gridThickness = 1, guides = guides)
# }
# NOT RUN {
new("ValueAxis", title = "Hello !", 1) # 1 is not take into account
# If one element of guides is not a Guide object, it shows an error
guides <- list(guide(fillAlpha = .4), b = 1)
new("ValueAxis", title = "Hello !", gridThickness = 1, guides = guides)
# }
# NOT RUN {
valueAxis(title = "Hello !", axisTitleOffset = 12)
setTitle(.Object = valueAxis(), title = "Hello !")
# }
Run the code above in your browser using DataLab