public final class

PointStyle

extends Object
java.lang.Object
   ↳ com.shinobicontrols.charts.PointStyle

Class Overview

Visual style properties for data points within chart series. Points can be shown on line series and band series. If you make any styling changes after the chart has been displayed, you should call redrawChart().

Summary

Public Constructors
PointStyle()
Constructs a new PointStyle.
PointStyle(PointStyle pointStyle)
Constructs a new PointStyle object taking its values from the given PointStyle.
Public Methods
boolean arePointsShown()
Whether the points should be drawn.
boolean equals(Object o)
int getColor()
Gets the color of the data points.
int getColorBelowBaseline()
Gets the color of the data points below the baseline.
int getInnerColor()
Gets the color of the inner sections of the data points.
int getInnerColorBelowBaseline()
Gets the color of the inner sections of the data points below the baseline.
float getInnerRadius()
Gets the inner radius of the default data point, in device independent pixels.
float getRadius()
Gets the radius of the default data point, in device independent pixels.
int hashCode()
void setColor(int color)
Sets the color of the data points.
void setColorBelowBaseline(int colorBelowBaseline)
Sets the color of the data points below the baseline.
void setInnerColor(int innerColor)
Sets the color of the inner sections of the data points above the baseline.
void setInnerColorBelowBaseline(int innerColorBelowBaseline)
Sets the color of the inner sections of the data points below the baseline.
void setInnerRadius(float innerRadius)
Sets the inner radius of the default data point, in device independent pixels.
void setPointsShown(boolean showPoints)
Sets whether the points should be drawn.
void setRadius(float radius)
Sets the radius of the default data point, in device independent pixels.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public PointStyle ()

Constructs a new PointStyle.

public PointStyle (PointStyle pointStyle)

Constructs a new PointStyle object taking its values from the given PointStyle. If this PointStyle is null then the default style values with be used.

Parameters
pointStyle the PointStyle to copy values from

Public Methods

public boolean arePointsShown ()

Whether the points should be drawn.

Note, this property can be applied on a per-point basis by performing individual point styling. See SeriesStyleProvider for more details.

Returns
  • Whether the points should be drawn.

public boolean equals (Object o)

public int getColor ()

Gets the color of the data points.

Note, this property can be applied on a per-point basis by performing individual point styling. See SeriesStyleProvider for more details.

Returns
  • The color of the data points above the baseline, or in the case of band series, on the high line.
See Also

public int getColorBelowBaseline ()

Gets the color of the data points below the baseline.

Note, this property can be applied on a per-point basis by performing individual point styling. See SeriesStyleProvider for more details.

Returns
  • The color of the data points below the baseline, or in the case of band series, on the low line.

public int getInnerColor ()

Gets the color of the inner sections of the data points.

Note, this property can be applied on a per-point basis by performing individual point styling. See SeriesStyleProvider for more details.

Also note that this is not used on BandSeries.

Returns
  • The color of the inner sections of the data points above the baseline.

public int getInnerColorBelowBaseline ()

Gets the color of the inner sections of the data points below the baseline.

Note, this property can be applied on a per-point basis by performing individual point styling. See SeriesStyleProvider for more details.

Also note that this is not used on BandSeries.

Returns
  • The color of the inner sections of the data points below the baseline.

public float getInnerRadius ()

Gets the inner radius of the default data point, in device independent pixels.

Note, this property can be applied on a per-point basis by performing individual point styling. See SeriesStyleProvider for more details.

Also note that this is not used on BandSeries.

Returns
  • The inner radius of the default data point, in device independent pixels.

public float getRadius ()

Gets the radius of the default data point, in device independent pixels.

Note, this property can be applied on a per-point basis by performing individual point styling. See SeriesStyleProvider for more details.

Returns
  • The radius of the default data point, in device independent pixels.
See Also

public int hashCode ()

public void setColor (int color)

Sets the color of the data points.

Parameters
color The color of the data points above the baseline, or in the case of band series, on the high line.
See Also

public void setColorBelowBaseline (int colorBelowBaseline)

Sets the color of the data points below the baseline.

Parameters
colorBelowBaseline The color of the data points below the baseline, or in the case of band series, on the low line.

public void setInnerColor (int innerColor)

Sets the color of the inner sections of the data points above the baseline. Note that this is not used on band series

Parameters
innerColor The color of the inner sections of the data points.
See Also

public void setInnerColorBelowBaseline (int innerColorBelowBaseline)

Sets the color of the inner sections of the data points below the baseline. Note that this is not used on band series

Parameters
innerColorBelowBaseline The color of the inner sections of the data points below the baseline.

public void setInnerRadius (float innerRadius)

Sets the inner radius of the default data point, in device independent pixels. Note that this is not used on band series

Parameters
innerRadius The inner radius of the default data point, in device independent pixels.
See Also

public void setPointsShown (boolean showPoints)

Sets whether the points should be drawn.

Parameters
showPoints Whether the points should be drawn.
See Also

public void setRadius (float radius)

Sets the radius of the default data point, in device independent pixels.

Parameters
radius The radius of the default data point, in device independent pixels.
See Also