Changeset 113 for trunk/rapidandroid/org.rapidandroid/src/org/rapidandroid/activity/chart/form/FormDataBroker.java
- Timestamp:
- 02/05/09 12:03:32 (16 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/rapidandroid/org.rapidandroid/src/org/rapidandroid/activity/chart/form/FormDataBroker.java
r112 r113 394 394 toReturn.put("legend", getShowTrue()); 395 395 } 396 toReturn.put("grid", getJSONObject("clickable", false)); 396 397 return toReturn; 397 398 } … … 408 409 JSONObject toReturn = new JSONObject(); 409 410 toReturn.put("xaxis", this.getXaxisOptions(labels)); 411 toReturn.put("grid", getJSONObject("clickable", true)); 412 return toReturn; 413 } 414 415 private JSONObject getJSONObject(String string, Object o) { 416 JSONObject toReturn = new JSONObject(); 417 try { 418 toReturn.put(string, o); 419 } catch (Exception ex) { 420 } 410 421 return toReturn; 411 422 } … … 440 451 441 452 try { 453 rootxaxis.put("min", 0); 454 rootxaxis.put("max", tickvalues.length + tickvalues.length / 5 + 1); 442 455 rootxaxis.put("ticks", arr); 443 456 rootxaxis.put("tickFormatter", "string");