DundasWinExtensions
SetContourCentrePointCustomAttribute Method
See Also  Send comments on this topic.
DundasWinExtensions Assembly > Dundas.Extensions Namespace > ContourChartType Class : SetContourCentrePointCustomAttribute Method


series
Series which the custom attribute to be set to
x
X value
y
Y value
Sets ContourCentrePoint custom attribute to Series Developers can define CentrePoint of Series. CentrePoint is needed to "close" data point segment and set Tooltip, Href, MapAreaAttributes of data point. Such custom attribute value should have next format "X=[value],Y=[value]". For example, "X=20,Y=30". If Series does not have "ContourCentrePoint" custom attribute, Paint method creates "fake" centre point using minimum and maximum X and Y values datapoints in the Series. This behavior by default.

Syntax

Visual Basic (Declaration)  
Public Shared Sub SetContourCentrePointCustomAttribute( _
   ByVal series As Series, _
   ByVal x As Double, _
   ByVal y As Double _
) 
Visual Basic (Usage) Copy Code
Dim series As Series
Dim x As Double
Dim y As Double
 
ContourChartType.SetContourCentrePointCustomAttribute(series, x, y)
C#  
public static void SetContourCentrePointCustomAttribute( 
   Series series,
   double x,
   double y
)

Parameters

series
Series which the custom attribute to be set to
x
X value
y
Y value

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

© 2009 All Rights Reserved.