Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

x, y축 텍스트 포매터가 필요할 것 같습니다 #5

iamdenny opened this Issue Apr 3, 2013 · 1 comment


None yet
1 participant

iamdenny commented Apr 3, 2013

x, y축 텍스트 포매터가 필요할 것 같습니다

@ghost ghost assigned iamdenny Apr 3, 2013


iamdenny commented Apr 3, 2013

초기 옵션 셋팅시
'fXAxisFormat' : function(nXStep, i){
var nMilliseconds = (nXStep * i + this._nXMin),
sDate = new Date(nMilliseconds).toString("HH:mm");
return sDate;
'fYAxisFormat' : function(nYStep, i){
return this._addComma((this._nYMax + this._nYMin) - ((nYStep*i) + this._nYMin));

이렇게 넣으시면 되고,

중간에 변동시에는
oBigScatterChart.option('fXAxisFormat', function(nXStep, i){ // custom // });
이렇게 하시면 됩니다.

@iamdenny iamdenny closed this Apr 3, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment