public final class

GridStripeStyle

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

Class Overview

Visual style properties for a set of axis grid stripes. Grid stripe styling can be particularly useful when using with a line series as it can make the location of the data point more visible. If you make any styling changes after the chart has been displayed, you should call chart.redrawChart().

Summary

Public Constructors
GridStripeStyle()
Public Methods
boolean areGridStripesShown()
Whether the chart should display stripes between the major tick marks.
int getAlternateStripeColor()
The color of the alternate stripes between major tick marks.
int getStripeColor()
The color of the main stripes between major tick marks.
void setAlternateStripeColor(int alternateStripeColor)
Sets the color of the alternate stripes between major tick marks.
void setGridStripesShown(boolean showGridStripes)
Sets whether the chart should display stripes between the major tick marks.
void setStripeColor(int stripeColor)
Sets the color of the main stripes between major tick marks.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public GridStripeStyle ()

Public Methods

public boolean areGridStripesShown ()

Whether the chart should display stripes between the major tick marks.

Returns
  • Whether the chart should display stripes between the major tick marks.

public int getAlternateStripeColor ()

The color of the alternate stripes between major tick marks.

Returns
  • The int representation of the color for the grid stripes

public int getStripeColor ()

The color of the main stripes between major tick marks.

Returns
  • The int representation of the color for the grid stripes

public void setAlternateStripeColor (int alternateStripeColor)

Sets the color of the alternate stripes between major tick marks.

Parameters
alternateStripeColor The int representation of the alternate stripes between major tick marks.

public void setGridStripesShown (boolean showGridStripes)

Sets whether the chart should display stripes between the major tick marks.

Parameters
showGridStripes Whether the chart should display stripes between the major tick marks.

public void setStripeColor (int stripeColor)

Sets the color of the main stripes between major tick marks.

Parameters
stripeColor The int representation of the color of the main stripes between major tick marks.
See Also