눈부시도록 아름다운 그래서 바라볼 수 없는


function formatLabel(value, valueString, axis){

 // let's say we dont' want minus sign next to negative numbers

 if(value < 0) {

   valueString = valueString.substr(1);

 }

 

 // and we also want a letter C to be added next to all labels (you can do it with unit, but anyway)

 valueString = valueString + "억";

 return valueString;

}




 var valueAxis = new AmCharts.ValueAxis();

valueAxis.labelFunction = formatLabel;


Posted by 휘루걸음

댓글을 달아 주세요