Copyright(C) 2005 Cafen.net All right reserved. Contact HP (010-9761-4025) / email(outmind@nate.com)  
Cafen.net OpenAPI
Friendly Used by
IE < 6.0, IE 5.5
FireFox
Google Chrome
Safari
Flock
Opera
Samples
- rainEditor
- rainMap
- rainGraph
- openAPI Search
References
- rainEditor
- rainMap
- rainGraph
- openAPI Search
The Last Tails
Visitors Statistics
Site | Page
openAPI Use Statistics
Editor | Map | Others
rainOFCJS Reference
Script URL Code
rainGraph
Constructor
Constructor Description
rainGraph(w, h) 그래프 생성 객체 (w :기본 가로폭, h: 기본 높이)
Methods
Method Return Value Description
render(obj) void 래인 그래프 랜드링 obj : div id or object
renderElement(obj,...) void render 의 별칭
renderElementsByClassName(className) void class name 에 의한 랜드링
renderElementsById(id) void id 에 의한 랜드링
renderElementsByName(name) void name 에 의한 랜드링
Attribute of Div Child TAG
Tag Key Value Description
ctitle text String 타이틀 Text
  cstyle String 타이틀 스타일
csize width Number 그래프 가로크기(pixel 단위)
- height Number 그래프 세로크기(pixel 단위)
cyformat data String Y 축 형태
cnumdecimals data Number 배정도
cisfixednumdecimalsforced data Boolean 배정도 강제 실행 여부
cisdecimalseparatorcomma data Boolean 숫자에 , 넣기 여부
cisthousandseparatordisabled data Boolean 천의 자리 구분자 사용여부
cdata data String 그래프 데이타 각각의 값은 , 로 구분
clinks data String 각각의 데이타에 적용할 링크값
cxoffset data Number X 축 Offset
ctooltip data String 툴팁 설정(마우스 over 시 사용)
cxlabels data String X 축 라벨 설정 , 로 구분
cxlabelstyle size String X 축 라벨 스타일 - 크기
- color String X 축 라벨 스타일 - 색상
- orientation Number X 축 라벨 스타일 - 방향
- step Number X 축 라벨 스타일 - STEP
- gridcolor String X 축 라벨 스타일 - 그리드 색상
cbgcolor data String 차트 배경 색상
cbgimage data String 차트 배경 이미지 - 경로
- x String 차트 배경 이미지 - X 축 정열(center, left, right)
- y String 차트 배경 이미지 - Y 축 정열(center, top, bottom)
cyrightaxis data String Y 축 오른쪽 라벨 , 로 구분
cinnerbackground data String 차트 그래프 안쪽 영역 색상
cylabelstyle data String Y 축 라벨 , 로구분
- size Number Y 축 라벨 - 글자 크기
- color String Y 축 라벨 - 글자 색상
cyrightlabelstyle size Number Y 오른쪽 축 라벨 - 글자 크기
- color String Y 오른쪽 축 라벨 - 글자 색상
cxmax data Number X 축 최대값
cxmin data Number X 축 최소값
cymax data Number Y 축 최대값
cymin data Number Y 축 최소값
cyrightmax data Number Y 오른쪽 축 최대값
cyrightmin data Number Y 오른쪽 최소값
cylabelsteps data Number Y 축 Step
cxlegend data String X 축 레전드 - 문자
- size Number X 축 레전드 - 글자크기
- color String X 축 레전드 - 글자색상
cxticksize data Number X 축 Tick 크기
cxaxissteps data Number X 축 Step
cxaxis3d data Number X 축 3D 효과 크기
cylegend data String Y 축 레전드 - 문자
- size Number Y 축 레전드 - 글자크기
- color String Y 축 레전드 - 글자색상
cyrightlegend data String Y 오른쪽 축 레전드 - 문자
- size Number Y 오른쪽 축 레전드 - 글자크기
- color String Y 오른쪽 축 레전드 - 글자색상
cxaxiscolour data String X 축 라인 색상
- grid String X 축 가이드 라인 색상
cyaxiscolour data String Y 축 라인 색상
- grid String Y 축 가이드 라인 색상
cyrightaxiscolour data String Y 오른쪽 축 라인 색상
cline width,color,size,text,circles Mixed 라인 그래프
clinedot width,dotsize,color,text,size Mixed 점 라인 그래프
clinehollow width,dotsize,color,text,size Mixed 점 라인 그래프
careahollow width,dotsize,color,text,size,alpha,fillcolor Mixed 하단 채우기그래프
cbar alpha,color,size,text Mixed 바 그래프
cbarfilled alpha,color,size,text,outline Mixed 채워진 바 그래프
cbarsketch width,color,size,text,circles Mixed 바 스케치드 그래프
cbar3d alpha,color,size,text Mixed 3D 그래프
cbarglass alpha,color,size,text Mixed 글래스 그래프
cbarfade alpha,color,size,text Mixed 페이드 그래프
ccandle alpha,color,size,text Mixed 캔들 그래프
chlc alpha,color,size,text Mixed 하이,로우 그래프
cscatter width,color,size,text Mixed 분산 그래프
cpie alpha,color,cstyle,gradient,width Mixed 파이 그래프
cpievalues data,text,link Mixed 파이 그래프 데이타
cpieslicecolours data Mixed 파이 그래프 색상
cvalue data,x,y,size,high,low,open,close Mixed 현재 설정된 그래프의 값
graph
Constructor
Constructor Description
graph(w, h) 그래프 생성 객체 (w :기본 가로폭, h: 기본 높이)
Methods
Method Return Value Description
set_clear(w,h) void 데이타 초기화
set_width(w) void 그래프 가로 지정
set_height(h) void 그래프 세로 지정
set_data(data) void 그래프 데이타 지정
set_links(data) void 데이타 링크 지정
set_tool_tip(str) void 툴팁 지정
set_bg_colour(str) void 배경 색상 지정
set_bg_image(str, x, y) void 배경 이미지 지정
set_inner_background(str) void 그래프 안쪽 색상 지정
set_x_max(str) void X 축 최대값지정
set_x_min(str) void X 축 최소값지정
line(width, colour, text , size , circles) void 데이타를 라인 그래프로 설정
render(id) void 현재의 데이타로 그래프 표시 id : 그래프가 보여줄 div 영역의 id 혹은 object
rainTails by Page
Copyright(C)2005 Cafen.net. All right reserved. TEL: 010-9761-4025 / E-mail: outmind@cafen.net