UNPKG

@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.

48 lines (47 loc) 1.7 kB
import { Color } from '@nativescript/core/color'; import { BarLineScatterCandleBubbleDataSet } from './BarLineScatterCandleBubbleDataSet'; import { BarEntry } from './BarEntry'; import { IBarDataSet } from '../interfaces/datasets/IBarDataSet'; export declare class BarDataSet extends BarLineScatterCandleBubbleDataSet<BarEntry> implements IBarDataSet { /** * the maximum number of bars that are stacked upon each other, this value * is calculated from the Entries that are added to the DataSet */ private mStackSize; /** * the color used for drawing the bar shadows */ barShadowColor: string | Color; /** * Sets the width used for drawing borders around the bars. * If borderWidth === 0, no border will be drawn. */ barBorderWidth: number; /** * Sets the color drawing borders around the bars. */ barBorderColor: string | Color; /** * the alpha value used to draw the highlight indicator bar */ highLightAlpha: number; /** * the overall entry count, including counting each stack-value individually */ private mEntryCountStacks; /** * array of labels used to describe the different values of the stacked bars */ stackLabels: string[]; constructor(values: any, label: any, xProperty?: any, yProperty?: any); private calcEntryRanges; protected initEntryData(e: BarEntry): void; protected calcMinMaxForEntry(e?: BarEntry, index?: number): void; get stackSize(): number; get stacked(): boolean; /** * returns the overall entry count, including counting each stack-value * individually */ get entryCountStacks(): number; }