UNPKG

@qn-pandora/pandora-visualization

Version:

Pandora 通用可视化库

30 lines (29 loc) 1.21 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 { ChartType } from '../../../constants/chart-style'; export declare const formItemLayout: { labelCol: { span: number; }; wrapperCol: { span: number; }; }; interface IYPanelContentProps { dataset: IChartDataset; crossAxis: CrossAxis; metricLabel?: string; metricLabelLine?: string; chartType?: ChartType; } export declare class YPanelTwoMetricsContent extends React.Component<IYPanelContentProps, any> { get metricOptions(): string[]; handleOnChangeMain(value: any): void; handleOnChangeSub(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 YPanelTwoMetricsContent) | (React.FunctionComponent<IYPanelContentProps> & typeof YPanelTwoMetricsContent), {}>; export default _default;