StyleCode Property: areaPosition

areaPosition

Specifies where the area for a series with seriesType: area should be drawn.

Applies toTypeDefault
barchart > series
linechart > series
both,above,belowboth

Examples

// Example: barchart > series
show barchart "My Chart" a1b6 with
  sum(Quantity) { areaPosition: both }
  group by Category

// Example: linechart > series
show linechart "My Chart" a1b6 with
  Day.StockOnHand { areaPosition: both }
  Day.StockOnOrder

Details

The area is usually drawn between the series value and the value provided in the areaTo property. If the position is not both, then the series will only be drawn on points where: