Style Intelligence v12.0

inetsoft.report
Interface ChartElement

All Superinterfaces:
inetsoft.report.internal.BindableElement, Cloneable, HyperlinkSupport, PainterElement, ReportElement, Serializable

public interface ChartElement
extends PainterElement, inetsoft.report.internal.BindableElement

This class represents a chart element. Chart elements are painters, so a chart element also shares all properties in a painter element.


Field Summary
static String X_2ND_AXIS_TITLE
           
static String X_AXIS_TITLE
           
static String Y_2ND_AXIS_TITLE
           
static String Y_AXIS_TITLE
           
 
Fields inherited from interface inetsoft.report.ReportElement
AGGREGATE, AUTOSIZE, GROW, LOCAL_QUERY, QUERY, XNODEPATH
 
Method Summary
 inetsoft.uql.viewsheet.graph.ChartDescriptor getChartDescriptor()
          Get the chart descriptor.
 inetsoft.report.internal.graph.ReportChartInfo getChartInfo()
          Get the report chart info.
 DataSet getDataSet()
           
 EGraph getEGraph()
          Get the graph object.
 String getTextID(String title)
          Get the textID, which is used for i18n support, for each title.
 String[] getTextIDs()
          Get the textIDs, which is used for i18n support.
 VGraph getVGraph()
          Get the graph visual object.
 boolean isAdhocEnabled()
          Check if adhoc query is enabled on this element.
 void setAdhocEnabled(boolean enabled)
          Set whether adhoc query is enabled on this element.
 void setChartDescriptor(inetsoft.uql.viewsheet.graph.ChartDescriptor desc)
          Set the chart descriptor.
 void setDataSet(DataSet chart)
          Set chart data.
 void setTextID(String title, String textID)
          Set the textID, which is used for i18n support, for each title.
 void setTextIDs(String[] textIDs)
          Set the textIDs, which is used for i18n support.
 
Methods inherited from interface inetsoft.report.PainterElement
getAnchor, getHyperlink, getHyperlinkAreas, getLayout, getMargin, getPainter, getRotation, getSize, getWrapping, setAnchor, setHyperlink, setLayout, setMargin, setPainter, setRotation, setSize, setWrapping
 
Methods inherited from interface inetsoft.report.HyperlinkSupport
getHyperlink, setHyperlink
 
Methods inherited from interface inetsoft.report.internal.BindableElement
getBindingAttr, getSourceAttr, isSourceBlank, setBindingAttr, updateFormulas, updateReportFormulas
 
Methods inherited from interface inetsoft.report.ReportElement
clone, getAlignment, getBackground, getCSSClass, getFont, getForeground, getFullName, getID, getIndent, getOnClick, getPreferredSize, getProperty, getPropertyNames, getScript, getSpacing, getTarget, getType, getUserObject, isHideOnPrint, isKeepWithNext, isVisible, setAlignment, setBackground, setContext, setCSSClass, setFont, setForeground, setFullName, setHideOnPrint, setID, setIndent, setKeepWithNext, setOnClick, setProperty, setScript, setSpacing, setTarget, setUserObject, setVisible
 

Field Detail

X_AXIS_TITLE

static final String X_AXIS_TITLE
See Also:
Constant Field Values

Y_AXIS_TITLE

static final String Y_AXIS_TITLE
See Also:
Constant Field Values

X_2ND_AXIS_TITLE

static final String X_2ND_AXIS_TITLE
See Also:
Constant Field Values

Y_2ND_AXIS_TITLE

static final String Y_2ND_AXIS_TITLE
See Also:
Constant Field Values
Method Detail

getDataSet

DataSet getDataSet()

setDataSet

void setDataSet(DataSet chart)
Set chart data. It contains chart datasets, as well as attributes for controlling the chart rendering.


getChartDescriptor

inetsoft.uql.viewsheet.graph.ChartDescriptor getChartDescriptor()
Get the chart descriptor.


setChartDescriptor

void setChartDescriptor(inetsoft.uql.viewsheet.graph.ChartDescriptor desc)
Set the chart descriptor. A chart descriptor stores secondary attributes for controlling chart rendering.


getChartInfo

inetsoft.report.internal.graph.ReportChartInfo getChartInfo()
Get the report chart info.


getTextID

String getTextID(String title)
Get the textID, which is used for i18n support, for each title.


setTextID

void setTextID(String title,
               String textID)
Set the textID, which is used for i18n support, for each title.


getTextIDs

String[] getTextIDs()
Get the textIDs, which is used for i18n support.


setTextIDs

void setTextIDs(String[] textIDs)
Set the textIDs, which is used for i18n support.


isAdhocEnabled

boolean isAdhocEnabled()
Check if adhoc query is enabled on this element.


setAdhocEnabled

void setAdhocEnabled(boolean enabled)
Set whether adhoc query is enabled on this element.


getEGraph

EGraph getEGraph()
Get the graph object. The graph is generated from chart descriptor.


getVGraph

VGraph getVGraph()
Get the graph visual object. This is only available after the chart has been rendered. It contains visual information about the rendered chart.


Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.