[]
Ƭ AnalysisDesignerInit: (option: AnalysisDesignerInitOptionFull) => Element
▸ (option): Element
数据模型设计器的初始化操作.
示例
const designer = GrapeCity.wyn.analysis.designer.init(option);
| 名称 | 类型 | 描述 |
|---|---|---|
option |
AnalysisDesignerInitOptionFull |
数据模型设计器初始化参数配置 |
Element
Ƭ AnalysisDesignerInitOptionCore: Object
| 名称 | 类型 |
|---|---|
documentId? |
string |
events? |
EventsOptionBase |
integrationTokenName? |
string |
showCloseButton? |
boolean |
documentId?: string
数据模型 id
示例
documentId: '1f183c3f-64f9-4b4c-ac92-cd37580bde21'
events?: EventsOptionBase
-
integrationTokenName?: string
url 集成 token 时使用的 token 参数名称 (默认为 token )
showCloseButton?: boolean
控制是否显示 关闭按钮 的标志位
示例
showCloseButton: true
Ƭ AnalysisDesignerInitOptionFull: InitOption & AnalysisDesignerInitOptionCore & { mode: AnalysisMode ; name?: string }
Ƭ CacheAnalysisDesignerInitOption: InitOptionBase & AnalysisDesignerInitOptionCore & { name?: string }
缓存数据模型设计器的初始化参数配置
Ƭ DatasetDesignerInit: (option: DatasetDesignerInitOptionFull) => Element
▸ (option): Element
数据集设计器的初始化操作
示例
const designer = GrapeCity.wyn.dataset.designer.init(option);
| 名称 | 类型 | 描述 |
|---|---|---|
option |
DatasetDesignerInitOptionFull |
数据集设计器初始化配置 |
Element
Ƭ DatasetDesignerInitOption: InitOptionBase & DatasetDesignerInitOptionCore
数据集设计器的初始化参数配置
Ƭ DatasetDesignerInitOptionCore: Object
| 名称 | 类型 |
|---|---|
documentId? |
string |
events? |
EventsOptionBase |
integrationTokenName? |
string |
showCloseButton? |
boolean |
type? |
"report" | "dashboard" |
documentId?: string
数据集 id
示例
documentId: '1f183c3f-64f9-4b4c-ac92-cd37580bde21'
events?: EventsOptionBase
-
integrationTokenName?: string
url 集成 token 时使用的 token 参数名称 (默认为 token )
示例
integrationTokenName: 'token'
showCloseButton?: boolean
控制是否显示 关闭按钮 的标志位
示例
showCloseButton: true
type?: "report" | "dashboard"
数据集使用方式类型
示例
type: 'dashboard'
Ƭ DatasetDesignerInitOptionFull: InitOption & DatasetDesignerInitOptionCore
Ƭ DatasetPreviewInitOption: InitOptionBase & DatasetPreviewInitOptionCore
数据集预览实例的初始化参数配置
Ƭ DatasetPreviewInitOptionCore: Object
| 名称 | 类型 |
|---|---|
documentId |
string |
integrationTokenName? |
string |
parameters? |
Parameters[] |
documentId: string
数据集 id
示例
documentId: '1f183c3f-64f9-4b4c-ac92-cd37580bde21'
integrationTokenName?: string
url 集成 token 时使用的 token 参数名称 (默认为 token )
parameters?: Parameters[]
数据集参数
Ƭ DatasetPreviewInitOptionFull: InitOption & DatasetPreviewInitOptionCore
Ƭ DatasourceDesignerInit: (option: DatasourceDesignerInitOptionFull) => Element
▸ (option): Element
数据源设计器的初始化操作
示例
const designer = GrapeCity.wyn.datasource.designer.init(option);
| 名称 | 类型 | 描述 |
|---|---|---|
option |
DatasourceDesignerInitOptionFull |
数据源设计器初始化参数配置 |
Element
Ƭ DatasourceDesignerInitOption: InitOptionBase & DatasourceDesignerInitOptionCore
数据源设计器的初始化配置
Ƭ DatasourceDesignerInitOptionCore: Object
| 名称 | 类型 |
|---|---|
afterClose? |
(document: any) => void |
documentId? |
string |
events? |
EventsOptionBase |
inDataset? |
boolean |
integrationTokenName? |
string |
showCloseButton? |
boolean |
afterClose?: (document: any) => void
关闭设计器后的回调函数
示例
afterDocumentSave: () => {}
documentId?: string
数据源id
示例
documentId: '1f183c3f-64f9-4b4c-ac92-cd37580bde21'
events?: EventsOptionBase
-
inDataset?: boolean
控制是否能够在数据集设计器页面中打开数据源设计器的标志位
示例
inDataset: false
integrationTokenName?: string
url 集成 token 时使用的 token 参数名称 (默认为 token )
showCloseButton?: boolean
控制是否显示 关闭按钮 的标志位
示例
showCloseButton: true
Ƭ DatasourceDesignerInitOptionFull: InitOption & DatasourceDesignerInitOptionCore
Ƭ DatasourcePreviewInit: (option: DatasourcePreviewInitOptionFull) => Element
▸ (option): Element
数据源预览实例的初始化操作
示例
const previewInstance = GrapeCity.wyn.datasource.designer.preview(option);
| 名称 | 类型 | 描述 |
|---|---|---|
option |
DatasourcePreviewInitOptionFull |
数据源预览初始化参数配置 |
Element
Ƭ DatasourcePreviewInitOption: InitOptionBase & DatasourcePreviewInitOptionCore
数据源预览实例的初始化参数配置
Ƭ DatasourcePreviewInitOptionCore: Object
| 名称 | 类型 |
|---|---|
documentId |
string |
integrationTokenName? |
string |
documentId: string
数据源 id
示例
documentId: '1f183c3f-64f9-4b4c-ac92-cd37580bde21'
integrationTokenName?: string
url 集成 token 时使用的 token 参数名称 (默认为 token )
Ƭ DatasourcePreviewInitOptionFull: InitOption & DatasourcePreviewInitOptionCore
Ƭ DestroyInstance: (element: Element) => void
▸ (element): void
释放设计器实例的占用资源
示例
GrapeCity.wyn.dataset.designer.destroy(element);
GrapeCity.wyn.dataset.preview.destroy(element);
GrapeCity.wyn.datasource.designer.destroy(element);
GrapeCity.wyn.datasource.preview.destroy(element);
GrapeCity.wyn.semanticModel.designer.destroy(element);
GrapeCity.wyn.semanticModel.selector.destroy(element);
GrapeCity.wyn.streamingDataset.designer.destroy(element);
GrapeCity.wyn.streamingDataset.preview.destroy(element);
GrapeCity.wyn.pushDataset.designer.destroy(element);
GrapeCity.wyn.pushDataset.preview.destroy(element);
GrapeCity.wyn.nativeQueryDataset.designer.destroy(element);
GrapeCity.wyn.nativeQueryDataset.preview.destroy(element);
GrapeCity.wyn.analysis.designer.destroy(element);
| 名称 | 类型 | 描述 |
|---|---|---|
element |
Element |
Resource instance |
void
Ƭ DirectAnalysisDesignerInitOption: InitOptionBase & AnalysisDesignerInitOptionCore
直连数据模型设计器的初始化参数配置
Ƭ ModelTypeSelectorOption: InitOption & { initAnalysis: () => void ; initSemantic: () => void ; integrationTokenName?: string ; showCloseButton?: boolean }
数据模型选择器的初始化参数配置
Ƭ PreviewDatasetInit: (option: DatasetPreviewInitOptionFull) => Element
▸ (option): Element
数据集预览实例的初始化操作
示例
const previewInstance = GrapeCity.wyn.dataset.designer.preview(option);
| 名称 | 类型 | 描述 |
|---|---|---|
option |
DatasetPreviewInitOptionFull |
数据集预览初始化参数配置 |
Element
Ƭ SemanticModelDesignerInit: (option: SemanticModelDesignerInitOptionFull) => Element
▸ (option): Element
语义模型设计器的初始化操作
示例
const designer = GrapeCity.wyn.semanticModel.designer.init(option);
| 名称 | 类型 | 描述 |
|---|---|---|
option |
SemanticModelDesignerInitOptionFull |
语义模型设计器初始化参数配置 |
Element
Ƭ SemanticModelDesignerInitOption: InitOptionBase & SemanticModelDesignerInitOptionCore
语义模型设计器的初始化参数配置
Ƭ SemanticModelDesignerInitOptionCore: Object
| 名称 | 类型 |
|---|---|
documentId? |
string |
events? |
EventsOptionBase |
integrationTokenName? |
string |
showCloseButton? |
boolean |
documentId?: string
语义模型 id
示例
documentId: '1f183c3f-64f9-4b4c-ac92-cd37580bde21'
events?: EventsOptionBase
-
integrationTokenName?: string
url 集成 token 时使用的 token 参数名称 (默认为 token )
showCloseButton?: boolean
控制是否显示 关闭按钮 的标志位
示例
showCloseButton: true
Ƭ SemanticModelDesignerInitOptionFull: InitOption & SemanticModelDesignerInitOptionCore
Ƭ SemanticModelSelectorInit: (option: ModelTypeSelectorOption) => Element
▸ (option): Element
语义模型选择器的初始化操作
示例
const selector = GrapeCity.wyn.semanticModel.selector.init(option);
| 名称 | 类型 | 描述 |
|---|---|---|
option |
ModelTypeSelectorOption |
语义模型选择器初始化参数配置 |
Element