I'm not having much luck with skipping x-axis labels in jFreeChart yet, but
I'll keep digging. But personally I think the line chart works better for
the type of data you're displaying:
<cfchart xaxistitle="Minutes Ago" yaxistitle="Hits" chartwidth="600"
chartheight="400">
<cfchartseries type="line">
<cfchartdata item="15" value="23">
<cfchartdata item="14" value="21">
<cfchartdata item="13" value="25">
<cfchartdata item="12" value="23">
<cfchartdata item="11" value="13">
<cfchartdata item="10" value="23">
<cfchartdata item="9" value="21">
<cfchartdata item="8" value="25">
<cfchartdata item="7" value="23">
<cfchartdata item="6" value="13">
<cfchartdata item="5" value="23">
<cfchartdata item="4" value="21">
<cfchartdata item="3" value="25">
<cfchartdata item="2" value="23">
<cfchartdata item="1" value="13">
<cfchartdata item="now" value="18">
</cfchartseries>
</cfchart>
Running example here:
http://mattwoodward.com/demos/linechart.cfm
I have a feeling the "skiplabels" bit that's available in Adobe CF is
because they use a commercial charting library called WebCharts3D that
probably happens to support that option. From what I've seen so far
jFreeCharts doesn't. That doesn't mean it isn't possible by digging deeper
into the API, but on the face of things it doesn't seem to be directly
supported.
--
Matthew Woodward
[email protected]
http://blog.mattwoodward.com
identi.ca/Twitter: @mpwoodward
Please do not send me proprietary file formats such as Word, PowerPoint,
etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html
--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
mailing list - http://groups.google.com/group/openbd?hl=en
!! save a network - please trim replies before posting !!