@nativescript-community/ui-chart
Version:
A powerful chart / graph plugin, supporting line, bar, pie, radar, bubble, and candlestick charts as well as scaling, panning and animations.
31 lines (30 loc) • 1.28 kB
TypeScript
import { Canvas, Paint, Path } from '@nativescript-community/ui-canvas';
import { Color, ImageSource } from '@nativescript/core';
import { ChartAnimator } from '../animation/ChartAnimator';
import { ViewPortHandler } from '../utils/ViewPortHandler';
import { LineScatterCandleRadarRenderer } from './LineScatterCandleRadarRenderer';
/**
* Created by Philipp Jahoda on 25/01/16.
*/
export declare abstract class LineRadarRenderer extends LineScatterCandleRadarRenderer {
constructor(animator: ChartAnimator, viewPortHandler: ViewPortHandler);
/**
* Draws the provided path in filled mode with the provided drawable.
*
* @param c
* @param filledPath
* @param drawable
*/
protected drawFilledPathBitmap(c: Canvas, filledPath: Path, drawable: ImageSource, shader: any): void;
drawPath(canvas: Canvas, path: Path, paint: Paint): void;
/**
* Draws the provided path in filled mode with the provided color and alpha.
* Special thanks to Angelo Suzuki (https://github.com/tinsukE) for this.
*
* @param c
* @param filledPath
* @param fillColor
* @param fillAlpha
*/
protected drawFilledPath(c: Canvas, filledPath: Path, fillColor: Color | string, fillAlpha?: number, shader?: any): void;
}