Ƭ AreaSelectEvent: DataContainerEvent‹AREA_SELECT, Rect | undefined›
Ƭ AxisLabelAccessor: function
▸ (value
: number, index
: number): string
Parameters:
Ƭ DataChangeEvent: DataContainerEvent‹DATA_CHANGE›
Ƭ DataContainerEventListener: function
▸ (action
: DataContainerEvent‹T, P›): P
Parameters:
Ƭ DataContainerEvents: DataChangeEvent | GetScalesEvent | AreaSelectEvent
Ƭ DataNormalizer: function
▸ (point
: XYPoint): NormalizedXYPoint
Parameters:
Ƭ DeepPartial: object
Ƭ GetScalesEvent: DataContainerEvent‹GET_SCALES, ScaleFunctions›
Ƭ PointAccessor: function
▸ (point
: DataPoint, index
: number, series
: DataPoint[]): XYPoint
Parameters:
Ƭ SimpleOnScaleListener: function
▸ (args
: SimpleOnScaleListenerArgs): void
Parameters:
Ƭ TooltipEventHandler: function
▸ (event
: TooltipEvent): void
Parameters:
Const
TOOLTIP_EXTENSION• TOOLTIP_EXTENSION: "DataContainerTooltipExtension" = "DataContainerTooltipExtension"
Const
TRANSFORM_EXTENSION• TRANSFORM_EXTENSION: "DataContainerTransformExtension" = "DataContainerTransformExtension"
Const
VIEW_TAG• VIEW_TAG: "LineChartView" = "LineChartView"
Const
X_SCALE_BAR_OFFSET• X_SCALE_BAR_OFFSET: 0.5 = 0.5
Const
performanceResults• performanceResults: Record‹string, PerformanceResults›
Const
calculateMinLineLength▸ calculateMinLineLength(start
: number, end
: number, scale
: ScaleFunction, customMinLength?
: MinLineChartChunkLength): number
Parameters:
Returns: number
Const
defaultNormalizeData▸ defaultNormalizeData(__namedParameters
: object): object | object
Parameters:
▪ __namedParameters: object
Returns: object | object
Const
findBestMatchInSortedArray▸ findBestMatchInSortedArray‹T›(array
: T[], matcher
: function): T | undefined
Type parameters:
▪ T
Parameters:
▪ array: T[]
▪ matcher: function
▸ (element
: T): number
Parameters:
Returns: T | undefined
Const
floorToNearest▸ floorToNearest(value
: number, nearest
: number): number
Parameters:
Returns: number
Const
getContinuousNumericScale▸ getContinuousNumericScale(scaleType
: DataScaleType): ScaleContinuousNumeric‹number, number›
Parameters:
Returns: ScaleContinuousNumeric‹number, number›
Const
getPaint▸ getPaint‹P›(paint
: P, contrastPaint
: P | undefined, backgroundIsBright
: boolean): P
Type parameters:
▪ P: Paint | undefined
Parameters:
Returns: P
Const
isTupleOfNumbers▸ isTupleOfNumbers(value
: unknown): value is [number, number]
Parameters:
Returns: value is [number, number]
Const
isXYArray▸ isXYArray(data
: any): data is XYPoint‹any›[]
Parameters:
Returns: data is XYPoint‹any›[]
Const
mergeXY▸ mergeXY(x
: number[], y
: number[]): XYPoint[]
Parameters:
Returns: XYPoint[]
Const
performanceCounter▸ performanceCounter(name
: string): end
Parameters:
Returns: end
Const
precision▸ precision(a
: number): number
Parameters:
Returns: number
Const
prepareAxisPoints▸ prepareAxisPoints(axisValues
: AxisPoint[], scale
: ScaleFunction): AxisPoint[]
Parameters:
Returns: AxisPoint[]
Const
prepareAxisValues▸ prepareAxisValues(scale
: ScaleFunction, params
: AxisParameters, seriesLength
: number): AxisPoint[]
Parameters:
Returns: AxisPoint[]
Const
roundToNearest▸ roundToNearest(value
: number, nearest
: number): number
Parameters:
Returns: number
Const
segmentizePoints▸ segmentizePoints‹In, Filter, Out›(data
: XYPoint‹In›[], filterBy
: Filter): XYPoint‹Out›[][]
Type parameters:
▪ In
▪ Filter
▪ Out
Parameters:
Returns: XYPoint‹Out›[][]
Const
DEFAULT_OPTIONS▪ pan: object
pointers: number = 1
▪ scale: object
drag: true = true
listenerThreshold: number = 1
multitouch: true = true
scroll: true = true
selectArea: false = false
limit: object
x: [number, number] = [1, 1]
y: [number, number] = [1, 1]
minSelectedAreaThreshold: object
x: number = 50
y: number = 0
Const
defaultStyle• alignment: LegendAlignment = LegendAlignment.ROW
• backgroundPaint: Paint‹› = new Paint() .setLineWidth(1.5)
• barRadius: number = 0
• barWidth: number = 0.5
• borders: Rect‹› = new Rect({left: 1, right: 1, top: 1, bottom: 1 })
• innerRadius: number = 0
• isBackgroundBright: boolean = true
• labelPadding: number = 4
• labelPaint: Paint‹› = new Paint()
• padding: number = 0
• paint: Paint‹› = new Paint().setFillStyle(rgba('#FFF', 0.5)).setStrokeStyle('#FFF')
• paints: object
• type: DataDisplayType = DataDisplayType.LINE
• wrapLabelsOnEdge: boolean = true
▪ background: object
paint: Paint‹› = new Paint() .setFillStyle(rgba('#FFF', .1))
radius: number = 0
width: number = 8
▪ foreground: object
paint: Paint‹› = new Paint() .setFillStyle(rgba('#FFF', .5))
radius: number = 0
width: number = 8
▪ minChunkLength: object
domain: number = 0
Const
labelPaintOverrides• textAlign: CENTER = TextAlign.CENTER
• textBaseline: BOTTOM = TextBaseline.BOTTOM
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type |
---|---|
Name | Type | Default |
---|---|---|
Name | Type |
---|---|
Name | Type |
---|---|
value
number
index
number
action
DataContainerEvent‹T, P›
point
point
DataPoint
index
number
series
DataPoint[]
args
event
start
number
end
number
scale
customMinLength?
x
number
y
number
element
T
value
number
nearest
number
scaleType
paint
P
contrastPaint
P | undefined
backgroundIsBright
boolean
value
unknown
data
any
x
number[]
y
number[]
name
string
a
number
axisValues
scale
scale
-
params
-
seriesLength
number
10
value
number
nearest
number
data
XYPoint‹In›[]
filterBy
Filter