public String encode ( ) throws IOException { FastStringWriter fsw = new FastStringWriter ( ) ; try { ChartUtils . writeDataValue ( fsw , "tension" , this . tension , false ) ; ChartUtils . writeDataValue ( fsw , "backgroundColor" , this . backgroundColor , true ) ; ChartUtils . writeDataValue ( fsw , "borderWidth" , this . borderWidth , true ) ; ChartUtils . writeDataValue ( fsw , "borderColor" , this . borderColor , true ) ; ChartUtils . writeDataValue ( fsw , "borderCapStyle" , this . borderCapStyle , true ) ; ChartUtils . writeDataValue ( fsw , "borderDash" , this . borderDash , true ) ; ChartUtils . writeDataValue ( fsw , "borderDashOffset" , this . borderDashOffset , true ) ; ChartUtils . writeDataValue ( fsw , "borderJoinStyle" , this . borderJoinStyle , true ) ; ChartUtils . writeDataValue ( fsw , "capBezierPoints" , this . capBezierPoints , true ) ; ChartUtils . writeDataValue ( fsw , "fill" , this . fill , true ) ; ChartUtils . writeDataValue ( fsw , "stepped" , this . stepped , true ) ; } finally { fsw . close ( ) ; } return fsw . toString ( ) ; }
Write the line options of Elements