StiDashboardStyleHelper Class

Namespace: Stimulsoft.Report.Dashboard.Styles

Methods

Method Returns Description
convertToReportControlStyle static StiDialogStyle  
convertToReportGaugeStyle static StiGaugeStyle  
convertToReportIndicatorStyle static StiIndicatorStyle  
convertToReportPivotTableStyle static StiCrossTabStyle  
convertToReportProgressStyle static StiProgressStyle  
convertToReportRegionMapStyle static StiMapStyle  
getBackColor static Color  
getBackColor2 static Color  
getCardsStyle static StiCardsElementStyle  
getCardsStyle2 static StiCardsElementStyle  
getChartStyle static IStiChartStyle  
getChartStyle2 static IStiChartStyle  
getControlStyle static StiControlElementStyle  
getCopyChartStyle static StiChartStyle  
getCopyTableStyle static StiTableStyle  
getDashboardBackColor static Color  
getDataEmptyColor static Color  
getDataEmptyForeColor static Color  
getDialogSelectedBackColor static Color  
getDialogStyle static StiDialogStyle  
getElementFontFromStyle static Font  
getElementFontStyle static IStiFontStyle  
getElementTitleStyle static IStiTitleStyle  
getFont static Font  
getForeColor static Color  
getForeColor2 static Color  
getGaugeStyle static IStiGaugeStyle  
getGaugeStyle2 static IStiGaugeStyle  
getGlyphColor static Color  
getGlyphColor2 static Color  
getHotBackColor static Color  
getIconFontFamily static FontFamily  
getIndicatorStyle static StiIndicatorElementStyle  
getMapStyle static StiMapStyleFX  
getMapStyle2 static StiMapStyleFX  
getMapStyleIdent static StiMapStyleIdent  
getNativeForeColor static Color  
getPivotTableStyle static StiPivotElementStyle  
getProgressStyle static StiProgressElementStyle  
getSelectedBackColor static Color  
getSelectedForeColor static Color  
getSeparatorColor static Color  
getStyle static StiElementStyleIdent  
getStyleBackColor static Color  
getStyleForDataViewTable static StiTableElementStyle  
getStyleForeColor static Color  
getStyleHotBackColor static Color  
getTableStyle static StiTableElementStyle  
getTableStyle2 static StiTableElementStyle  
getTitleForeColor static Color  
isDarkStyle static boolean  
isDarkStyle2 static boolean  
isDarkStyle3 static boolean  

Method Details

convertToReportControlStyle static

convertToReportControlStyle(element: IStiControlElement): StiDialogStyle

Parameters

  • element (IStiControlElement)

Returns StiDialogStyle


convertToReportGaugeStyle static

convertToReportGaugeStyle(element: IStiGaugeElement): StiGaugeStyle

Parameters

  • element (IStiGaugeElement)

Returns StiGaugeStyle


convertToReportIndicatorStyle static

convertToReportIndicatorStyle(element: IStiIndicatorElement): StiIndicatorStyle

Parameters

  • element (IStiIndicatorElement)

Returns StiIndicatorStyle


convertToReportPivotTableStyle static

convertToReportPivotTableStyle(element: IStiPivotTableElement): StiCrossTabStyle

Parameters

  • element (IStiPivotTableElement)

Returns StiCrossTabStyle


convertToReportProgressStyle static

convertToReportProgressStyle(element: IStiProgressElement): StiProgressStyle

Parameters

  • element (IStiProgressElement)

Returns StiProgressStyle


convertToReportRegionMapStyle static

convertToReportRegionMapStyle(element: IStiRegionMapElement): StiMapStyle

Parameters

  • element (IStiRegionMapElement)

Returns StiMapStyle


getBackColor static

getBackColor(element: IStiElement, defaultColor: Color, allowOpacity: boolean): Color

Parameters

  • element (IStiElement)
  • defaultColor (Color)
  • allowOpacity (boolean)

