StiDashboardElementViewHelper Class

Namespace: Stimulsoft.Viewer.Helpers.Dashboards

Methods

Method Returns Description
applyComponentStyleToElement static void  
applyElementClickEvent static void  
format static string  
getActionColors static KeyObjectType  
getBackColor static string  
getBingMapScript static Promise  
getBorder static any  
getBorderJson static KeyObjectType  
getClickEvent static string  
getConstants static Hashtable  
getControlElementSettings static KeyObjectType  
getCornerRadius static any  
getDashboardInteractionAsync static Promise  
getDashboardWatermark static any  
getElementContentAttributesAsync static Promise  
getFont static any  
getFontJson static KeyObjectType  
getForeColor static string  
getLayout static KeyObjectType  
getShadow static any  
getTitle static Promise  
parseDashboardDrillDownParameters static void  

Method Details

applyComponentStyleToElement static

applyComponentStyleToElement(element: IStiElement): void

Parameters

  • element (IStiElement)

applyElementClickEvent static

applyElementClickEvent(report: StiReport, parameters: any): void

Parameters


format static

format(element: IStiControlElement, value: any): string

Parameters

  • element (IStiControlElement)
  • value (any)

Returns string


getActionColors static

getActionColors(element: IStiElement): KeyObjectType

Parameters

  • element (IStiElement)

Returns KeyObjectType


getBackColor static

getBackColor(element: IStiElement): string

Parameters

  • element (IStiElement)

Returns string


getBingMapScript static

getBingMapScript(element: IStiElement, showTitle: boolean): Promise

Parameters

  • element (IStiElement)
  • showTitle (boolean)

Returns Promise


getBorder static

getBorder(element: IStiElement): any

Parameters

  • element (IStiElement)

Returns any


getBorderJson static

getBorderJson(border: StiSimpleBorder): KeyObjectType

Parameters

Returns KeyObjectType


getClickEvent static

getClickEvent(element: any): string

Parameters

  • element (any)

Returns string


getConstants static

getConstants(value: string, cells: any): Hashtable

Parameters

  • value (string)
  • cells (any)

Returns Hashtable


getControlElementSettings static

getControlElementSettings(element: IStiElement): KeyObjectType

Parameters

  • element (IStiElement)

Returns KeyObjectType


getCornerRadius static

getCornerRadius(cornerRadius: StiCornerRadius): any

Parameters

  • cornerRadius (StiCornerRadius)

Returns any


getDashboardInteractionAsync static

getDashboardInteractionAsync(element: any): Promise

Parameters

  • element (any)

Returns Promise


getDashboardWatermark static

getDashboardWatermark(element: IStiElement): any

Parameters

  • element (IStiElement)

Returns any


getElementContentAttributesAsync static

getElementContentAttributesAsync(element: IStiElement, scaleX: number, scaleY: number, requestParams: any): Promise

Parameters

  • element (IStiElement)
  • scaleX (number)
  • scaleY (number)
  • requestParams (any)

Returns Promise


getFont static

getFont(element: IStiElement): any

Parameters

  • element (IStiElement)

Returns any


getFontJson static

getFontJson(font: Font): KeyObjectType

Parameters

Returns KeyObjectType


getForeColor static

getForeColor(element: IStiElement): string

Parameters

  • element (IStiElement)

Returns string


getLayout static

getLayout(element: IStiElement): KeyObjectType

Parameters

  • element (IStiElement)

Returns KeyObjectType


getShadow static

getShadow(element: IStiElement): any

Parameters

  • element (IStiElement)

Returns any


getTitle static

getTitle(element: IStiElement): Promise

Parameters

  • element (IStiElement)

Returns Promise


parseDashboardDrillDownParameters static

parseDashboardDrillDownParameters(drillDownParameters: any[], report: StiReport): void

Parameters

  • drillDownParameters (any[])
  • report (StiReport)

Fields

Field Type Description
content any  
url any  
url any  
url any