dotnetCHARTING Send comments on this topic.
FormatString Property
See Also  Example
dotnetCHARTING Namespace > DataEngine Class : FormatString Property


Gets or sets the format string used when element names are populated with values such as dates.

Syntax

Visual Basic (Declaration) 
Public Property FormatString As String
Visual Basic (Usage)Copy Code
Dim instance As DataEngine
Dim value As String
 
instance.FormatString = value
 
value = instance.FormatString
C# 
public string FormatString {get; set;}

Example

The following example shows the tick labels in xAxis as full month name.
C#Copy Code
de.FormatString ="MMMM";
    
Visual BasicCopy Code
de.FormatString ="MMMM"

Remarks

This property usually used with conjunction of date grouping. If it doesn't set, use an appropriate format for the date grouping. For format information see DateTimeFormatInfo or NumberFormatInfo

See Also

© 2011 All Rights Reserved.