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

Nested Class Summary
static class XYSeriesRenderer.FillOutsideLine
          A descriptor for the line fill behavior.
 
Constructor Summary
XYSeriesRenderer()
           
 
Method Summary
 void addFillOutsideLine(XYSeriesRenderer.FillOutsideLine fill)
          Sets if the line chart should be filled outside its line.
 XYSeriesRenderer.FillOutsideLine[] getFillOutsideLine()
          Returns the type of the outside fill of the line.
 float getLineWidth()
          Returns the chart line width.
 float getPointStrokeWidth()
          Returns the point stroke width in pixels.
 PointStyle getPointStyle()
          Returns the point style.
 boolean isFillBelowLine()
          Deprecated. Use getFillOutsideLine() instead.
 boolean isFillPoints()
          Returns if the chart points should be filled.
 void setFillBelowLine(boolean fill)
          Deprecated. Use addFillOutsideLine(FillOutsideLine) instead.
 void setFillBelowLineColor(int color)
          Deprecated. Use FillOutsideLine.setColor instead
 void setFillPoints(boolean fill)
          Sets if the chart points should be filled.
 void setLineWidth(float lineWidth)
          Sets the chart line width.
 void setPointStrokeWidth(float strokeWidth)
          Sets the point stroke width in pixels.
 void setPointStyle(PointStyle style)
          Sets the point style.
 
Methods inherited from class org.achartengine.renderer.SimpleSeriesRenderer
getChartValuesFormat, getChartValuesSpacing, getChartValuesTextAlign, getChartValuesTextSize, getColor, getDisplayChartValuesDistance, getGradientStartColor, getGradientStartValue, getGradientStopColor, getGradientStopValue, getStroke, isDisplayBoundingPoints, isDisplayChartValues, isGradientEnabled, isHighlighted, isShowLegendItem, setChartValuesFormat, setChartValuesSpacing, setChartValuesTextAlign, setChartValuesTextSize, setColor, setDisplayBoundingPoints, setDisplayChartValues, setDisplayChartValuesDistance, setGradientEnabled, setGradientStart, setGradientStop, setHighlighted, setShowLegendItem, 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

@Deprecated
public boolean isFillBelowLine()
Deprecated. Use getFillOutsideLine() instead.

Returns if the chart should be filled below the line.

Returns:
the fill below line status

setFillBelowLine

@Deprecated
public void setFillBelowLine(boolean fill)
Deprecated. Use addFillOutsideLine(FillOutsideLine) instead.

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

getFillOutsideLine

public XYSeriesRenderer.FillOutsideLine[] getFillOutsideLine()
Returns the type of the outside fill of the line.

Returns:
the type of the outside fill of the line.

addFillOutsideLine

public void addFillOutsideLine(XYSeriesRenderer.FillOutsideLine fill)
Sets if the line chart should be filled outside its line. Filling outside with FillOutsideLine.INTEGRAL the line transforms a line chart into an area chart.

Parameters:
fill - the type of the filling

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

setFillBelowLineColor

@Deprecated
public void setFillBelowLineColor(int color)
Deprecated. Use FillOutsideLine.setColor instead

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

getPointStrokeWidth

public float getPointStrokeWidth()
Returns the point stroke width in pixels.

Returns:
the point stroke width in pixels

setPointStrokeWidth

public void setPointStrokeWidth(float strokeWidth)
Sets the point stroke width in pixels.

Parameters:
strokeWidth - the point stroke width in pixels

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.