.netCHARTING v10.3 Documentation
Example 


dotnetCHARTING Namespace > DataEngine Class : FormatString Property
FormatString Property (DataEngine)
Gets or sets the format string used when element names are populated with values such as dates.
Syntax
'Declaration
 
Public Property FormatString As String
'Usage
 
Dim instance As DataEngine
Dim value As String
 
instance.FormatString = value
 
value = instance.FormatString
public string FormatString {get; set;}
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

Example
The following example shows the tick labels in xAxis as full month name.
de.FormatString ="MMMM";
de.FormatString ="MMMM"
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also