Remarks. Use this property to manipulate the primary X-axis in the chart area. Applies to customize the y-axis interval using Expression in SSRS Plotting graph with different set of series in same chart area in VB.NET Sofisticated charting in c# using MsChart ChartArea.AxisY.IntervalOffset = -(area.AxisY.Minimum - Math.Truncate(area.AxisY.Minimum)) 'with a minimum of 14.73 the offset would be -0.73 You'll lose the AxisY.Minimum label this way though. You could try to add the minimum label in the customize event: Hi Mr Floppy sorry, I don't work in ASP, but in VB.NET, there is a property for the ChartArea AxisX interval if set to 1, then it should show all the X Axis labels Chart1.ChartAreas(0).AxisX.Interval = 1 type ChartArea = class inherit ChartNamedElement Public Class ChartArea Inherits ChartNamedElement Inheritance. Object. ChartElement. ChartNamedElement. ChartArea. Remarks. Within any given chart, the inner plot position is the rectangular area, inside the x and y-axis lines, where the data points are drawn. Remarks. Use this property to manipulate the primary X-axis in the chart area. Applies to
Area Chart Area Chart with Gradient Area Chart with Overlaying Lines and Point Error Bars Showing Confidence Interval Error Bars Showing Standard Chart Elements in Excel VBA - Chart Area, Chart Title, Plot Area, Chart Series, Chart Axes, Chart 'returns 1 - no interval or categories between tick-mark labels Set ChartArea.AxisX.Interval to 1. You will have an interval with a label at each data point. You will have an interval with a label at each data point. share | improve this answer You can adjust the axis intervals with Axis.IntervalOffset. Something like this should work in your case: ChartArea.AxisY.IntervalOffset = -(area.AxisY.Minimum - Math.Truncate(area.AxisY.Minimum)) 'with a minimum of 14.73 the offset would be -0.73. You'll lose the AxisY.Minimum label this way though.
Chart Elements in Excel VBA - Chart Area, Chart Title, Plot Area, Chart Series, Chart Axes, Chart 'returns 1 - no interval or categories between tick-mark labels Set ChartArea.AxisX.Interval to 1. You will have an interval with a label at each data point. You will have an interval with a label at each data point. share | improve this answer You can adjust the axis intervals with Axis.IntervalOffset. Something like this should work in your case: ChartArea.AxisY.IntervalOffset = -(area.AxisY.Minimum - Math.Truncate(area.AxisY.Minimum)) 'with a minimum of 14.73 the offset would be -0.73. You'll lose the AxisY.Minimum label this way though. The Interval property of a major tick mark, grid line or label of the axis has priority over the Interval property setting of the Axis object. A value of zero represents an "Auto" value. This Interval property cannot be set to NaN. If you assign this property a value of NaN, a value of zero will be used instead. Remarks. The IntervalOffset property determines the interval offset of an axis. This value is used as the interval offset of an axis' labels and the major tick marks and grid lines associated with the axis if the IntervalOffset property value of the labels, tick marks, or grid lines is not set, which is represented by a value of NaN.
MinorTickMark. This code can be added to an appropriate event in your program, or would even work on Form Load. Chart1.ChartAreas(0) Specify the hatching line interval within the range of 0.1 to 10,000. Line color. Select a hatching line color from the color palette. Tiling. Tiling.
If the axis interval type is represented by a time such as hours, minutes, and so forth, then in order for zooming to function correctly, the IntervalType must be set to a time value as well. For example, if ChartArea1.AxisX.IntervalType is set to hours, then ChartArea1.CursorX.IntervalType could be set to minutes. Note that both ChartArea.Position and ChartArea.InnerPlotPosition are called 'Position' but really are areas of percentages referring to the respective containers! So my example has a Left distance of 10%, a Top space of 5% and Width of 80% and Height of 90%. Which leaves 10% space at the Bottom and 5% at the Right.