I am trying to format the date on my Y-axis label so it shows "August, 2013" I have set the axis LabelFormat property to {0:Y} but it still displays the full date time. See attached picture.
Also the data point label for March extends beyond the right side of the graph. Is there a way to shrink the graph so the label always appears within the border of the graph?
Thank you
Thomas
Also the data point label for March extends beyond the right side of the graph. Is there a way to shrink the graph so the label always appears within the border of the graph?
//
// cartesianCoordinateSystem1
//
this
.cartesianCoordinateSystem1.Name =
"cartesianCoordinateSystem1"
;
this
.cartesianCoordinateSystem1.XAxis =
this
.graphAxis1;
this
.cartesianCoordinateSystem1.YAxis =
this
.graphAxis2;
//
// graphAxis1
//
this
.graphAxis1.LabelFormat =
"{0:C0}"
;
this
.graphAxis1.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray;
this
.graphAxis1.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D);
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"
;
this
.graphAxis1.Scale = numericalScale1;
//
// graphAxis2
//
this
.graphAxis2.LabelFormat =
"{0:Y}"
;
this
.graphAxis2.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray;
this
.graphAxis2.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D);
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 = categoryScale1;
Thank you
Thomas