@ Override public String encode ( ) throws IOException { FastStringWriter fsw = new FastStringWriter ( ) ; try { fsw . write ( super . encode ( ) ) ; ChartUtils . writeDataValue ( fsw , "labels" , this . labels , true ) ; ChartUtils . writeDataValue ( fsw , "min" , this . min , true ) ; ChartUtils . writeDataValue ( fsw , "max" , this . max , true ) ; } finally { fsw . close ( ) ; } return fsw . toString ( ) ; }
Write the options of cartesian category ticks