### example 37 Vertical Grouped Area
d1 <- dPlot(
x = "UnitSales",
y = c("Owner","Month"),
groups = "Owner",
data = subset(data, Owner %in% c("Aperture","Black Mesa")),
type = "area",
bounds = list(x=90,y=30,height=470,width=330),
lineWeight = 1,
barGap = 0.05,
height = 400,
width = 590
)
d1$xAxis(type = "addMeasureAxis")
d1$yAxis(type = "addCategoryAxis", grouporderRule = "Date")
d1