TimescaleTier

TimescaleTier class

Represents a single tier of the timescale on a Gantt Chart.

Constructors

NameDescription
TimescaleTier (2 overloads)Initializes a new instance of the TimescaleTier class.

Methods

NameDescription
get_AlignmentGets how to align labels within each time period of the tier ( HorizontalStringAlignment ).
get_CountGets the time unit interval in which to show labels for the tier. The default value is 1.
get_DateTimeConverterGets a callback function for handling rendering date tick in this tier.
get_LabelGets date label DateLabel for the timescale tier.
get_RenderLabelOnEachPageGets flag that defines whether date labels should be rendered on each page when a time period spans over several pages. If value is ’true’, when time period spans over several pages, date labels for the period are rendered on each page. If values is ‘false’, date label is rendered only once according to a value of Alignment property.
get_ShowTicksGets a value indicating whether whether to show tick marks that separate time periods in the tier.
get_UnitGets timescale unit TimescaleUnit for the timescale tier. The default value is Days .
get_UsesFiscalYearGets a value indicating whether to base the tier labels on the fiscal year.
set_AlignmentSets how to align labels within each time period of the tier ( HorizontalStringAlignment ).
set_CountSets the time unit interval in which to show labels for the tier. The default value is 1.
set_DateTimeConverterSets a callback function for handling rendering date tick in this tier.
set_LabelSets date label DateLabel for the timescale tier.
set_RenderLabelOnEachPageSets flag that defines whether date labels should be rendered on each page when a time period spans over several pages. If value is ’true’, when time period spans over several pages, date labels for the period are rendered on each page. If values is ‘false’, date label is rendered only once according to a value of Alignment property.
set_ShowTicksSets a value indicating whether whether to show tick marks that separate time periods in the tier.
set_UnitSets timescale unit TimescaleUnit for the timescale tier. The default value is Days .
set_UsesFiscalYearSets a value indicating whether to base the tier labels on the fiscal year.