I did specify the step scale for X axis, so that it is expected that the max date does not show up.
10 Answers, 1 is accepted
Thank you for contacting Telerik Support.
We are experiencing some trouble reproducing the described behavior on our end. In order to suggest a solution, we will need a runnable sample report with test data which exhibits the problematic behavior. It will be greatly appreciated if you can provide us with such sample, so we can review it locally and advise accordingly.
Regards,
Nasko
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

How can I send you the sample codes to reproduce the same problem? The forum only allows the uploading of image files.
thanks

{
public class SampleData
{
public class DataContainer
{
public DateTime Date { get; set; }
public double Value { get; set; }
}
public static List<DataContainer> GetData()
{
var data = new List<DataContainer>();
data.Add(new DataContainer { Date = new DateTime(2010, 12, 31), Value = 0});
data.Add(new DataContainer { Date = new DateTime(2011, 1, 31), Value = 0.00329629369039686 });
data.Add(new DataContainer { Date = new DateTime(2011, 2, 28), Value = 0 });
data.Add(new DataContainer { Date = new DateTime(2011, 3, 31), Value = 0 });
data.Add(new DataContainer { Date = new DateTime(2011, 4, 30), Value = 0});
data.Add(new DataContainer { Date = new DateTime(2011, 5, 31), Value = 0 });
data.Add(new DataContainer { Date = new DateTime(2011, 6, 30), Value = 0.0231474321877591});
data.Add(new DataContainer { Date = new DateTime(2011, 7, 31), Value = 0.131670260377648 });
data.Add(new DataContainer { Date = new DateTime(2011, 8, 31), Value = 0.01790367390035});
data.Add(new DataContainer { Date = new DateTime(2011, 9, 30), Value = 0.010161164232586 });
data.Add(new DataContainer { Date = new DateTime(2011, 10, 31), Value = 0.0106253697904957 });
data.Add(new DataContainer { Date = new DateTime(2011, 11, 30), Value = 0});
data.Add(new DataContainer { Date = new DateTime(2011, 12, 31), Value = 0});
data.Add(new DataContainer { Date = new DateTime(2012, 1, 31), Value = 0});
data.Add(new DataContainer { Date = new DateTime(2012, 2, 29), Value = 0});
data.Add(new DataContainer { Date = new DateTime(2012, 3, 31), Value = 0});
data.Add(new DataContainer { Date = new DateTime(2012, 4, 30), Value = 0.0135246490556982});
data.Add(new DataContainer { Date = new DateTime(2012, 5, 31), Value = 0});
data.Add(new DataContainer { Date = new DateTime(2012, 6, 30), Value = 0.0213334719950437 });
data.Add(new DataContainer { Date = new DateTime(2012, 7, 31), Value = 0.0117302593412535});
data.Add(new DataContainer { Date = new DateTime(2012, 8, 31), Value = 0});
data.Add(new DataContainer { Date = new DateTime(2012, 9, 30), Value = 0});
data.Add(new DataContainer { Date = new DateTime(2012, 10, 31), Value = 0});
data.Add(new DataContainer { Date = new DateTime(2012, 11, 30), Value = 0});
data.Add(new DataContainer { Date = new DateTime(2012, 12, 31), Value = 0});
data.Add(new DataContainer { Date = new DateTime(2013, 1, 31), Value = 0});
data.Add(new DataContainer { Date = new DateTime(2013, 2, 28), Value = 0});
data.Add(new DataContainer { Date = new DateTime(2013, 3, 31), Value = 0.00482453232089686});
data.Add(new DataContainer { Date = new DateTime(2013, 4, 30), Value = 0});
data.Add(new DataContainer { Date = new DateTime(2013, 5, 31), Value = 0});
data.Add(new DataContainer { Date = new DateTime(2013, 6, 30), Value = 0.00589240261316804});
data.Add(new DataContainer { Date = new DateTime(2013, 7, 31), Value = 0 });
data.Add(new DataContainer { Date = new DateTime(2013, 8, 31), Value = 0.0193991154082818});
data.Add(new DataContainer { Date = new DateTime(2013, 9, 30), Value = 0});
data.Add(new DataContainer { Date = new DateTime(2013, 10, 31), Value = 0 });
data.Add(new DataContainer { Date = new DateTime(2013, 11, 30), Value = 0.0157661954789846});
data.Add(new DataContainer { Date = new DateTime(2013, 12, 31), Value = 0.038372975156986});
data.Add(new DataContainer { Date = new DateTime(2014, 1, 31), Value = 0.0157855872122038});
data.Add(new DataContainer { Date = new DateTime(2014, 2, 28), Value = 0});
data.Add(new DataContainer { Date = new DateTime(2010, 12, 31), Value = 0.00261634062003278});
data.Add(new DataContainer { Date = new DateTime(2011, 1, 31), Value = 0.00107941965638778});
data.Add(new DataContainer { Date = new DateTime(2011, 2, 28), Value = 0.00165574408533374});
data.Add(new DataContainer { Date = new DateTime(2011, 3, 31), Value = 0.00143889602699978});
data.Add(new DataContainer { Date = new DateTime(2011, 4, 30), Value = 0.00169831750248167});
data.Add(new DataContainer { Date = new DateTime(2011, 5, 31), Value = 0.00314569441127586 });
data.Add(new DataContainer { Date = new DateTime(2011, 6, 30), Value = 0.0023551147700646});
data.Add(new DataContainer { Date = new DateTime(2011, 7, 31), Value = 0.00146821696802443 });
data.Add(new DataContainer { Date = new DateTime(2011, 8, 31), Value = 0.00277766221155474 });
data.Add(new DataContainer { Date = new DateTime(2011, 9, 30), Value = 0.00189904184717615 });
data.Add(new DataContainer { Date = new DateTime(2011, 10, 31), Value = 0.000208031895818448 });
data.Add(new DataContainer { Date = new DateTime(2011, 11, 30), Value = 0.00286841124988111 });
data.Add(new DataContainer { Date = new DateTime(2011, 12, 31), Value = 0.00316740865760977 });
data.Add(new DataContainer { Date = new DateTime(2012, 1, 31), Value = 0.000244250416285527 });
data.Add(new DataContainer { Date = new DateTime(2012, 2, 29), Value = 0.000791268622100871 });
data.Add(new DataContainer { Date = new DateTime(2012, 3, 31), Value = 0.00470167798109856 });
data.Add(new DataContainer { Date = new DateTime(2012, 4, 30), Value = 0.000939393794549409 });
data.Add(new DataContainer { Date = new DateTime(2012, 5, 31), Value = 0.00513798634431579 });
data.Add(new DataContainer { Date = new DateTime(2012, 6, 30), Value = 0.00109487434249439});
data.Add(new DataContainer { Date = new DateTime(2012, 7, 31), Value = 0.00229590108087792});
data.Add(new DataContainer { Date = new DateTime(2012, 8, 31), Value = 0.00384799166711567 });
data.Add(new DataContainer { Date = new DateTime(2012, 9, 30), Value = 0.000358013356289133 });
data.Add(new DataContainer { Date = new DateTime(2012, 10, 31), Value = 0.00401947493286286 });
data.Add(new DataContainer { Date = new DateTime(2012, 11, 30), Value = 0.00419790711100766 });
data.Add(new DataContainer { Date = new DateTime(2012, 12, 31), Value = 0.00459726728358049 });
data.Add(new DataContainer { Date = new DateTime(2013, 1, 31), Value = 0.00378152609630171});
data.Add(new DataContainer { Date = new DateTime(2013, 2, 28), Value = 0.00177281276987151});
data.Add(new DataContainer { Date = new DateTime(2013, 3, 31), Value = 0.00216874297101936});
data.Add(new DataContainer { Date = new DateTime(2013, 4, 30), Value = 0.00112260837662597});
data.Add(new DataContainer { Date = new DateTime(2013, 5, 31), Value = 0.00559449507462656 });
data.Add(new DataContainer { Date = new DateTime(2013, 6, 30), Value = 0.00688419727769853 });
data.Add(new DataContainer { Date = new DateTime(2013, 7, 31), Value = 0.00267782846039567});
data.Add(new DataContainer { Date = new DateTime(2013, 8, 31), Value = 0.00548278928858488 });
data.Add(new DataContainer { Date = new DateTime(2013, 9, 30), Value = 0.00520677282826084 });
data.Add(new DataContainer { Date = new DateTime(2013, 10, 31), Value = 0.00516829058099718 });
data.Add(new DataContainer { Date = new DateTime(2013, 11, 30), Value = 0.00360403025946605 });
data.Add(new DataContainer { Date = new DateTime(2013, 12, 31), Value = 0.00348819339983042 });
data.Add(new DataContainer { Date = new DateTime(2014, 1, 31), Value = 0.000743683311480944 });
data.Add(new DataContainer { Date = new DateTime(2014, 2, 28), Value = 0.0020045116632811 });
return data;
}
}
}

{
partial class Report1
{
#region Component Designer generated code
/// <summary>
/// Required method for telerik Reporting designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
Telerik.Reporting.GraphGroup graphGroup1 = new Telerik.Reporting.GraphGroup();
Telerik.Reporting.GraphGroup graphGroup3 = new Telerik.Reporting.GraphGroup();
Telerik.Reporting.GraphTitle graphTitle1 = new Telerik.Reporting.GraphTitle();
Telerik.Reporting.DateTimeScale dateTimeScale1 = new Telerik.Reporting.DateTimeScale();
Telerik.Reporting.NumericalScale numericalScale1 = new Telerik.Reporting.NumericalScale();
Telerik.Reporting.Drawing.ColorPalette colorPalette1 = new Telerik.Reporting.Drawing.ColorPalette();
Telerik.Reporting.GraphGroup graphGroup2 = new Telerik.Reporting.GraphGroup();
Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule();
Telerik.Reporting.Drawing.StyleRule styleRule2 = new Telerik.Reporting.Drawing.StyleRule();
Telerik.Reporting.Drawing.StyleRule styleRule3 = new Telerik.Reporting.Drawing.StyleRule();
Telerik.Reporting.Drawing.StyleRule styleRule4 = new Telerik.Reporting.Drawing.StyleRule();
this.objectDataSource1 = new Telerik.Reporting.ObjectDataSource();
this.detail = new Telerik.Reporting.DetailSection();
this.TelerikBugSample = new Telerik.Reporting.Graph();
this.cartesianCoordinateSystem1 = new Telerik.Reporting.CartesianCoordinateSystem();
this.graphAxis1 = new Telerik.Reporting.GraphAxis();
this.graphAxis2 = new Telerik.Reporting.GraphAxis();
this.barSeries1 = new Telerik.Reporting.BarSeries();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// objectDataSource1
//
this.objectDataSource1.DataMember = "GetData";
this.objectDataSource1.DataSource = typeof(Project1.SampleData);
this.objectDataSource1.Name = "objectDataSource1";
//
// detail
//
this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(3.9999997615814209D);
this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
this.TelerikBugSample});
this.detail.Name = "detail";
//
// TelerikBugSample
//
this.TelerikBugSample.Anchoring = Telerik.Reporting.AnchoringStyles.Top;
graphGroup1.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.Date"));
graphGroup1.Label = "= Fields.Date.ToString(\"MM-yy\")";
graphGroup1.Name = "DateGroup";
graphGroup1.Sortings.Add(new Telerik.Reporting.Sorting("=Fields.Date", Telerik.Reporting.SortDirection.Asc));
this.TelerikBugSample.CategoryGroups.Add(graphGroup1);
this.TelerikBugSample.CoordinateSystems.Add(this.cartesianCoordinateSystem1);
this.TelerikBugSample.DataSource = this.objectDataSource1;
this.TelerikBugSample.Legend.Style.LineColor = System.Drawing.Color.LightGray;
this.TelerikBugSample.Legend.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D);
this.TelerikBugSample.Legend.Style.Visible = false;
this.TelerikBugSample.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.5D), Telerik.Reporting.Drawing.Unit.Inch(0.5D));
this.TelerikBugSample.Name = "TelerikBugSample";
this.TelerikBugSample.PlotAreaStyle.LineColor = System.Drawing.Color.LightGray;
this.TelerikBugSample.PlotAreaStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D);
this.TelerikBugSample.Series.Add(this.barSeries1);
graphGroup3.Name = "graphGroup1";
this.TelerikBugSample.SeriesGroups.Add(graphGroup3);
this.TelerikBugSample.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(5D), Telerik.Reporting.Drawing.Unit.Inch(3.0000002384185791D));
graphTitle1.Style.LineColor = System.Drawing.Color.LightGray;
graphTitle1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D);
graphTitle1.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Inch(0.10000000149011612D);
graphTitle1.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.10000000149011612D);
graphTitle1.Text = "= \"Sample Chart\"";
this.TelerikBugSample.Titles.Add(graphTitle1);
//
// cartesianCoordinateSystem1
//
this.cartesianCoordinateSystem1.Name = "cartesianCoordinateSystem1";
this.cartesianCoordinateSystem1.XAxis = this.graphAxis1;
this.cartesianCoordinateSystem1.YAxis = this.graphAxis2;
//
// graphAxis1
//
this.graphAxis1.LabelAngle = -30;
this.graphAxis1.LabelFormat = "{0:MMM-yy}";
this.graphAxis1.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray;
this.graphAxis1.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D);
this.graphAxis1.MajorGridLineStyle.Visible = false;
this.graphAxis1.MajorTickMarkDisplayType = Telerik.Reporting.GraphAxisTickMarkDisplayType.Outside;
this.graphAxis1.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray;
this.graphAxis1.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D);
this.graphAxis1.MinorGridLineStyle.Visible = false;
this.graphAxis1.Name = "GraphAxis1";
dateTimeScale1.BaseUnit = Telerik.Reporting.DateTimeScaleUnits.Months;
dateTimeScale1.LabelStep = 3;
dateTimeScale1.LabelUnit = Telerik.Reporting.DateTimeScaleUnits.Months;
dateTimeScale1.MajorStep = 3;
dateTimeScale1.MajorUnit = Telerik.Reporting.DateTimeScaleUnits.Months;
dateTimeScale1.MinorStep = 3;
dateTimeScale1.MinorUnit = Telerik.Reporting.DateTimeScaleUnits.Months;
this.graphAxis1.Scale = dateTimeScale1;
//
// graphAxis2
//
this.graphAxis2.LabelFormat = "{0:P2}";
this.graphAxis2.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray;
this.graphAxis2.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D);
this.graphAxis2.MajorGridLineStyle.Visible = false;
this.graphAxis2.MajorTickMarkDisplayType = Telerik.Reporting.GraphAxisTickMarkDisplayType.Outside;
this.graphAxis2.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray;
this.graphAxis2.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D);
this.graphAxis2.MinorGridLineStyle.Visible = false;
this.graphAxis2.Name = "GraphAxis2";
this.graphAxis2.Scale = numericalScale1;
//
// barSeries1
//
this.barSeries1.CategoryGroup = graphGroup1;
colorPalette1.Colors.Add(System.Drawing.Color.DodgerBlue);
this.barSeries1.ColorPalette = colorPalette1;
this.barSeries1.CoordinateSystem = this.cartesianCoordinateSystem1;
this.barSeries1.DataPointLabel = "= (Fields.Value)";
this.barSeries1.DataPointLabelFormat = "{0:P1}";
this.barSeries1.DataPointLabelStyle.Visible = false;
this.barSeries1.LegendItem.Style.BackgroundColor = System.Drawing.Color.Transparent;
this.barSeries1.LegendItem.Style.LineColor = System.Drawing.Color.Transparent;
this.barSeries1.LegendItem.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D);
this.barSeries1.Name = "barSeriesValue";
graphGroup2.Name = "graphGroup1";
this.barSeries1.SeriesGroup = graphGroup2;
this.barSeries1.X = "= Fields.Date";
this.barSeries1.Y = "= Fields.Value";
//
// Report1
//
this.DataSource = this.objectDataSource1;
this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
this.detail});
this.Name = "Report1";
this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D));
this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter;
this.Style.BackgroundColor = System.Drawing.Color.White;
styleRule1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] {
new Telerik.Reporting.Drawing.StyleSelector("Title")});
styleRule1.Style.Color = System.Drawing.Color.Black;
styleRule1.Style.Font.Bold = true;
styleRule1.Style.Font.Italic = false;
styleRule1.Style.Font.Name = "Tahoma";
styleRule1.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(18D);
styleRule1.Style.Font.Strikeout = false;
styleRule1.Style.Font.Underline = false;
styleRule2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] {
new Telerik.Reporting.Drawing.StyleSelector("Caption")});
styleRule2.Style.Color = System.Drawing.Color.Black;
styleRule2.Style.Font.Name = "Tahoma";
styleRule2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(10D);
styleRule2.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle;
styleRule3.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] {
new Telerik.Reporting.Drawing.StyleSelector("Data")});
styleRule3.Style.Font.Name = "Tahoma";
styleRule3.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D);
styleRule3.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle;
styleRule4.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] {
new Telerik.Reporting.Drawing.StyleSelector("PageInfo")});
styleRule4.Style.Font.Name = "Tahoma";
styleRule4.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D);
styleRule4.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle;
this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] {
styleRule1,
styleRule2,
styleRule3,
styleRule4});
this.Width = Telerik.Reporting.Drawing.Unit.Inch(6D);
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
#endregion
private Telerik.Reporting.ObjectDataSource objectDataSource1;
private Telerik.Reporting.DetailSection detail;
private Telerik.Reporting.Graph TelerikBugSample;
private Telerik.Reporting.CartesianCoordinateSystem cartesianCoordinateSystem1;
private Telerik.Reporting.GraphAxis graphAxis1;
private Telerik.Reporting.GraphAxis graphAxis2;
private Telerik.Reporting.BarSeries barSeries1;
}
}
Thank you for the provided code. It allowed us to reproduce the issue locally.
There seems to be an issue with the precision of very small double values in the Graph item. We will log this issue in our system for further investigation and improvement in a future release of the Reporting suite.
Your Telerik points have been updated to thank you for letting us know about the issue.
At the moment, you can work around this issue by setting the following properties of the Graph:
1. Graph.Series.BarSeriesValue.Y = Round(Fields.Value * 100)
2. ​Graph.CoordinateSystems.cartesianCoordinateSystem1.YAxis.LabelFormat = {0:0.00'%'}
You can also set these properties in code:
this
.barSeries1.Y =
"= Round(Fields.Value * 100)"
;
this
.graphAxis2.LabelFormat =
"{0:0.00\'%\'}"
;
Apologies for any inconvenience this issue may have caused you.
Regards, Nasko
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

The workaround has a little problem as it will round out any differences under 1%. I hope Telerik Reporting will get this issue fixed in future release.
We are already testing a solution for this issue. If all goes well we are going to implement the solution in a subsequent release of Telerik Reporting.
Regards,
Nasko
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

I want to say that Telerik Reporting is the best Reporting package on the market.

Hi,
I am using Telerik Reporting 10.0.16.204 version.
I am facing the same issue. And I guess it is based on the data.
I have two different datasets attached in DataSets.PNG file here.If i generate chart using first set of data it doesn't show Y-Axis max value. But if generate chart using second data it shows Y-Axis max value.
Attached here two screenshots which shows Y-Axis max point issue.
I am using stand alone report designer. I did not set max and min value for Y Axis.
I tried the given solution - set Series.Y = Round(Fields.Value) but it didn't work for me.
Please check the Graph item's YAxis.Scale.LabelStep property. If it is set to a smaller value, there will be listed more labels, including the top one - Formatting a Graph: Axis.
Other approach is to set the YAxis.Scale.Maximum to a static value or via binding applied in the Graph.CoordinateSystems.Bindings collection - How to: Use Bindings to Control the Coordinate System Properties.
Regards,
Stef
Telerik by Progress