@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.
34 lines (33 loc) • 1.17 kB
TypeScript
import { Canvas, RectF } from '@nativescript-community/ui-canvas';
import { YAxisRenderer } from './YAxisRenderer';
export declare class YAxisRendererHorizontalBarChart extends YAxisRenderer {
/**
* Computes the axis values.
*
* @param yMin - the minimum y-value in the data object for this axis
* @param yMax - the maximum y-value in the data object for this axis
*/
computeAxis(yMin: any, yMax: any, inverted: any): void;
/**
* draws the y-axis labels to the screen
*/
renderAxisLabels(c: Canvas): void;
renderAxisLine(c: Canvas): void;
/**
* draws the y-labels on the specified x-position
*
* @param fixedPosition
* @param positions
*/
protected drawYLabels(c: Canvas, fixedPosition: any, positions: any, offset: any): void;
protected getTransformedPositions(): number[];
getGridClippingRect(): RectF;
protected drawZeroLine(c: Canvas): void;
/**
* Draws the LimitLines associated with this axis to the screen.
* This is the standard XAxis renderer using the YAxis limit lines.
*
* @param c
*/
renderLimitLines(c: Canvas): void;
}