Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Selected X-Axis labels Post Reply Post New Topic
Page  of 2 Next >>
Author Message
EddiRae
Newbie
Newbie


Joined: 29 Aug 2008
Online Status: Offline
Posts: 30
Quote EddiRae Replybullet Topic: Selected X-Axis labels
    Posted: 27 Oct 2014 at 5:13pm
Hello,
I have a CR chart that I created in Visual Studio 2010.  I have the chart working, but the labels are crunched together when there are over 10 values charted. 

I was wondering if there was a way to only show certain values for the labels, but still chart all of the values.  So, instead of showing the numbers from 1 - 10, show 1, 5, and 10 as the labels, but have all of the values.

Thanks for your help in advance
Eddi Rae
IP IP Logged
z9962
Senior Member
Senior Member
Avatar

Joined: 04 Jul 2012
Online Status: Offline
Posts: 161
Quote z9962 Replybullet Posted: 27 Oct 2014 at 10:50pm
in CR not sure about VS, you can right mouse click on the axis and select Group x axis options. In there you have some options on how it is displayed. including skip group labels.
IP IP Logged
EddiRae
Newbie
Newbie


Joined: 29 Aug 2008
Online Status: Offline
Posts: 30
Quote EddiRae Replybullet Posted: 28 Oct 2014 at 12:39pm
I found those Group x axis options and that helped a bit.  Now I need to create a min and max for the x axis.  Is there a way to accomplish this?

Thanks so much for your help!!
Eddi Rae
IP IP Logged
z9962
Senior Member
Senior Member
Avatar

Joined: 04 Jul 2012
Online Status: Offline
Posts: 161
Quote z9962 Replybullet Posted: 28 Oct 2014 at 10:40pm
Is your x axis showing group information or data values?
If you are showing group data then this is taken from this field and can not be changed.
 
If it is however the data is been displayed on the x axis then you can change this under the scale tab.
IP IP Logged
EddiRae
Newbie
Newbie


Joined: 29 Aug 2008
Online Status: Offline
Posts: 30
Quote EddiRae Replybullet Posted: 29 Oct 2014 at 1:58am
The x-axis is showing age values from the data.  I need to have this dynamically changed if at all possible.  I can get the minimum and maximum ages that I need, I just don't know how to change those.

Can I do it in Visual Studio, or can I change it while printing?

Thanks for your help!!
Eddi Rae
IP IP Logged
z9962
Senior Member
Senior Member
Avatar

Joined: 04 Jul 2012
Online Status: Offline
Posts: 161
Quote z9962 Replybullet Posted: 29 Oct 2014 at 3:00am

I am not sure about VS. Though in Crystal you have two options with the data axis. Let Crystal decide or set it manually. Unfortunately you do not have an option to dynamically change the values.

IP IP Logged
EddiRae
Newbie
Newbie


Joined: 29 Aug 2008
Online Status: Offline
Posts: 30
Quote EddiRae Replybullet Posted: 29 Oct 2014 at 12:25pm
I am able to set the data axis for values, but I don't see where to be able to set the minimum and maximum of the X axis.
IP IP Logged
z9962
Senior Member
Senior Member
Avatar

Joined: 04 Jul 2012
Online Status: Offline
Posts: 161
Quote z9962 Replybullet Posted: 29 Oct 2014 at 10:56pm
you can only do this if the x axis is showing data values, not group values... If you want to control your group axis you will need to do this through a formula or select Expert to restrict the data.
IP IP Logged
EddiRae
Newbie
Newbie


Joined: 29 Aug 2008
Online Status: Offline
Posts: 30
Quote EddiRae Replybullet Posted: 30 Oct 2014 at 3:41am
I am not understanding what you mean to do.  Are you saying to uncheck the Group Values? 

I will try that on the assumption that this is what you are meaning.  I will get back to you with my results.
IP IP Logged
EddiRae
Newbie
Newbie


Joined: 29 Aug 2008
Online Status: Offline
Posts: 30
Quote EddiRae Replybullet Posted: 30 Oct 2014 at 3:52am
That didn't work ... the DATA values are the Y-axis.  The Group values are the X-Axis.  I need to be able to have ALL of the data show in the GROUP, but not all of the labels for them. 

I also need to have the x-axis start at the lowest value and end with the highest value.  If there are over 8 values displaying, I then need the labels to display in increments of 5 from the start until the end of the chart.

That is what I am trying to accomplish.
IP IP Logged
Page  of 2 Next >>
Post Reply Post New Topic
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



This page was generated in 0.031 seconds.