I've used CF charting like once or twice in my career. Flex charting more, and Corda's Popchart years ago.

I'll bet you'll find many more people with experience in the charting tools by asking one of the CF groups or Adobe's.
This seems like a general ColdFusion issue to me.

Then, always check for tag differences in the OpenBD world:
http://wiki.openbluedragon.org/wiki/index.php/Compatibility:SupportedTagDifferences#CFCHART

That said, can you just set an empty string as a label - unless listFind("5,0",right(numberFormat(minute,"00"),1) ?
Or something like that?

Alan Holden


On 2/10/2010 11:49 AM, Jason Allen wrote:
Hi guys,

I'm trying to build a chart. I'm getting statistics for page views.

The chart should show a bar for each minute in an hour.

aka 60 bars.

However, I only want the x axis to be labeled for every 5 minutes

A perfect example, which I am trying to duplicate, can be found at

http://bit.ly/info/aUjFpL

Look at the "now" graph. As you can see, only markers for 5 minute
intervals are labeled on the x axis, but a graph is generated for each
minute.

My guess is I setup two chart series, and hide the item label for the
single minute graph on series 1, and on series 2, I hide the graph but
only show the item label??

How do I set this up? I'm looking at examples, and I'm not sure how to
get this configured...

  <cfchartseries type="bar" colorlist="red,green,blue,black">
   <cfchartdata item="1 minute" value="#1#">
   <cfchartdata item="2 minute" value="#2#">
   <cfchartdata item="3 minute" value="#3#">

.....

   <cfchartdata item="59 minute" value="#59#">
   <cfchartdata item="60 minute" value="#60#">
<!--- I'd like th show these graphs, but not the itemlabel for each---
</cfchartseries>


  <cfchartseries type="bar" colorlist="red,green,blue,black">
   <cfchartdata item="5 minute" value="#5#">
   <cfchartdata item="10 minute" value="#10#">
   <cfchartdata item="15 minute" value="#15#">
.....
   <cfchartdata item="60 minute" value="#60#">
I'd like to show the item label, but not the graph
</cfchartseries>


--
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 !!

Reply via email to