RealGrid2 API
Interface
ActualTargetBulletRenderer

ActualTargetBulletRenderer

Series renderer that compares and displays the target value (or expected value) stored in two data fields and the execution value.

Bullet renderer displays the target value as a vertical bar and the execution value as a horizontal bar.

Can only be used in SeriesColumn.

[Superclass]

CellRenderer

Signature:

export interface ActualTargetBulletRenderer extends CellRenderer

Extends: CellRenderer

Example

columns = [
 "target",
    "actual",
    {
        name: "actualtargetText",
        type: "series",
        fieldNames: 'target,actual',
        renderer: {
            type: "actualtargetbullet"
        }
    }
]

Properties

PropertyTypeDescription
actualHeightnumber | stringSpecifies the height of actualBar.
actualStylestringstyle class name of actualBar
backgroundStylestringstyle class name of background
maxValuenumbermaximum value
minValuenumberMinimum
strokeWidthnumberSpecifies the width of the actualBar border.
targetStylestringstyle class name of targetBar
targetWidthnumberSpecifies the width of targetBar.
type"actualtargetbullet"Type: Achievements/Goals bullet Renderer

Properties Desc

actualHeight

Specifies the height of actualBar.

Type - number | string

Remarks:

Enter in ‘px’ or ‘%’ units.


actualStyle

Style class name of actualBar

Type - string


backgroundStyle

style class name for background

Type - string


maxValue

maximum value

Type - number


minValue

minimum value

Type - number


strokeWidth

Specifies the width of the actualBar border.

Type - number

Remarks:

Enter the width / 2 of the stroke specified in actualStyle.


targetStyle

style class name of targetBar

Type - string


targetWidth

Specifies the width of targetBar.

Type - number


type

Type: Achievements/Goals bullet Renderer

Type - "actualtargetbullet"