Permalink
Browse files

Added the borderColor property on Axis class

  • Loading branch information...
1 parent d79b73e commit 4ed0fae50b0a8dac97bbdb75bf6e54cce3f710ad @viniciuspc committed Apr 17, 2012
@@ -78,6 +78,9 @@
/** The tick interval. */
private T tickInterval;
+
+ /**The border color*/
+ private String borderColor;
/**
@@ -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;
+ }
+
+
+
}
@@ -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);

0 comments on commit 4ed0fae

Please sign in to comment.