org.openfaces.component.chart.impl
Class ModelConverter
java.lang.Object
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelConverter
public ModelConverter()
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.