Class CreateChartPanelFunction
java.lang.Object
org.gvsig.expressionevaluator.spi.AbstractFunction
org.gvsig.expressionevaluator.impl.function.programming.CreateChartPanelFunction
- All Implemented Interfaces:
org.gvsig.expressionevaluator.Function
public class CreateChartPanelFunction
extends org.gvsig.expressionevaluator.spi.AbstractFunction
-
Field Summary
Fields inherited from class org.gvsig.expressionevaluator.spi.AbstractFunction
LOGGER, TYPE_BIGDECIMAL, TYPE_BOOLEAN, TYPE_DATE, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INT, TYPE_LONG, TYPE_NULL, TYPE_STRINGFields inherited from interface org.gvsig.expressionevaluator.Function
GROUP_AGGREGATE, GROUP_BOOLEAN, GROUP_CONVERSION, GROUP_DATETIME, GROUP_NUMERIC, GROUP_OGC, GROUP_OTHER, GROUP_PROGRAMMING, GROUP_STRING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic BufferedImagecreateChartImage(javax.json.JsonObject json, org.jfree.chart.JFreeChart chart) static org.jfree.chart.JFreeChartcreateGraph(javax.json.JsonObject json, Iterable<org.gvsig.tools.util.GetItemByKey> dataset) static org.jfree.chart.ChartPanelcreateGraphPanel(javax.json.JsonObject json, org.jfree.chart.JFreeChart graph) static Iterable<org.gvsig.tools.util.GetItemByKey> getIterable(Object dataset) Methods inherited from class org.gvsig.expressionevaluator.spi.AbstractFunction
addAlias, aliases, argc, call, checkDoubleValue, checkFloatValue, description, descriptionArgs, getBigDecimal, getBoolean, getBoolean, getBoolean, getBoolean, getBoolean, getComparable, getComparable, getDate, getDate, getDouble, getDouble, getFile, getFile, getFloat, getFloat, getFullDescription, getInt, getInt, getInt, getJsonArray, getJsonArray, getJsonObject, getJsonObject, getJsonStructure, getJsonStructure, getList, getLocalDateTime, getLocalDateTime, getLong, getLong, getObject, getObject, getStr, getStr, getType, getURL, group, isHidden, isNull, isOperator, isSQLCompatible, name, returnType, setDescription, setDescriptionArgs, setReturnType, setTemplate, template, toBoolean, toString, toString, toValue, useArgumentsInsteadObjects
-
Constructor Details
-
CreateChartPanelFunction
public CreateChartPanelFunction()
-
-
Method Details
-
allowConstantFolding
public boolean allowConstantFolding()- Specified by:
allowConstantFoldingin interfaceorg.gvsig.expressionevaluator.Function- Overrides:
allowConstantFoldingin classorg.gvsig.expressionevaluator.spi.AbstractFunction
-
call
public Object call(org.gvsig.expressionevaluator.Interpreter interpreter, Object[] args) throws Exception - Throws:
Exception
-
getIterable
-
createGraphPanel
public static org.jfree.chart.ChartPanel createGraphPanel(javax.json.JsonObject json, org.jfree.chart.JFreeChart graph) -
createChartImage
public static BufferedImage createChartImage(javax.json.JsonObject json, org.jfree.chart.JFreeChart chart) -
createGraph
public static org.jfree.chart.JFreeChart createGraph(javax.json.JsonObject json, Iterable<org.gvsig.tools.util.GetItemByKey> dataset)
-