Skip to content

Commit

Permalink
fixed bug with add-pointer annotation in incanter.charts.
Browse files Browse the repository at this point in the history
  • Loading branch information
liebke committed Nov 25, 2009
1 parent b443e9d commit 1417045
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/incanter/charts.clj
Expand Up @@ -1061,21 +1061,21 @@
(do
(cond
(= angle n)
(.setTextAnchor TextAnchor/BASELINE_CENTER)
(.setTextAnchor anno TextAnchor/BASELINE_CENTER)
(= angle s)
(.setTextAnchor TextAnchor/CENTER)
(.setTextAnchor anno TextAnchor/CENTER)
(= angle w)
(.setTextAnchor TextAnchor/CENTER_RIGHT)
(.setTextAnchor anno TextAnchor/CENTER_RIGHT)
(= angle e)
(.setTextAnchor TextAnchor/CENTER_LEFT)
(.setTextAnchor anno TextAnchor/CENTER_LEFT)
(= angle nw)
(.setTextAnchor TextAnchor/CENTER_RIGHT)
(.setTextAnchor anno TextAnchor/CENTER_RIGHT)
(= angle ne)
(.setTextAnchor TextAnchor/CENTER_LEFT)
(.setTextAnchor anno TextAnchor/CENTER_LEFT)
(= angle sw)
(.setTextAnchor TextAnchor/CENTER_RIGHT)
(.setTextAnchor anno TextAnchor/CENTER_RIGHT)
(= angle se)
(.setTextAnchor TextAnchor/CENTER_LEFT))
(.setTextAnchor anno TextAnchor/CENTER_LEFT))
(.addAnnotation (.getPlot chart) anno)))))


Expand Down

0 comments on commit 1417045

Please sign in to comment.