Class StiDataBarsCellPainter
Methods
Static calculateDataBarsRect
Static draw
- draw(writer: StiSvgGeomWriter, rect: RectangleD, table: StiTableElement, rowValues: any[], columnKeys: any[], column: StiTableColumn, zoom: number, value: number, min: number, max: number, isInterlaced: boolean, isSelected: boolean, drawText?: boolean, direction?: StiDataBarsDirection, brushType?: StiDataBarsBrushType): Promise<void>
-
Parameters
-
-
-
-
rowValues: any[]
-
columnKeys: any[]
-
-
zoom: number
-
value: number
-
min: number
-
max: number
-
isInterlaced: boolean
-
isSelected: boolean
-
Default value drawText: boolean = true
-
Default value direction: StiDataBarsDirection = StiDataBarsDirection.LeftToRight
-
Default value brushType: StiDataBarsBrushType = StiDataBarsBrushType.Solid
Returns Promise<void>
Static draw2
- draw2(writer: StiSvgGeomWriter, rect: RectangleD, value: number, min: number, max: number, zoom: number, text: string, table: StiTableElement, rowValues: any[], columnKeys: any[], column: StiTableColumn, isInterlaced: boolean, isSelected: boolean, drawText?: boolean, direction?: StiDataBarsDirection, brushType?: StiDataBarsBrushType): Promise<void>
-
Parameters
-
-
-
value: number
-
min: number
-
max: number
-
zoom: number
-
text: string
-
-
rowValues: any[]
-
columnKeys: any[]
-
-
isInterlaced: boolean
-
isSelected: boolean
-
Default value drawText: boolean = true
-
Default value direction: StiDataBarsDirection = StiDataBarsDirection.LeftToRight
-
Default value brushType: StiDataBarsBrushType = StiDataBarsBrushType.Solid
Returns Promise<void>
Static getForeColor
-
Parameters
-
-
-
-
isInterlaced: boolean
-
isSelected: boolean