Skip to main content

ChartElementFormat Members

Lists formats applied to axis and series labels.

Properties

Name Description
Day static Displays days in the specified date range
DayOfWeek static Displays days of the week in the specified date range.
Hour static Displays hours.
LongDate static Displays a date in the dddd, MMMM dd, yyyy format (for example, Thursday, January 01, 1970).
LongDateLongTime static Displays a date-time value in the dddd, MMMM dd, yyyy, hh:mm:ss format (for example, Thursday, January 01, 1970, 12:00:00 AM).
LongTime static Displays a time value in the hh:mm:ss format (for example, 12:00:00 AM).
Millisecond static Displays milliseconds.
Minute static Displays minutes.
Month static Displays months.
MonthAndDay static Displays a date in the MMMM dd format.
MonthAndYear static Displays a date in the yyyy MMMM format.
Quarter static Displays a quarter of the year.
QuarterAndYear static Displays a quarter and year.
Second static Displays seconds.
ShortDate static Displays a time value in the m/dd/yyyy format.
ShortDateShortTime static Displays a date in the m/dd/yyyy, hh:mm format.
ShortTime static Displays a time value in the hh:mm format.
Year static Displays years.

Methods

Name Description
Billions(Nullable<Byte>) static Displays numbers as a billion.
Decimal(Nullable<Byte>) static Formates numbers as decimals
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Exponential(Nullable<Byte>) static Displays numbers in exponential notation.
FixedPoint(Nullable<Byte>) static Displays numbers with a fixed point.
FromLdmlString(String) static Sets a custom format for Chart labels.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
LargeNumber(Nullable<Byte>) static Uses the “Thousands”, “Millions”, “Billions”, or “Trillions” format depending on the values.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Millions(Nullable<Byte>) static Displays numbers as a million.
Percent(Nullable<Byte>) static Displays numbers as percentages.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Thousands(Nullable<Byte>) static Displays numbers as a thousand.
ToString() Returns a string that represents the current object. Inherited from Object.
Trillions(Nullable<Byte>) static Displays numbers as a trillion.

Operators

Name Description
Implicit(ChartAxisLabelFormat to ChartElementFormat) static Defines an implicit conversion of an obsolete label format to a ChartElementFormat class instance.
See Also