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.


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
public string FormatString {get; set;}


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"


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

© 2019 All Rights Reserved.