Contourplot 云图组件
何时使用
当需要云图功能时,可以使用该组件。
代码演示
基本使用
API
| 属性 | 说明 | 类型 | 默认值 | 
|---|---|---|---|
| id | 组件的唯一标识符 | number | - | 
| isOpen | 是否打开 | boolean | false | 
| 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;
};