RealGrid2 API
Interface
SignalBarCellRenderer

SignalBarCellRenderer

셀 값을 신호세기로 표시하는 렌더러

Signature:

export interface SignalBarCellRenderer extends CellRenderer 

Extends: CellRenderer

Remarks

주어진 범위 내에서 값이 위치한 곳을 신호세기 형태로 표시한다.

mininum과 maxinum이 주어지지 않으면 0부터 barCount까지가 범위이다.

[상위 클래스]

CellRenderer

Example

// string type
column.renderer = 'signalbar';
 
// object type
let column.renderer = {
     "type": "signalbar",
     "barCount": 5
}

Properties

PropertyModifiersTypeDescription
absoluteValueboolean절대값으로 그릴지의 여부
barCountnumber바의 총 갯수
barStylestring신호세기를 보여주는 바의 스타일 명
endRatenumber셀과 비교했을 때 끝 바의 높이 비율
inactiveStylestring값보다 큰 범위에 적용되는 스타일 명
maximumnumber바로 표현할 수 있는 최대값
minimumnumber바로 표현할 수 있는 최소값
startRatenumber셀과 비교했을 때 시작 바의 높이 비율
type'signalbar'종류: 시그널 바

Properties Desc

absoluteValue

절대값으로 그릴지의 여부

barCount

바의 총 갯수

barStyle

신호세기를 보여주는 바의 스타일 명

endRate

셀과 비교했을 때 끝 바의 높이 비율

inactiveStyle

값보다 큰 범위에 적용되는 스타일 명

maximum

바로 표현할 수 있는 최대값

Remarks:

minimum과 같이 사용해야 한다.

예를 들어, minimum이 50, maximum 이 150 이면, 50부터 150 사이에 값이 위치한 곳까지 barStyle로 표시되고 값보다 큰 범위는 inactiveStyle로 표시된다.

minimum

바로 표현할 수 있는 최소값

Remarks:

maximum과 같이 사용해야 한다.

예를 들어, minimum이 50, maximum 이 150 이면, 50부터 150 사이에 값이 위치한 곳까지 barStyle로 표시되고 값보다 큰 범위는 inactiveStyle로 표시된다.

startRate

셀과 비교했을 때 시작 바의 높이 비율

type

종류: 시그널 바