Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: change the group scale (line chart) Post Reply Post New Topic
Author Message
lalakeyorai
Newbie
Newbie


Joined: 01 Nov 2009
Online Status: Offline
Posts: 19
Quote lalakeyorai Replybullet Topic: change the group scale (line chart)
     Posted: 15 Nov 2009 at 10:44am
Hi,
 
i have this series of data called 'Date&Time', for example:
 
Date&Time
1 nov 2009 19:20
1 nov 2009 19:28
1 nov 2009 19:40
1 nov 2009 20:39
1 nov 2009 20.41
1 nov 2009 21:02
1 nov 2009 21:21
1 nov 2009 22:20
1 nov 2009 22:33
 
 
i've generate a line chart and select a group called Data for "Show value" and Date&Time for "On change of:" and by this selection, the Data group is on the y-axis while DateTime group is on the x-axis. the chart turns out perfectly but the x-axis is showing the time for each data. like:
 
     ,           ,           ,          ,          ,          ,          ,     
 19:20   19:26  19:40  20:39  20:41  21:02  21:21
 
 
so, is it possible for me to change the x-axis format so that it scaled hourly? like this:
 
    ,           ,           ,          ,          ,          ,       ,   
 19:00              20:00             21:00            22:00
 
 
thanks in advance...
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 16 Nov 2009 at 8:24am

In the Chart Expert > Data tab > On change of ... highlight the time field  then click on the Order button and change it to "for each hour"

IP IP Logged
lalakeyorai
Newbie
Newbie


Joined: 01 Nov 2009
Online Status: Offline
Posts: 19
Quote lalakeyorai Replybullet Posted: 16 Nov 2009 at 9:23am
DBlank,
 
Thank you so much for your reply.
 
is it correct by selecting "for each hour" option is to change the data format? (correct me if im wrong). because what im trying to do is, the data will still be mark according to the data in Date&Time column (19:20, 19:40, 20:39 and so on) but on the x-axis, instead of displaying each of time that is being marked, i need the x-axis display scale by hour.
 
hope u can understand what im trying to do.
 
 
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 16 Nov 2009 at 9:54am

It will group the data for that hour and plot a point on your chart based on whatever the Value fields for that hour is.

I am not sure how to just alter the x-axis labels as you want without grouping on the hour. Sorry.
IP IP Logged
lalakeyorai
Newbie
Newbie


Joined: 01 Nov 2009
Online Status: Offline
Posts: 19
Quote lalakeyorai Replybullet Posted: 16 Nov 2009 at 10:04am
Ohh, nevermind.. Big%20smile 
 
thanks for helping me... really really appreciate it... thank you
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum