Package | kor.elements |
Class | public class WingGridLines |
차트 축의 모든 tick을 기준으로 그리게 됩니다. 추가로 차트 데이터 영역 안쪽 중앙에 각각 세로, 가로선을 그을 수 있습니다.
차트 컨트롤의 backgroundElements
속성 또는 annotationElements
속성 값으로 이 클래스의
인스턴스를 할당하십시오.
<WingGridLines>
는 기본적으로 parent classes 의 모든 properties
를 상속받으며 아래의 properties 를 추가로 갖습니다.
레이아웃은 아래와 같이 작성하십시오.
<rMateChart backgroundColor="0xFFFFFF" cornerRadius="12" borderStyle="solid"> <Bar2DWingChart> <verticalAxis> <CategoryAxis categoryField="Month"/> </verticalAxis> <series> <Bar2DWingSeries xField="Profit"> <showDataEffect> <WingSeriesInterpolate/> </showDataEffect> </Bar2DWingSeries> </series> <backgroundElements> <GridLines direction="both" verticalChangeCount="1" horizontalChangeCount="1"> <horizontalStroke> <Stroke color="0x999999" alpha="0.5" weight="1"/> <!-- color:색깔 alpha:투명도 weight:굵기 --> </horizontalStroke> <horizontalFill> <SolidColor color="0xEEEEEE" alpha="0.5"/> <!-- color:색깔 alpha:투명도 --> </horizontalFill> <horizontalAlternateFill> <SolidColor color="0xFFFFFF" alpha="0.5"/> <!-- color:색깔 alpha:투명도 --> </horizontalAlternateFill> <verticalStroke> <Stroke color="0x999999" alpha="0.5" weight="1"/> </verticalStroke> <verticalFill> <SolidColor color="0xFFFFFF" alpha="0.5"/> </verticalFill> <verticalAlternateFill> <SolidColor color="0xEEEEEE" alpha="0.5"/> </verticalAlternateFill> <horizontalOriginStroke> <Stroke color="0x999999" alpha="0" weight="1"/> </horizontalOriginStroke> </GridLines> </backgroundElements> </Bar2DWingChart> </rMateChart>