Skip to content

Commit

Permalink
Added the borderColor property on Axis class
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciuspc committed Apr 17, 2012
1 parent d79b73e commit 4ed0fae
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/main/java/br/com/digilabs/jqplot/axis/Axis.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ public class Axis<T extends Serializable> implements Serializable {

/** The tick interval. */
private T tickInterval;

/**The border color*/
private String borderColor;


/**
Expand Down Expand Up @@ -333,4 +336,22 @@ public void setMax(T max) {
this.max = max;
}

/**
* Gets the borderColor
* @return the borderColor
*/
public String getBorderColor() {
return borderColor;
}

/**
* Sets the new borderColor
* @param borderColor the new borderColor
*/
public void setBorderColor(String borderColor) {
this.borderColor = borderColor;
}



}
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ public void testLineSeriesChart() {
xaxis.setTickOptions(tickOptions);
xaxis.setTickRenderer(JqPlotResources.CanvasAxisTickRenderer);
xaxis.setTickInterval(1);
xaxis.setBorderColor("#ff0000");

axes.getYaxis().setTickInterval(0.50);

Expand Down

0 comments on commit 4ed0fae

Please sign in to comment.