1.2.3-SNAPSHOT Arrow_down_16x16

set-x-label

incanter.charts

  • (set-x-label chart label)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source incanter/charts.clj:791 top

(defn set-x-label
" Sets the label of the x-axis, returns the modified chart object.

  References:
    http://www.jfree.org/jfreechart/api/javadoc/
    http://www.jfree.org/jfreechart/api/javadoc/org/jfree/chart/JFreeChart.html

"
  ([chart label]
    (.setLabel (.getDomainAxis (.getPlot chart)) label)
    chart))
Vars in incanter.charts/set-x-label: defn
Used in 0 other vars

Comments top

No comments for set-x-label. Log in to add a comment.