public abstract class AbstractCharter extends Object implements ICharterHelper
JGraphChartSource.| Modifier and Type | Field and Description |
|---|---|
protected org.jCharts.properties.AxisProperties |
m_axisProperties |
protected int |
m_maxheight |
protected int |
m_minheight |
protected org.jCharts.properties.ChartProperties |
m_properties |
protected JGraphChartSource |
m_source |
protected String |
m_title |
protected int |
m_width |
| Constructor and Description |
|---|
AbstractCharter(JGraphChartSource source,
ChartDimensions dimensions) |
AbstractCharter(JGraphChartSource source,
ChartDimensions dimensions,
org.jCharts.properties.LegendProperties legendProperties,
org.jCharts.properties.ChartProperties chartProperties) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChartField(ChartField element)
Add field to the chart (
ChartField provides the value and the label of the field). |
String[] |
getChartDataLabels() |
double[] |
getChartDataValues() |
org.jCharts.properties.LegendProperties |
getLegendProperties() |
org.jCharts.properties.ChartProperties |
getProperties() |
protected Paint[] |
selectPaints() |
void |
setLegendProperties(org.jCharts.properties.LegendProperties legendProperties) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfinishprotected JGraphChartSource m_source
protected org.jCharts.properties.ChartProperties m_properties
protected org.jCharts.properties.AxisProperties m_axisProperties
protected int m_width
protected int m_minheight
protected int m_maxheight
protected String m_title
public AbstractCharter(JGraphChartSource source, ChartDimensions dimensions)
public AbstractCharter(JGraphChartSource source, ChartDimensions dimensions, org.jCharts.properties.LegendProperties legendProperties, org.jCharts.properties.ChartProperties chartProperties)
public void addChartField(ChartField element)
ICharterHelperChartField provides the value and the label of the field).addChartField in interface ICharterHelperpublic double[] getChartDataValues()
public String[] getChartDataLabels()
protected Paint[] selectPaints()
public org.jCharts.properties.LegendProperties getLegendProperties()
public void setLegendProperties(org.jCharts.properties.LegendProperties legendProperties)
public org.jCharts.properties.ChartProperties getProperties()
Copyright © 2017 etc.to. All rights reserved.