Ofc4j

Ofc4j is a Java wrapper for Open Flash Chart project.
Download

Ofc4j Ranking & Summary

Advertisement

  • Rating:
  • License:
  • LGPL
  • Price:
  • FREE
  • Publisher Name:
  • Sezer Yesiltas
  • Publisher web site:
  • http://code.google.com/p/ofc4j/

Ofc4j Tags


Ofc4j Description

Ofc4j is a Java wrapper for Open Flash Chart project. Ofc4j is a Java wrapper for Open Flash Chart project.Here are some key features of "Ofc4j":· Open source with LGPL Licence. · Very nice look & feel similar to Google Analytics charts. · Multiple series in a chart. · Multi-language support (UTF8 charset support). · Flash base. Has some animations.example.jsp< %@ page language="java" contentType="text/html; charset=ISO-8859-9" pageEncoding="ISO-8859-9"% >< %@ page import="net.yesiltas.ofc4j.*"% >< !DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd" >< html >< head >< meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-9" >< title>Example< /title >< /head >< body >< %=Chart.getHtml("500","250","data.jsp") % > < /body >< /html > data.jsp< %@ page language="java" contentType="text; charset=ISO-8859-9" pageEncoding="ISO-8859-9"% >< %@ page import="net.yesiltas.ofc4j.*"% >< %Chart c = new Chart();/* setting title*/Title title = new Title("Many data lines","font-size:30px; color:#736AFF");c.setTitle(title);/* setting y legend*/LegendY yLegend = c.getYLegend();yLegend.setDescription("Open Flash Chart for Java");yLegend.setColor("#736AFF");yLegend.setDescriptionWeight("12"); /* setting y labels*/LabelY yLabel = c.getYLabel();yLabel.setMin("0");yLabel.setMax("20");/* setting x labels*/LabelX xLabel = c.getXLabel();int i=0;xLabel.addText(i++,"January");xLabel.addText(i++,"");xLabel.addText(i++,"March");xLabel.addText(i++,"");xLabel.addText(i++,"May");xLabel.addText(i++,"");xLabel.addText(i++,"June");xLabel.addText(i++,"");xLabel.addText(i++,"August");/* adding series to chart*/BarStyle bar = new BarStyle();bar.setColor("#9933CC");bar.setDescription("Page views");bar.setDescriptionWeight("10"); bar.setTransparency("50");int v=0;bar.addValue(v++,"9");bar.addValue(v++,"6");bar.addValue(v++,"7");bar.addValue(v++,"9");bar.addValue(v++,"5");bar.addValue(v++,"7");bar.addValue(v++,"6");bar.addValue(v++,"9");bar.addValue(v++,"9");c.addSeries(bar); % >< %= c.getData() % >What's New in This Release:· The BarGlass, BarFade, and Bar3D chart types were implemented.


Ofc4j Related Software