### example 7 horizontal bard1 <- dPlot( Month ~ UnitSales, data = data, type = "bar")d1$xAxis(type = "addMeasureAxis")#good test of orderRule on y instead of xd1$yAxis(type = "addCategoryAxis", orderRule = "Date")d1
### example 7 horizontal bar
d1 <- dPlot(
Month ~ UnitSales,
data = data,
type = "bar"
)
d1$xAxis(type = "addMeasureAxis")
#good test of orderRule on y instead of x
d1$yAxis(type = "addCategoryAxis", orderRule = "Date")
d1