### 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