Lumen ChartsLumen Charts
Api

IExternalSaveLoadAdapter

Download Markdown

Integration guide ยท Reference index

Public contract reference. This declaration describes types and callback shapes; availability is constrained by the linked integration guide and the runtime capability. Legacy product-specific fields are not a promise of implementation.

getAllCharts

getAllCharts(): Promise<ChartMetaInfo[]>;

Use the type signature above and the integration guide for the owning capability.

removeChart

removeChart<T extends number | string>(id: T): Promise<void>;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
idTYes

saveChart

saveChart(chartData: ChartData): Promise<string>;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
chartDataChartDataYes

getChartContent

getChartContent(chartId: number): Promise<string>;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
chartIdnumberYes

getAllStudyTemplates

getAllStudyTemplates(): Promise<StudyTemplateMetaInfo[]>;

Use the type signature above and the integration guide for the owning capability.

removeStudyTemplate

removeStudyTemplate(studyTemplateInfo: StudyTemplateMetaInfo): Promise<void>;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
studyTemplateInfoStudyTemplateMetaInfoYes

saveStudyTemplate

saveStudyTemplate(studyTemplateData: StudyTemplateData): Promise<void>;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
studyTemplateDataStudyTemplateDataYes

getStudyTemplateContent

getStudyTemplateContent(
    studyTemplateInfo: StudyTemplateMetaInfo,
  ): Promise<string>;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
studyTemplateInfoStudyTemplateMetaInfoYes

getDrawingTemplates

getDrawingTemplates(toolName: string): Promise<string[]>;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
toolNamestringYes

loadDrawingTemplate

loadDrawingTemplate(toolName: string, templateName: string): Promise<string>;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
toolNamestringYes
templateNamestringYes

removeDrawingTemplate

removeDrawingTemplate(toolName: string, templateName: string): Promise<void>;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
toolNamestringYes
templateNamestringYes

saveDrawingTemplate

saveDrawingTemplate(
    toolName: string,
    templateName: string,
    content: string,
  ): Promise<void>;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
toolNamestringYes
templateNamestringYes
contentstringYes

getChartTemplateContent

getChartTemplateContent(templateName: string): Promise<ChartTemplate>;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
templateNamestringYes

getAllChartTemplates

getAllChartTemplates(): Promise<string[]>;

Use the type signature above and the integration guide for the owning capability.

saveChartTemplate

saveChartTemplate(
    newName: string,
    theme: ChartTemplateContent,
  ): Promise<void>;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
newNamestringYes
themeChartTemplateContentYes

removeChartTemplate

removeChartTemplate(templateName: string): Promise<void>;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
templateNamestringYes

saveLineToolsAndGroups

saveLineToolsAndGroups(
    layoutId: string | undefined,
    chartId: string | number,
    state: LineToolsAndGroupsState,
  ): Promise<void>;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
layoutIdstring &#124; undefinedYes
chartIdstring &#124; numberYes
stateLineToolsAndGroupsStateYes

loadLineToolsAndGroups

loadLineToolsAndGroups(
    layoutId: string | undefined,
    chartId: string | number,
    requestType: LineToolsAndGroupsLoadRequestType,
    requestContext: LineToolsAndGroupsLoadRequestContext,
  ): Promise<Partial<LineToolsAndGroupsState> | null>;

Use the type signature above and the integration guide for the owning capability.

ParameterTypeRequired
layoutIdstring &#124; undefinedYes
chartIdstring &#124; numberYes
requestTypeLineToolsAndGroupsLoadRequestTypeYes
requestContextLineToolsAndGroupsLoadRequestContextYes

On this page