StiCardsVisual Class

Namespace: Stimulsoft.Dashboard.Visuals.Cards

Inheritance

Inherits from: StiVisual

Constructors

Constructor Description
StiCardsVisual(StiCardsElement element, StiDataTable dataTable)  

StiCardsVisual(element: StiCardsElement, dataTable: StiDataTable)

Parameters

Properties

Property Type Description
DataTable StiDataTable  
Element StiCardsElement  
Style StiCardsElementStyle  

Methods

Method Returns Description
Draw void Draws a visual object on specified context and at specified location.
DrawEmptyData void  
GetColor Color  
GetStyleColor Color  
MeasureBubbleCell SizeF  
MeasureDataBarsCell SizeF  
MeasureIndicatorCell static SizeF  
MeasureSparklinesCell static SizeF  
ProcessColumnsWithTopN List<object[]>  
UnionRectangles static RectangleD  
ZoomAndMoveUp static List<RectangleD>  

Method Details

Draw

Draw(context: StiContext, rect: RectangleF): void

Draws a visual object on specified context and at specified location.

Parameters


DrawEmptyData

DrawEmptyData(g: Graphics, rect: RectangleF): void

Parameters


GetColor

GetColor(index: int): Color

Parameters

  • index (int)

Returns Color


GetStyleColor

GetStyleColor(index: int): Color

Parameters

  • index (int)

Returns Color


MeasureBubbleCell

MeasureBubbleCell(context: StiContext, cards: StiCardsElement, column: StiCardsColumn, rowValue: object, zoom: float): SizeF

Parameters

  • context (StiContext)
  • cards (StiCardsElement)
  • column (StiCardsColumn)
  • rowValue (object)
  • zoom (float)

Returns SizeF


MeasureDataBarsCell

MeasureDataBarsCell(context: StiContext, cards: StiCardsElement, column: StiCardsColumn, rowValue: object, zoom: float): SizeF

Parameters

  • context (StiContext)
  • cards (StiCardsElement)
  • column (StiCardsColumn)
  • rowValue (object)
  • zoom (float)

Returns SizeF


MeasureIndicatorCell static

MeasureIndicatorCell(context: StiContext, cards: StiCardsElement, column: StiCardsColumn, rowValue: object, zoom: float): SizeF

Parameters

  • context (StiContext)
  • cards (StiCardsElement)
  • column (StiCardsColumn)
  • rowValue (object)
  • zoom (float)

Returns SizeF


MeasureSparklinesCell static

MeasureSparklinesCell(sparklinesCardsColumn: StiSparklinesCardsColumn, zoom: float): SizeF

Parameters

  • sparklinesCardsColumn (StiSparklinesCardsColumn)
  • zoom (float)

Returns SizeF


ProcessColumnsWithTopN

ProcessColumnsWithTopN(columns: List): List<object[]>

Parameters

  • columns (List)

Returns List<object[]>


UnionRectangles static

UnionRectangles(rectangles: List<RectangleD>): RectangleD

Parameters

Returns RectangleD


ZoomAndMoveUp static

ZoomAndMoveUp(rectangles: List<RectangleD>, zoomHeight: double): List<RectangleD>

Parameters

  • rectangles (List<RectangleD>)
  • zoomHeight (double)

Returns List<RectangleD>