Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <h2>Options</h2> <ul> <li><p>If graphs you mean like clusters nodes and links visualization have a look at <a href="http://www.graphviz.org/Gallery.php">graphviz gallery</a> </p></li> <li><p>To generate charts see <a href="http://www.jfree.org/jfreechart/api/gjdoc/org/jfree/chart/demo/">jfreechart demo</a> Download <a href="http://sourceforge.net/projects/jfreechart/files/1.%20JFreeChart/1.0.13/jfreechart-1.0.13.zip/download">jfreechart jfreechart-1.0.13 </a></p></li> <li>Use <a href="http://java.sun.com/javase/technologies/desktop/media/">java advanced imaging - jai </a> see <a href="http://java.sun.com/developer/onlineTraining/javaai/jai/HistogramDemo.java">histogram demo source</a> </li> </ul> <h2>Steps to create a chart using jfreechart</h2> <p>Create Dataset and pass array of data</p> <pre><code>HistogramDataset dataset = new HistogramDataset(); dataset.addSeries("series label",arrayOfValues,noOfBins); </code></pre> <p>Create a chart object</p> <pre><code>JFreeChart chart = ChartFactory. createHistogram( "plotTitle", "xaxis label", "yaxis label", dataset, PlotOrientation.VERTICAL, false, false, false); </code></pre> <p>If swing application use <code>ChartPanel</code> to render chart </p> <pre><code>ChartPanel chartPanel = new ChartPanel(chart) chartPanel.setPreferredSize(new java.awt.Dimension JavaDoc(500, 270)); chartPanel.setMouseZoomable(true, false); </code></pre> <p>If need to write chart to a file/stream use <code>ChartUtilities.saveChartAsPNG(...)</code></p> <pre><code>ChartUtilities.saveChartAsPNG(new File("histogram.PNG"), chart, width, height); </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload