Problems with X-Axis label and displaying edge values
Problems with X-Axis label and displaying edge values
Hello dear stimulsoft support team,
My name is Doreen Collins.
I am new to the Stimulsoft support forum but I have been working with Stimulsoft Reports.Net for a little bit now.
Now I have come across some issues I cannot seem to find a solution for.
problem 1 (top chart in attached report files)
We want to display a chart which contains more than one datapoint with the same x-Axis label (Argument Data column e. g. 12 values for year 1988 all values with Argument Data values of 88)
We would like to display 1 label per specified range (e. g. one label every 12th value).
also we want to display a label for the very first value (datapoint) of the chart and the ticks (and labels) to the end of the x axis.
How would i proceed?
Is there a combination of
- ticks (count, range)
- x-axis labels (step)
- x-axis StartFromZero
- x-axis Range
Properties which allows to make the resulting report look like the attached screenshot? problem 2 (lower chart in attached report files)
In the second chart we would like to display 1 label every 10th value.
Ideally the labels displayed would be 0 10 20 ... Further questions:
(How) Do the values for x-axis label step, minor tick count, tick step relate to each other and or the datapoints/existing data values?
How come that if I change the value for x-axis label step to a different value the labels are not displayed right underneath a tick? (I have experienced this when i changed the label step of the top chart)
Thanks & regards,
Doreen Collins
My name is Doreen Collins.
I am new to the Stimulsoft support forum but I have been working with Stimulsoft Reports.Net for a little bit now.
Now I have come across some issues I cannot seem to find a solution for.
problem 1 (top chart in attached report files)
We want to display a chart which contains more than one datapoint with the same x-Axis label (Argument Data column e. g. 12 values for year 1988 all values with Argument Data values of 88)
We would like to display 1 label per specified range (e. g. one label every 12th value).
also we want to display a label for the very first value (datapoint) of the chart and the ticks (and labels) to the end of the x axis.
How would i proceed?
Is there a combination of
- ticks (count, range)
- x-axis labels (step)
- x-axis StartFromZero
- x-axis Range
Properties which allows to make the resulting report look like the attached screenshot? problem 2 (lower chart in attached report files)
In the second chart we would like to display 1 label every 10th value.
Ideally the labels displayed would be 0 10 20 ... Further questions:
(How) Do the values for x-axis label step, minor tick count, tick step relate to each other and or the datapoints/existing data values?
How come that if I change the value for x-axis label step to a different value the labels are not displayed right underneath a tick? (I have experienced this when i changed the label step of the top chart)
Thanks & regards,
Doreen Collins
Re: Problems with X-Axis label and displaying edge values
Hello.
What do you mean under 'datapoint'?
There are many properties of the X Axis on the property grid.
You could find there the Area - X-Axis - Labels - Step and Area - X-Axis - Ticks properties which should help you.
Thank you.
What do you mean under 'datapoint'?
There are many properties of the X Axis on the property grid.
You could find there the Area - X-Axis - Labels - Step and Area - X-Axis - Ticks properties which should help you.
Thank you.
Re: Problems with X-Axis label and displaying edge values
Hallo dear support team,
Thank you for your reply.
With datapoint I mean a row in a datatable.
I am well aware that there are many properties for adjusting the x-axis as well as the y-axis.
But I don’t know how the various properties relate to each other and how to manage to display the x-axis as needed.
What I want for an x-axis (as shown in Screenshot_XVWIN Beitragshistorie.JPG in the first post):
88 – 90 – 92 – 94 – 96 – 98 – 00 – 02 – 04 – 06 – 08 – 10 – 12 – 14
To achieve this I adjusted the following properties:
x-axis label step: 12
show Edge Values: true
Start from zero: false
ticks – minor count: 4
ticks – minor visible: true
ticks – step 12
as shown in the screenshot what I get in the preview (Historie) is an x-axis:
1 – 1992 – 1997 – 2002 – 2007
see screenshot: This is not what I expected, I didn’t expect the x-axis to start with 1 but 1988 since 1988 is the value of the first row in column0 of my corresponding datatable.
Also I am missing the minor ticks to right end of the x-axis.
And which property does hold the label values shown
I don’t know how to make my preview show x-axis labels for every 2nd major tick
I don’t know how to display 1988 instead of 1 for the very first major tick
I hope this text makes my problems a little clearer and you will be able to help me solve my problem(s),
I updated the report files thank you & best regards,
Doreen Collins
Thank you for your reply.
With datapoint I mean a row in a datatable.
I am well aware that there are many properties for adjusting the x-axis as well as the y-axis.
But I don’t know how the various properties relate to each other and how to manage to display the x-axis as needed.
What I want for an x-axis (as shown in Screenshot_XVWIN Beitragshistorie.JPG in the first post):
88 – 90 – 92 – 94 – 96 – 98 – 00 – 02 – 04 – 06 – 08 – 10 – 12 – 14
To achieve this I adjusted the following properties:
x-axis label step: 12
show Edge Values: true
Start from zero: false
ticks – minor count: 4
ticks – minor visible: true
ticks – step 12
as shown in the screenshot what I get in the preview (Historie) is an x-axis:
1 – 1992 – 1997 – 2002 – 2007
see screenshot: This is not what I expected, I didn’t expect the x-axis to start with 1 but 1988 since 1988 is the value of the first row in column0 of my corresponding datatable.
Also I am missing the minor ticks to right end of the x-axis.
And which property does hold the label values shown
I don’t know how to make my preview show x-axis labels for every 2nd major tick
I don’t know how to display 1988 instead of 1 for the very first major tick
I hope this text makes my problems a little clearer and you will be able to help me solve my problem(s),
I updated the report files thank you & best regards,
Doreen Collins
Re: Problems with X-Axis label and displaying edge values
Hello.
Sorry, we need a little more time to prepare an answer for you.
Thank you.
Sorry, we need a little more time to prepare an answer for you.
Thank you.
Re: Problems with X-Axis label and displaying edge values
Hallo dear support team,
it has been a while and I havent heard back from you so i want to get back in touch with you.
I am still not (fully) understanding how the property StartFromZero for the x-axis affects the Labels and the data shown in the graph.
Therefor I assembled a simple example project.
It contains the information I want to show in a table and 2 graphs. Both graphs have the same settings and data(source).
they only differ in the StartFromZero property of area.xAxis In the upper graph with the StartFromZero property set to true, the x-axis starts with 0 but the line does not begin where x-axis is 0.
It starts with an offset but according to the SeriesLabels (arguments) is calculated and labeled correctly.
but we do not use SeriesLabel in the end product so between the line and the x-axis there is an offset of 1 and the data is not shown correctly.
In the lower graph with the StartFromZero property set to false, the x-axis starts with 1 and the line also starts at value 1 (on the y-axis).
The labels of the x-axis are in line with the Serieslabel, but the line also is not displayed correctly (the line value for 19 should not be the last
of the lower values before the line rises again, but 20).
I have checked the bahaviour with 2012.3.1500.0 (Stimulsoft Reports.NET 2012.3 Trial) and 2012.2.1400.0. it is the same with both versions.
So which value or what does start from zero when the property StartFromZero is set to true?
And s it possible to design a graph where the there is no offset between line and x-axis? (in this example, x-axis starting
at 0 and and the line starting at 0 too)
thank you & best regards,
Doreen
Attachements:
it has been a while and I havent heard back from you so i want to get back in touch with you.
I am still not (fully) understanding how the property StartFromZero for the x-axis affects the Labels and the data shown in the graph.
Therefor I assembled a simple example project.
It contains the information I want to show in a table and 2 graphs. Both graphs have the same settings and data(source).
they only differ in the StartFromZero property of area.xAxis In the upper graph with the StartFromZero property set to true, the x-axis starts with 0 but the line does not begin where x-axis is 0.
It starts with an offset but according to the SeriesLabels (arguments) is calculated and labeled correctly.
but we do not use SeriesLabel in the end product so between the line and the x-axis there is an offset of 1 and the data is not shown correctly.
In the lower graph with the StartFromZero property set to false, the x-axis starts with 1 and the line also starts at value 1 (on the y-axis).
The labels of the x-axis are in line with the Serieslabel, but the line also is not displayed correctly (the line value for 19 should not be the last
of the lower values before the line rises again, but 20).
I have checked the bahaviour with 2012.3.1500.0 (Stimulsoft Reports.NET 2012.3 Trial) and 2012.2.1400.0. it is the same with both versions.
So which value or what does start from zero when the property StartFromZero is set to true?
And s it possible to design a graph where the there is no offset between line and x-axis? (in this example, x-axis starting
at 0 and and the line starting at 0 too)
thank you & best regards,
Doreen
Attachements:
Re: Problems with X-Axis label and displaying edge values
Hello.
The point of the chart of the X Axis are set in the order they are.
It seems that you didn't set the Argument Data Column property of the Series on the second chart. So you get the wrong numbers of the X Axis. But it's just the number of the order of the values.
If you will set the Argument Data Column you will get the attached chart.
The Start From Zero property just add some space on the edges of chart. and the number of this argument is zero.
There are 2 solutions of your issue.
At first you should set the Argument Data Column property of the Series.
1. Set the Start From Zero property to True and the Show Edge Values to False.
2. Set the Start From Zero property to False and the Show Edge Values to True.
Thank you.
Sorry for the delay with answer.So which value or what does start from zero when the property StartFromZero is set to true?
And s it possible to design a graph where the there is no offset between line and x-axis? (in this example, x-axis starting
at 0 and and the line starting at 0 too)
The point of the chart of the X Axis are set in the order they are.
It seems that you didn't set the Argument Data Column property of the Series on the second chart. So you get the wrong numbers of the X Axis. But it's just the number of the order of the values.
If you will set the Argument Data Column you will get the attached chart.
The Start From Zero property just add some space on the edges of chart. and the number of this argument is zero.
There are 2 solutions of your issue.
At first you should set the Argument Data Column property of the Series.
1. Set the Start From Zero property to True and the Show Edge Values to False.
2. Set the Start From Zero property to False and the Show Edge Values to True.
Thank you.
- Attachments
-
- SimpleChart_updated.mrt
- (29.88 KiB) Downloaded 268 times
Re: Problems with X-Axis label and displaying edge values
hello Aleksey,
thank you for your answer
your updated report file did have the desired outcome with the latest release (2013.1 from today).
With older releases e. g. 2012.3 it didnt. Were there changes relating to this?
Thank you very much for your help and support
thank you for your answer

your updated report file did have the desired outcome with the latest release (2013.1 from today).
With older releases e. g. 2012.3 it didnt. Were there changes relating to this?
Thank you very much for your help and support

Re: Problems with X-Axis label and displaying edge values
Hello.
We will answer on your other questions faster.
Thank you.
We are constantly improving our products.Diffenetly there were several improvements.DCollins wrote:thank you for your answer
your updated report file did have the desired outcome with the latest release (2013.1 from today).
With older releases e. g. 2012.3 it didnt. Were there changes relating to this?
Sorry for delay with previous answer.DCollins wrote:Thank you very much for your help and support
We will answer on your other questions faster.
Thank you.