Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AreaPlotOptions

Available area plot options

Hierarchy

Index

Properties

Optional color

color: string

Stroke color

Optional data

depricated

use dataAccessor

Optional dataAccessor

dataAccessor: DataAccessorFunction

Plot data accessor function when used with GraphTrack

Optional defined

Set condition for what data to plot. Default is v => v !== null

Optional domain

domain: Domain

Y axis (range) for plot data. Default is [0, 100].

Optional fill

fill: string

Fill color

Optional fillOpacity

fillOpacity: number

Fill opacity

Optional filterOverlapFactor

filterOverlapFactor: number

Used to control how much overlap or excess is added when filtering data compared to the current domain. Ex. if the current domain is [100, 200], and with an overlap factor of 0.5, data will be filtered using the extended domain [50, 250], leaving an excess of 50 units in both ends. This improves the user experience during panning.

Optional filterToScale

filterToScale: boolean

Automatically filter data to current scale. This may increase performance for larger datasets, as data outside the current domain is not passed to the plots. Overlap may be controlled by the filterOverlapFactor option. Filtering is off (false) by default.

Optional hidden

hidden: boolean

Flag to hide/show a plot. Default is false.

Optional horizontal

horizontal: boolean

Set plot orientation. Default is true (horizontally).

Optional inverseColor

inverseColor: string

If set, will also fill the opposite area in the color specified. Not set by default.

Optional legendRows

legendRows: number

The number of rows in the legend section (if used with LogController) this particular plot requires

Optional offset

offset: number

offset position to draw the plot

example

0.5 // renders the plot 50 % off from origin

Optional scale

scale: string

Scale type: 'linear' or 'log'. Default is 'linear'.

Optional useMinAsBase

useMinAsBase: boolean

Use the minimum value of the domain as base for the area polygon. Default is true, setting to false will invert the drawing of the polygon.

Optional width

width: number

Stroke width

Generated using TypeDoc