Sets the value of the labelJsFunction property to the name of the JavaScript function.
●Layout
<horizontalAxis>
<CategoryAxis id="hAxis" categoryField="Han"
displayName="Date" labelJsFunction="labelFunc"/>
</horizontalAxis>
●Script
Parameters
id: the ID of the axis
value: the axis label of the item
function labelFunc(id, value)
{
var str = value;
var len = str.length;
var filterStr="";
for( var i=0; i < len ; i++)
{
filterStr += str.substring(i,i+1)+"\n";
}
return filterStr;
}