public class XYSeriesRenderer
- Object
- SimpleSeriesRenderer
- XYSeriesRenderer
Nested types
class XYSeriesRenderer.FillOutsideLine | A descriptor for the line fill behavior. |
Constructors
public XYSeriesRenderer() |
Methods
Inherited methods
From SimpleSeriesRenderer
getColor, setColor, getStroke, setStroke, isGradientEnabled, setGradientEnabled, getGradientStartValue, getGradientStartColor, setGradientStart, getGradientStopValue, getGradientStopColor, setGradientStop, isShowLegendItem, setShowLegendItem, isHighlighted, setHighlighted, isDisplayBoundingPoints, setDisplayBoundingPoints, getChartValuesFormat, setChartValuesFormat
Constructor details
XYSeriesRenderer
public XYSeriesRenderer()Method details
isFillBelowLine
public boolean isFillBelowLine()#getFillOutsideLine() instead.Returns
setFillBelowLine
public void setFillBelowLine(boolean fill)#addFillOutsideLine(FillOutsideLine) instead.Parameters
fillboolean- the fill below line flag value
getFillOutsideLine
public XYSeriesRenderer.FillOutsideLine[] getFillOutsideLine()Returns
addFillOutsideLine
public void addFillOutsideLine(XYSeriesRenderer.FillOutsideLine fill)Parameters
fillXYSeriesRenderer.FillOutsideLine- the type of the filling
isFillPoints
public boolean isFillPoints()Returns
setFillPoints
public void setFillPoints(boolean fill)Parameters
fillboolean- the points fill flag value
setFillBelowLineColor
public void setFillBelowLineColor(int color)Parameters
colorint- the fill below line color
getPointStyle
public PointStyle getPointStyle()Returns
setPointStyle
public void setPointStyle(PointStyle style)Parameters
stylePointStyle- the point style
getPointStrokeWidth
public float getPointStrokeWidth()Returns
setPointStrokeWidth
public void setPointStrokeWidth(float strokeWidth)Parameters
strokeWidthfloat- the point stroke width in pixels
getLineWidth
public float getLineWidth()Returns
setLineWidth
public void setLineWidth(float lineWidth)Parameters
lineWidthfloat- the line width
isDisplayChartValues
public boolean isDisplayChartValues()Returns
setDisplayChartValues
public void setDisplayChartValues(boolean display)Parameters
displayboolean- if the chart point values should be displayed as text
getDisplayChartValuesDistance
public int getDisplayChartValuesDistance()Returns
setDisplayChartValuesDistance
public void setDisplayChartValuesDistance(int distance)Parameters
distanceint- the chart values minimum distance
getChartValuesTextSize
public float getChartValuesTextSize()Returns
setChartValuesTextSize
public void setChartValuesTextSize(float textSize)#setChartValuesTextFont(com.codename1.ui.Font)
instead to allow the font size to to be adjusted appropriately for the display
resolution.Parameters
textSizefloat- the chart values text size
setChartValuesTextFont
public void setChartValuesTextFont(Font font)Sets the chart values title text font size using a Font object instead of a point size. This method is the preferred way to set font size because it allows you to more easily have fonts appear in an appropriate size for the target device.
Alternatively check out #setChartValuesTextSize(float) to set the text
size in pixels.
getChartValuesTextAlign
public int getChartValuesTextAlign()Returns
setChartValuesTextAlign
public void setChartValuesTextAlign(int align)Parameters
alignint- the chart values text align
getChartValuesSpacing
public float getChartValuesSpacing()Returns
setChartValuesSpacing
public void setChartValuesSpacing(float spacing)Parameters
spacingfloat- the chart values spacing (in pixels) from the chart data point
getAnnotationsTextSize
public float getAnnotationsTextSize()Returns
setAnnotationsTextSize
public void setAnnotationsTextSize(float textSize)#setAnnotationsTextFont(com.codename1.ui.Font)
instead to allow the font size to to be adjusted appropriately for the display
resolution.Parameters
textSizefloat- the annotations text size
setAnnotationsTextFont
public void setAnnotationsTextFont(Font font)Sets the annotations text font size using a Font object instead of a point size. This method is the preferred way to set font size because it allows you to more easily have fonts appear in an appropriate size for the target device.
Alternatively check out #setAnnotationsTextSize(float) to set the text
size in pixels.
getAnnotationsTextAlign
public int getAnnotationsTextAlign()Returns
setAnnotationsTextAlign
public void setAnnotationsTextAlign(int align)Parameters
alignint- the chart values text align
getAnnotationsColor
public int getAnnotationsColor()Returns
setAnnotationsColor
public void setAnnotationsColor(int color)Parameters
colorint- the annotations color