Jump to content

how to set value for X axis in XY Line chart?


asumoto

Recommended Posts

hello, i am currently using ireport 1.2.6 and i am created a XY Line chart type.

I have 2 fields lets said $F{DATE} and $F{SALES}. The $F{DATE} i put under X axis and the $F{SALES} i put under Y axis.

When i view the report it give me value under X axis (date) under double value and 2.5 interval

(2.5, 5, 7.5, 10, 12.5, 15, 17.5, 20, 22.5, 25, 27.5, 30).

I need the report to show me the date in integer for ex 1, 2, 3, 4, 5, ..... ,30 for the date in X axis.

 

Anyone know how to set the value for the X axis? i need this because i have the sales for every date in one month.

 

Thank you...

Link to comment
Share on other sites

  • Replies 1
  • 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...