Returns Color


getBackColor2 static

getBackColor2(style: StiElementStyleIdent): Color

Parameters

Returns Color


getCardsStyle static

getCardsStyle(element: IStiCardsElement): StiCardsElementStyle

Parameters

  • element (IStiCardsElement)

Returns StiCardsElementStyle


getCardsStyle2 static

getCardsStyle2(style: StiElementStyleIdent): StiCardsElementStyle

Parameters

Returns StiCardsElementStyle


getChartStyle static

getChartStyle(element: IStiChartElement): IStiChartStyle

Parameters

  • element (IStiChartElement)

Returns IStiChartStyle


getChartStyle2 static

getChartStyle2(style: StiElementStyleIdent): IStiChartStyle

Parameters

Returns IStiChartStyle


getControlStyle static

getControlStyle(element: IStiElement): StiControlElementStyle

Parameters

  • element (IStiElement)

Returns StiControlElementStyle


getCopyChartStyle static

getCopyChartStyle(chartStyle: IStiChartStyle, element: IStiChartElement): StiChartStyle

Parameters

  • chartStyle (IStiChartStyle)
  • element (IStiChartElement)

Returns StiChartStyle


getCopyTableStyle static

getCopyTableStyle(tableStyle: StiTableElementStyle): StiTableStyle

Parameters

  • tableStyle (StiTableElementStyle)

Returns StiTableStyle


getDashboardBackColor static

getDashboardBackColor(dashboard: IStiDashboard, isViewer: boolean): Color

Parameters

  • dashboard (IStiDashboard)
  • isViewer (boolean)

Returns Color


getDataEmptyColor static

getDataEmptyColor(element: IStiElement): Color

Parameters

  • element (IStiElement)

Returns Color


getDataEmptyForeColor static

getDataEmptyForeColor(element: IStiElement): Color

Parameters

  • element (IStiElement)

Returns Color


getDialogSelectedBackColor static

getDialogSelectedBackColor(element: any): Color

Parameters

  • element (any)

Returns Color


getDialogStyle static

getDialogStyle(element: any): StiDialogStyle

Parameters

  • element (any)

Returns StiDialogStyle


getElementFontFromStyle static

getElementFontFromStyle(element: any, defaultFont: Font): Font

Parameters

  • element (any)
  • defaultFont (Font)

Returns Font


getElementFontStyle static

getElementFontStyle(element: any): IStiFontStyle

Parameters

  • element (any)

Returns IStiFontStyle


getElementTitleStyle static

getElementTitleStyle(element: IStiElement): IStiTitleStyle

Parameters

  • element (IStiElement)

Returns IStiTitleStyle


getFont static

getFont(element: any): Font

Parameters

  • element (any)

Returns Font


getForeColor static

getForeColor(element: IStiElement, defaultColor: Color): Color

Parameters

  • element (IStiElement)
  • defaultColor (Color)

Returns Color


getForeColor2 static

getForeColor2(ident: StiElementStyleIdent): Color

Parameters

Returns Color


getGaugeStyle static

getGaugeStyle(element: IStiGaugeElement): IStiGaugeStyle

Parameters

  • element (IStiGaugeElement)

Returns IStiGaugeStyle


getGaugeStyle2 static

getGaugeStyle2(style: StiElementStyleIdent): IStiGaugeStyle

Parameters

Returns IStiGaugeStyle


getGlyphColor static

getGlyphColor(element: IStiIndicatorElement): Color

Parameters

  • element (IStiIndicatorElement)

Returns Color


getGlyphColor2 static

getGlyphColor2(element: IStiControlElement): Color

Parameters

  • element (IStiControlElement)

Returns Color


getHotBackColor static

getHotBackColor(element: IStiElement): Color

Parameters

  • element (IStiElement)

Returns Color


getIconFontFamily static

getIconFontFamily(): FontFamily

Returns FontFamily


getIndicatorStyle static

