ChartFacet class

Extends

ResultFacet

Index

Constructors

Public Properties

Protected Properties

Public Methods

Protected Methods

Constructors


constructor

⊕ new ChartFacet(container: FacetContainer,options?: any): ChartFacet

Parameters:


Public Properties


title

● title: string = i18n.getText('Facets', 'Chart', 'FacetTitle')


Protected Properties


canDisplayFlag

● canDisplayFlag: boolean = true


chart

● chart: ChartWidget


container

● container: FacetContainer


contentDiv

● contentDiv: HTMLElement


cssPrefix

● cssPrefix: string = "eqjs-facet"


dialogTitle

● dialogTitle: string = i18n.getText('Facets', 'Chart', 'DlgTitle')


options

● options: any


settings

● settings: any


slot

● slot?: HTMLElement


Public Methods


destroy

▸ destroy(): void

Returns void


getContext

▸ getContext(): EqContext

Returns EqContext


getQuery

▸ getQuery(): Query

Returns Query


getSettings

▸ getSettings(): any

Returns any


getType

▸ getType(): FacetType

Returns FacetType


init

▸ init(slot: HTMLElement): void

Parameters:

  • slot: HTMLElement

Returns void


loadFromData

▸ loadFromData(data: any): void

Parameters:

  • data: any

Returns void


onResize

▸ onResize(): void

Returns void


refresh

▸ refresh(): void

Returns void


saveToData

▸ saveToData(): any

Returns any


showSettingsDialog

▸ showSettingsDialog(): Promise<boolean>

Returns Promise<boolean>


Protected Methods


canDisplay

▸ canDisplay(): boolean

Returns boolean


getDialogService

▸ getDialogService(): DialogService

Returns DialogService


hideUnableDisplayMessage

▸ hideUnableDisplayMessage(): void

Returns void


refreshCore

▸ refreshCore(): void

Returns void


renderDialogContent

▸ renderDialogContent(): HTMLElement

Returns HTMLElement


renderFormFields

▸ renderFormFields(form: HTMLElement,fieldsContainer: HTMLElement): void

Parameters:

  • form: HTMLElement
  • fieldsContainer: HTMLElement

Returns void


showUnableDisplayMessage

▸ showUnableDisplayMessage(message?: string): void

Parameters:

  • message: string, Optional

Returns void


submitSettingsDialog

▸ submitSettingsDialog(): boolean

Returns boolean