UNPKG

@qn-pandora/pandora-visualization

Version:

Pandora 通用可视化库

46 lines (45 loc) 1.76 kB
/// <reference types="hoist-non-react-statics" /> import React from 'react'; import { IChartDataset } from '@qn-pandora/app-sdk'; import CrossAxis from '../../../base-pandora-visualization/services/chart-style/components/cross-axis'; import { IAxisTypePanelProperty } from '../AxisTypePanel'; import { IItemProps } from '../../../components/Common/Form/Item'; import { ChartType } from '../../../constants/chart-style'; export declare const formItemLayout: { labelCol: { span: number; }; wrapperCol: { span: number; }; }; interface IYPanelContentProps extends IItemProps { dataset: IChartDataset; crossAxis: CrossAxis; metricLabel?: string; chartType?: ChartType; isMulChoices?: boolean; showProperty?: IKeyValues<boolean>; showLineYEmptyValueMode?: boolean; disabledShowFields?: string[]; } export declare class YPanelContent extends React.Component<IYPanelContentProps, any> { get scaleOptions(): { value: import("../../../constants/chart-style").AxisType; item: string; }[]; get axisProperty(): { valueMode: boolean; } | undefined; get isMultipleMode(): boolean; get yEmptyValueModes(): { value: import("../../../constants/chart-style").YEmptyValueMode; item: string; }[]; get metricOptions(): string[]; handleOnChange(value: any): void; handleCrossAxisNameChange(e: any): void; render(): React.JSX.Element; } declare const _default: React.ComponentClass<IYPanelContentProps, any> & import("hoist-non-react-statics").NonReactStatics<(React.ComponentClass<IYPanelContentProps, any> & typeof YPanelContent) | (React.FunctionComponent<IYPanelContentProps> & typeof YPanelContent), {}>; export default _default;