StyleCode Property: areaTo

areaTo

Specifies the other bound of the area drawn for a series with seriesType: area.

Applies toTypeDefault
barchart > series
linechart > series
number"0"

Examples

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

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

Details

This property can be a vector (distinct value for each point in the series). The area drawn will start at the series value and run up to the areaTo value. See also areaPosition to draw the area on only one side of the series.