UNPKG

ponchojs

Version:

Poncho

37 lines (36 loc) 1.12 kB
/// <reference types="react" /> import { Options } from '../utils/TSComponent'; import { Sizes } from './Col'; interface ChartOptions { chartOptions: Record<string, unknown>; navigator: boolean; zoom: boolean; exportable: boolean; colors: string[]; backgroundColor: string; datePickerEnabled: boolean; legendField: 'title' | 'description' | 'id'; chartTypes: Record<string, unknown>; displayUnits: boolean; legendLabel: Record<string, unknown>; seriesAxis: Record<string, unknown>; chartType: string; decimalLeftAxis: number; decimalRightAxis: number; decimalTooltips: Record<string, unknown>; decimalTooltip: number; startDate: string; endDate: string; frequencySelector: boolean; aggregationSelector: boolean; unitsSelector: boolean; chartTypeSelector: boolean; } interface Props { size?: Sizes; options: { graphicUrl: string; } & Partial<ChartOptions & Options>; } export declare const Chart: import("react").MemoExoticComponent<(props: Props) => JSX.Element>; export {};