跳到主要内容

Contourplot 云图组件

何时使用​

当需要云图功能时,可以使用该组件。

代码演示​

基本使用​

API​

属性说明类型默认值
id组件的唯一标识符number-
isOpen是否打开booleanfalse
parameter云图参数ContourplotParameter-
parameterOptions云图参数选项ContourplotParameterOptions-
onConfirm确认回调(parameter: ContourplotParameter) => void-
onClose关闭回调() => void-

ContourplotParameter​

type ContourplotParameter = {
source: string;
parameter: string;
opacity: number;
};

ContourplotParameterOptions​

type ContourplotParameterOptions = {
source?: SelectOptionProps;
parameter?: SelectOptionProps;
opacity?: SliderInputProps;
};