[1.0.13] drawing "markers" on a SpiderWebPlot

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
sardaukar
Posts: 6
Joined: Tue Feb 23, 2010 4:57 pm
antibot: No, of course not.

[1.0.13] drawing "markers" on a SpiderWebPlot

Post by sardaukar » Tue May 04, 2010 5:03 pm

Hello.

I'm developing a JRuby-powered JFreeChart server, that gets POST data and definitions for charts and returns a Base64-encoded PNG containing the chart. So far, so good but I also need to draw "markers" to serve as visual cues for threshold values on certain graphs. For XY plots, addRangeMarker (I can make for example Y from 1 to 3 have a yellow background) is my friend, but for SpiderWebPlots there is no such easy way to do it, as I can see it.

Can I use drawRadarPoly to get the same effect? If so, how can I create an adequate PlotRenderingInfo structure?


Thanks for any feedback!

Locked