org.achartengine.renderer
Class XYSeriesRenderer

java.lang.Object
  extended by org.achartengine.renderer.SimpleSeriesRenderer
      extended by org.achartengine.renderer.XYSeriesRenderer
All Implemented Interfaces:
java.io.Serializable

public class XYSeriesRenderer
extends SimpleSeriesRenderer

A renderer for the XY type series.

See Also:
Serialized Form

Constructor Summary
XYSeriesRenderer()
           
 
Method Summary
 int getFillBelowLineColor()
          Returns the fill below line color.
 float getLineWidth()
          Returns the chart line width.
 PointStyle getPointStyle()
          Returns the point style.
 boolean isFillBelowLine()
          Returns if the chart should be filled below the line.
 boolean isFillPoints()
          Returns if the chart points should be filled.
 void setFillBelowLine(boolean fill)
          Sets if the line chart should be filled below its line.
 void setFillBelowLineColor(int color)
          Sets the fill below the line color.
 void setFillPoints(boolean fill)
          Sets if the chart points should be filled.
 void setLineWidth(float lineWidth)
          Sets the chart line width.
 void setPointStyle(PointStyle style)
          Sets the point style.
 
Methods inherited from class org.achartengine.renderer.SimpleSeriesRenderer
getChartValuesSpacing, getChartValuesTextAlign, getChartValuesTextSize, getColor, getGradientStartColor, getGradientStartValue, getGradientStopColor, getGradientStopValue, getStroke, isDisplayChartValues, isGradientEnabled, setChartValuesSpacing, setChartValuesTextAlign, setChartValuesTextSize, setColor, setDisplayChartValues, setGradientEnabled, setGradientStart, setGradientStop, setStroke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XYSeriesRenderer

public XYSeriesRenderer()
Method Detail

isFillBelowLine

public boolean isFillBelowLine()
Returns if the chart should be filled below the line.

Returns:
the fill below line status

setFillBelowLine

public void setFillBelowLine(boolean fill)
Sets if the line chart should be filled below its line. Filling below the line transforms a line chart into an area chart.

Parameters:
fill - the fill below line flag value

isFillPoints

public boolean isFillPoints()
Returns if the chart points should be filled.

Returns:
the points fill status

setFillPoints

public void setFillPoints(boolean fill)
Sets if the chart points should be filled.

Parameters:
fill - the points fill flag value

getFillBelowLineColor

public int getFillBelowLineColor()
Returns the fill below line color.

Returns:
the fill below line color

setFillBelowLineColor

public void setFillBelowLineColor(int color)
Sets the fill below the line color.

Parameters:
color - the fill below line color

getPointStyle

public PointStyle getPointStyle()
Returns the point style.

Returns:
the point style

setPointStyle

public void setPointStyle(PointStyle style)
Sets the point style.

Parameters:
style - the point style

getLineWidth

public float getLineWidth()
Returns the chart line width.

Returns:
the line width

setLineWidth

public void setLineWidth(float lineWidth)
Sets the chart line width.

Parameters:
lineWidth - the line width


Copyright © 2009 - 2011 4ViewSoft. All Rights Reserved.