org.openfaces.component.chart.impl
Class ModelConverter

java.lang.Object
  extended by org.openfaces.component.chart.impl.ModelConverter

public class ModelConverter
extends java.lang.Object

Utility class - a set of static methods to transfer data represented in ChartModel to appropriate JFreeChart Dataset


Constructor Summary
ModelConverter()
           
 
Method Summary
static org.jfree.data.category.CategoryDataset toCategoryDataset(ModelInfo info)
           
static org.jfree.data.general.PieDataset toPieDataset(ChartModel model)
           
static org.jfree.data.time.TimeSeriesCollection toTimeSeriesCollection(Chart chart, ModelInfo info)
           
static org.jfree.data.xy.XYSeriesCollection toXYSeriesCollection(ModelInfo info)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelConverter

public ModelConverter()
Method Detail

toPieDataset

public static org.jfree.data.general.PieDataset toPieDataset(ChartModel model)

toCategoryDataset

public static org.jfree.data.category.CategoryDataset toCategoryDataset(ModelInfo info)

toXYSeriesCollection

public static org.jfree.data.xy.XYSeriesCollection toXYSeriesCollection(ModelInfo info)

toTimeSeriesCollection

public static org.jfree.data.time.TimeSeriesCollection toTimeSeriesCollection(Chart chart,
                                                                              ModelInfo info)


Copyright © 1998-2010 TeamDev Ltd. All Rights Reserved.