public class XmlAdhocChart extends XmlAdhocComponent
Java class for Chart complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Chart">
<complexContent>
<extension base="{http://dynamicreports.sourceforge.net/schema/adhocconfiguration}Component">
<sequence>
<element name="titleFont" type="{http://dynamicreports.sourceforge.net/schema/adhocconfiguration}Font" minOccurs="0"/>
<element name="serie" type="{http://dynamicreports.sourceforge.net/schema/adhocconfiguration}ChartSerie" maxOccurs="unbounded" minOccurs="0"/>
<element name="seriesColors" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="xAxisFormat" type="{http://dynamicreports.sourceforge.net/schema/adhocconfiguration}AxisFormat" minOccurs="0"/>
<element name="yAxisFormat" type="{http://dynamicreports.sourceforge.net/schema/adhocconfiguration}AxisFormat" minOccurs="0"/>
</sequence>
<attribute name="type" type="{http://dynamicreports.sourceforge.net/schema/adhocconfiguration}ChartType" />
<attribute name="title" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="titleColor" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="showLegend" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="xValue" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="orientation" type="{http://dynamicreports.sourceforge.net/schema/adhocconfiguration}Orientation" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected XmlAdhocOrientation |
orientation |
protected List<XmlAdhocChartSerie> |
serie |
protected List<String> |
seriesColors |
protected Boolean |
showLegend |
protected String |
title |
protected String |
titleColor |
protected XmlAdhocFont |
titleFont |
protected XmlAdhocChartType |
type |
protected XmlAdhocAxisFormat |
xAxisFormat |
protected String |
xValue |
protected XmlAdhocAxisFormat |
yAxisFormat |
| Constructor and Description |
|---|
XmlAdhocChart() |
| Modifier and Type | Method and Description |
|---|---|
XmlAdhocOrientation |
getOrientation()
Gets the value of the orientation property.
|
List<XmlAdhocChartSerie> |
getSerie()
Gets the value of the serie property.
|
List<String> |
getSeriesColors()
Gets the value of the seriesColors property.
|
String |
getTitle()
Gets the value of the title property.
|
String |
getTitleColor()
Gets the value of the titleColor property.
|
XmlAdhocFont |
getTitleFont()
Gets the value of the titleFont property.
|
XmlAdhocChartType |
getType()
Gets the value of the type property.
|
XmlAdhocAxisFormat |
getXAxisFormat()
Gets the value of the xAxisFormat property.
|
String |
getXValue()
Gets the value of the xValue property.
|
XmlAdhocAxisFormat |
getYAxisFormat()
Gets the value of the yAxisFormat property.
|
Boolean |
isShowLegend()
Gets the value of the showLegend property.
|
void |
setOrientation(XmlAdhocOrientation value)
Sets the value of the orientation property.
|
void |
setShowLegend(Boolean value)
Sets the value of the showLegend property.
|
void |
setTitle(String value)
Sets the value of the title property.
|
void |
setTitleColor(String value)
Sets the value of the titleColor property.
|
void |
setTitleFont(XmlAdhocFont value)
Sets the value of the titleFont property.
|
void |
setType(XmlAdhocChartType value)
Sets the value of the type property.
|
void |
setXAxisFormat(XmlAdhocAxisFormat value)
Sets the value of the xAxisFormat property.
|
void |
setXValue(String value)
Sets the value of the xValue property.
|
void |
setYAxisFormat(XmlAdhocAxisFormat value)
Sets the value of the yAxisFormat property.
|
getHeight, getKey, getProperty, getStyle, getWidth, setHeight, setKey, setStyle, setWidthprotected XmlAdhocFont titleFont
protected List<XmlAdhocChartSerie> serie
protected XmlAdhocAxisFormat xAxisFormat
protected XmlAdhocAxisFormat yAxisFormat
protected XmlAdhocChartType type
protected String title
protected String titleColor
protected Boolean showLegend
protected String xValue
protected XmlAdhocOrientation orientation
public XmlAdhocFont getTitleFont()
XmlAdhocFontpublic void setTitleFont(XmlAdhocFont value)
value - allowed object is
XmlAdhocFontpublic List<XmlAdhocChartSerie> getSerie()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the serie property.
For example, to add a new item, do as follows:
getSerie().add(newItem);
Objects of the following type(s) are allowed in the list
XmlAdhocChartSerie
public List<String> getSeriesColors()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the seriesColors property.
For example, to add a new item, do as follows:
getSeriesColors().add(newItem);
Objects of the following type(s) are allowed in the list
String
public XmlAdhocAxisFormat getXAxisFormat()
XmlAdhocAxisFormatpublic void setXAxisFormat(XmlAdhocAxisFormat value)
value - allowed object is
XmlAdhocAxisFormatpublic XmlAdhocAxisFormat getYAxisFormat()
XmlAdhocAxisFormatpublic void setYAxisFormat(XmlAdhocAxisFormat value)
value - allowed object is
XmlAdhocAxisFormatpublic XmlAdhocChartType getType()
XmlAdhocChartTypepublic void setType(XmlAdhocChartType value)
value - allowed object is
XmlAdhocChartTypepublic String getTitle()
Stringpublic void setTitle(String value)
value - allowed object is
Stringpublic String getTitleColor()
Stringpublic void setTitleColor(String value)
value - allowed object is
Stringpublic Boolean isShowLegend()
Booleanpublic void setShowLegend(Boolean value)
value - allowed object is
Booleanpublic String getXValue()
Stringpublic void setXValue(String value)
value - allowed object is
Stringpublic XmlAdhocOrientation getOrientation()
XmlAdhocOrientationpublic void setOrientation(XmlAdhocOrientation value)
value - allowed object is
XmlAdhocOrientationCopyright © 2010–2021. All rights reserved.