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.

62 lines (60 loc) 2.23 kB
import { BarLineScatterCandleBubbleData } from './BarLineScatterCandleBubbleData'; import { BarLineScatterCandleBubbleDataSet } from './BarLineScatterCandleBubbleDataSet'; import { BubbleData } from './BubbleData'; import { CandleData } from './CandleData'; import { ScatterData } from './ScatterData'; import { BarData } from './BarData'; import { LineData } from './LineData'; import { Entry } from './Entry'; import { ChartData } from './ChartData'; import { Highlight } from '../highlight/Highlight'; /** * Data object that allows the combination of Line-, Bar-, Scatter-, Bubble- and * CandleData. Used in the CombinedChart class. * */ export declare class CombinedData extends BarLineScatterCandleBubbleData<Entry, BarLineScatterCandleBubbleDataSet<Entry>> { lineData: LineData; barData: BarData; scatterData: ScatterData; candleData: CandleData; bubbleData: BubbleData; set data(data: LineData | BarData | ScatterData | CandleData | BubbleData); calcMinMax(): void; datasOrder: string[]; /** * Returns all data objects in row: line-bar-scatter-candle-bubble if not null. */ get datasArray(): ChartData<any, any>[]; /** * Returns all data as object. */ get datas(): { lineData: LineData; barData: BarData; scatterData: ScatterData; candleData: CandleData; bubbleData: BubbleData; }; getDataByIndex(index: any): ChartData<any, any>; notifyDataChanged(): void; /** * Get the Entry for a corresponding highlight object * * @param highlight * @return the entry that is highlighted */ getEntryForHighlight(highlight: Highlight): any; /** * Get dataset for highlight * * @param highlight current highlight * @return dataset related to highlight */ getDataSetByHighlight(highlight: Highlight): BarLineScatterCandleBubbleDataSet<any>; getDataIndex(data: ChartData<any, any>): number; removeDataSet(d: BarLineScatterCandleBubbleDataSet<any>): boolean; removeDataSetAtIndex(index: number): boolean; removeEntry(e: Entry, dataSetIndex: number): boolean; removeEntryForXValue(xValue: number, dataSetIndex: number): boolean; }