Dundas Chart for ASP.NET
RoundAxisValues Method
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > Axis Class : RoundAxisValues Method


Call this method to automatically round axis values.  This method only works in paint events.


This function will create auto maximum and minimum values using interval on the X axis. This function will make a gap between data points and border of the chart area. Note that this method can only be called for primary or secondary X axes.

Syntax

Visual Basic (Declaration)  
Public Sub RoundAxisValues() 
Visual Basic (Usage) Copy Code
Dim instance As Axis
 
instance.RoundAxisValues()
C#  
public void RoundAxisValues()

Remarks

Call this method to round the values of an axis. Note that the interval used for the axis is not changed when this method is called.  This method is only supported for the X, and X2 axes.  Y, and Y2 axes values, are rounded by default.  This method only works in paint events.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.