private void init(){
  JFreeChart chart=createChart();
  chart.setBackgroundPaint(Color.WHITE);
  chart.setBorderVisible(true);
  chart.setBorderPaint(Color.LIGHT_GRAY);
  chart.setAntiAlias(true);
  BufferedImage bi=chart.createBufferedImage(200,120,BufferedImage.TRANSLUCENT,null);
  try {
    byte[] bytes=EncoderUtil.encode(bi,ImageFormat.PNG,true);
    AImage image=new AImage("",bytes);
    Image myImage=new Image();
    myImage.setContent(image);
    appendChild(myImage);
  }
 catch (  Exception e) {
  }
  invalidate();
}

private void init ( ) { JFreeChart chart = createChart ( ) ; chart . setBackgroundPaint ( Color . WHITE ) ; chart . setBorderVisible ( true ) ; chart . setBorderPaint ( Color . LIGHT_GRAY ) ; chart . setAntiAlias ( true ) ; BufferedImage bi = chart . createBufferedImage ( 200 , 120 , BufferedImage . TRANSLUCENT , null ) ; try { byte [ ] bytes = EncoderUtil . encode ( bi , ImageFormat . PNG , true ) ; AImage image = new AImage ( "" , bytes ) ; Image myImage = new Image ( ) ; myImage . setContent ( image ) ; appendChild ( myImage ) ; } catch ( Exception e ) { } invalidate ( ) ; }
init graph display kinamo ( pelgrim )
