Skip to main content
Inspiring
April 26, 2006
Question

How do I display every Nth label along some of axis?

  • April 26, 2006
  • 1 reply
  • 542 views
I could use something like SELECT CASE([for instance, ...blabla...)
for getting different types of data for every row depending on some conditions, but it's too intricate.

Could I just display only every Nth label for query data? There is too much of overlapped text I get sometimes (when selecting large time range - I have time along X axis and able to indicate time range).
This topic has been closed for replies.

1 reply

Inspiring
April 26, 2006
Depends on how you're displaying the graph/axis, but something like this might work:

Inspiring
April 26, 2006
Peter, thanks, but how do I adopt this for using with cfchartseries? It requires indicating itemColumn. And cfloop is not used - it's for cfchartdata...
Inspiring
April 26, 2006
Not sure, I've never actually used the cfchart~ tags, but looking at the docs it's accepting a query, so you could create a copy of the original query, loop through and remove labels, then pass in the new query.

Something like this...