Jump to content
We've recently updated our Privacy Statement, available here ×

Newbie XY bar graph expression problem


xad

Recommended Posts

I have a simple chart that I'm having problems with.

I have a query which returns 2 types, one of which is a long and another as a type time broken down in hourly increments.

I want to simply have the time displayed (2:00, 3:00, 4:00 etc) on the X-Axis Expression but I keep getting an error stating that the variable cannot be cast from time to Number. I tried casting it to ints but no luck.

Here is my expression list

Series Expression = Yesterday's Date (java.sql.Date)

X Value Expression = Hour (java.sql.Time)

Y Value Expression = Totalhits (java.sql.Long)

Label Expression = none.

What am I doing wrong? I simply want the each X hour to display Y hits.

 

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...