|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.ChartDefinition
public class ChartDefinition
This object implements the type of chart that appears on the report and defines the fields that
are being charted on. When possible, use the IChartDefinition interface.
| Constructor Summary | |
|---|---|
ChartDefinition()
|
|
ChartDefinition(IChartDefinition src)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone(boolean deepClone)
|
void |
copyTo(java.lang.Object destObject,
boolean deepCopy)
|
java.lang.Object |
createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
For internal use only. |
void |
endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only. |
ChartType |
getChartType()
Returns the data that you want the chart type to represent. |
Fields |
getConditionFields()
Returns the fields that indicate when to plot a point on a chart. |
Fields |
getDataFields()
Returns the fields that indicate what information is plotted as the points on your chart. |
Groups |
getGroups()
For internal use only |
ChartGroupType |
getGroupType()
For internal use only |
IField |
getLabelField()
For internal use only |
Groups |
getSeries()
For internal use only |
boolean |
hasContent(java.lang.Object srcChartDefinition)
|
void |
readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
For internal use only. |
void |
save(XMLWriter writer,
java.lang.String sTag,
XMLSerializationContext ctxt)
For internal use only. |
void |
save(XMLWriter writer,
XMLSerializationContext ctxt)
For internal use only. |
void |
saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
For internal use only. |
void |
setChartType(ChartType chartType)
Sets the data that you want the chart type to represent. |
void |
setConditionFields(Fields conditionFields)
Sets the fields that indicate when to plot a point on a chart. |
void |
setDataFields(Fields dataFields)
Sets the fields that indicate what information is plotted as the points on your chart. |
void |
setGroups(Groups groups)
For internal use only |
void |
setGroupType(ChartGroupType groupType)
For internal use only |
void |
setLabelField(IField labelFieldOnRecord)
For internal use only |
void |
setSeries(Groups series)
For internal use only |
void |
startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
For internal use only. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChartDefinition(IChartDefinition src)
public ChartDefinition()
| Method Detail |
|---|
public java.lang.Object clone(boolean deepClone)
public void copyTo(java.lang.Object destObject,
boolean deepCopy)
public java.lang.Object createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
For internal use only.
public void endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only.
public ChartType getChartType()
IChartDefinition
getChartType in interface IChartDefinitionChartType object containing the data that you want the chart type to
represent.public Fields getConditionFields()
IChartDefinitionReturns the fields that indicate when to plot a point on a chart. To create a chart, you must specify two things: conditions (the fields that indicate when to plot a point on a chart), and values (the fields that indicate what information is plotted as the points on your chart). Condition fields are the conditions. For example, a chart showing last year's sales for your customers uses the Customer Name field as the condition. Each time the condition changes (the customer name changes), a point is plotted on the x-axis.
You can set two conditions, which may then be used to create a 3D chart. See the setType
method.
getConditionFields in interface IChartDefinitionFields object containing the fields that indicate when to plot a point on a
chart.public Fields getDataFields()
IChartDefinitionReturns the fields that indicate what information is plotted as the points on your chart. To create a chart, you must specify two things: conditions (the fields that indicate when to plot a point on a chart) and values (the fields that indicate what information is plotted as the points on your chart). Data fields are the values. For example, in a chart showing last year's sales for each of your customers, the Last Year's Sales field would be the y-axis value.
You can set multiple values, which may then be used to create a 3D chart. See the setType
method.
getDataFields in interface IChartDefinitionFields object containing the fields that indicate what information is plotted
as the points on your chart.public boolean hasContent(java.lang.Object srcChartDefinition)
public void readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
For internal use only.
public void save(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
For internal use only.
java.io.IOException
public void save(XMLWriter writer,
java.lang.String sTag,
XMLSerializationContext ctxt)
throws java.io.IOException
For internal use only.
java.io.IOException
public void saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
For internal use only.
java.io.IOExceptionpublic void setChartType(ChartType chartType)
IChartDefinitionSets the data that you want the chart type to represent. Your report may include different fields, such as group fields, summary fields, and detail fields. Detail fields are those fields that form the columns of data values in the report.
This property specifies the type of data--group or detail--that you want the chart to represent:
setChartType in interface IChartDefinitionchartType - A ChartType object containing the data that you want the chart type to
represent.public void setConditionFields(Fields conditionFields)
IChartDefinitionSets the fields that indicate when to plot a point on a chart. To create a chart, you must specify two things: conditions (the fields that indicate when to plot a point on a chart), and values (the fields that indicate what information is plotted as the points on your chart). Condition fields are the conditions. For example, a chart showing last year's sales for your customers uses the Customer Name field as the condition. Each time the condition changes (the customer name changes), a point is plotted on the x-axis.
You can set two conditions, which may then be used to create a 3D chart. See the setType
method.
setConditionFields in interface IChartDefinitionconditionFields - A Fields object containing the fields that indicate when to plot a point on a
chart.public void setDataFields(Fields dataFields)
IChartDefinitionSets the fields that indicate what information is plotted as the points on your chart. To create a chart, you must specify two things: conditions (the fields that indicate when to plot a point on a chart) and values (the fields that indicate what information is plotted as the points on your chart). Data fields are the values. For example, in a chart showing last year's sales for each of your customers, the Last Year's Sales field would be the y-axis value.
You can set multiple values, which may then be used to create a 3D chart. See the setType
method.
setDataFields in interface IChartDefinitiondataFields - A Fields object containing the fields that indicate what information is plotted
as the points on your chart.
public void startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
For internal use only.
public Groups getGroups()
getGroups in interface IChartDefinitionpublic void setGroups(Groups groups)
public ChartGroupType getGroupType()
IChartDefinition
getGroupType in interface IChartDefinitionpublic void setGroupType(ChartGroupType groupType)
IChartDefinition
setGroupType in interface IChartDefinitionpublic IField getLabelField()
IChartDefinition
getLabelField in interface IChartDefinitionpublic Groups getSeries()
IChartDefinition
getSeries in interface IChartDefinitionpublic void setLabelField(IField labelFieldOnRecord)
IChartDefinition
setLabelField in interface IChartDefinitionpublic void setSeries(Groups series)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||