getIndicatorStyle(element: IStiIndicatorElement): StiIndicatorElementStyle

Parameters

  • element (IStiIndicatorElement)

Returns StiIndicatorElementStyle


getMapStyle static

getMapStyle(element: IStiRegionMapElement): StiMapStyleFX

Parameters

  • element (IStiRegionMapElement)

Returns StiMapStyleFX


getMapStyle2 static

getMapStyle2(style: StiElementStyleIdent): StiMapStyleFX

Parameters

Returns StiMapStyleFX


getMapStyleIdent static

getMapStyleIdent(element: IStiRegionMapElement): StiMapStyleIdent

Parameters

  • element (IStiRegionMapElement)

Returns StiMapStyleIdent


getNativeForeColor static

getNativeForeColor(element: IStiElement): Color

Parameters

  • element (IStiElement)

Returns Color


getPivotTableStyle static

getPivotTableStyle(element: IStiPivotTableElement): StiPivotElementStyle

Parameters

  • element (IStiPivotTableElement)

Returns StiPivotElementStyle


getProgressStyle static

getProgressStyle(element: IStiProgressElement): StiProgressElementStyle

Parameters

  • element (IStiProgressElement)

Returns StiProgressElementStyle


getSelectedBackColor static

getSelectedBackColor(element: IStiControlElement): Color

Parameters

  • element (IStiControlElement)

Returns Color


getSelectedForeColor static

getSelectedForeColor(element: IStiControlElement): Color

Parameters

  • element (IStiControlElement)

Returns Color


getSeparatorColor static

getSeparatorColor(element: IStiControlElement): Color

Parameters

  • element (IStiControlElement)

Returns Color


getStyle static

getStyle(element: IStiElement): StiElementStyleIdent

Parameters

  • element (IStiElement)

Returns StiElementStyleIdent


getStyleBackColor static

getStyleBackColor(element: IStiElement): Color

Parameters

  • element (IStiElement)

Returns Color


getStyleForDataViewTable static

getStyleForDataViewTable(element: IStiElement): StiTableElementStyle

Parameters

  • element (IStiElement)

Returns StiTableElementStyle


getStyleForeColor static

getStyleForeColor(element: IStiElement): Color

Parameters

  • element (IStiElement)

Returns Color


getStyleHotBackColor static

getStyleHotBackColor(element: IStiElement): Color

Parameters

  • element (IStiElement)

Returns Color


getTableStyle static

getTableStyle(element: IStiTableElement): StiTableElementStyle

Parameters

  • element (IStiTableElement)

Returns StiTableElementStyle


getTableStyle2 static

getTableStyle2(style: StiElementStyleIdent): StiTableElementStyle

Parameters

Returns StiTableElementStyle


getTitleForeColor static

getTitleForeColor(element: IStiElement): Color

Parameters

  • element (IStiElement)

Returns Color


isDarkStyle static

isDarkStyle(dashboard: IStiDashboard): boolean

Parameters

  • dashboard (IStiDashboard)

Returns boolean


isDarkStyle2 static

isDarkStyle2(ident: StiElementStyleIdent): boolean

Parameters

Returns boolean


isDarkStyle3 static

isDarkStyle3(element: IStiElement): boolean

Parameters

  • element (IStiElement)

Returns boolean

Fields

Field Type Description
accentColor any  
brushToGetAccentFrom any  
brushToGetAccentFrom any  
brushToGetAccentFrom any  
defaultFont any  
gaugeStyle any  
gaugeStyle any  
gaugeStyle any  
ident any  
mapStyle any  
mapStyle any  
mapStyle any  
tableStyle any  
tableStyle any  
tableStyle any  
tableStyle any  
tableStyle any  
tableStyle any  
tableStyle any  
tableStyle any  
tableStyle any  
tableStyle any  
tableStyle any  
tableStyle any  
tableStyle any  
tableStyle any  
tableStyle any  
tableStyle any