Skip to content

Commit

Permalink
Remove new get-series function, name conflict.
Browse files Browse the repository at this point in the history
  • Loading branch information
redondo17 committed Jan 20, 2015
1 parent 1940c3e commit 6e87c4c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions modules/incanter-charts/src/incanter/charts.clj
Expand Up @@ -3521,7 +3521,7 @@
))

(defn clear-chart
""
"Remove all series from all dataset."
[chart]
(let [plot (-> chart .getPlot)
count (.getDatasetCount plot)]
Expand All @@ -3533,11 +3533,6 @@
(.removeSeries dataset i))))
chart))

(defn get-dataset
""
[chart index]
(-> chart .getPlot (.getDataset index)))

(defmethod set-data org.jfree.chart.JFreeChart
([chart data]
(set-data chart data 0))
Expand Down

0 comments on commit 6e87c4c

Please sign in to comment.