Class TimescaleTier
Namespace: Aspose.Tasks.Visualization
Assembly: Aspose.Tasks.dll (25.2.0)
Represents a single tier of the timescale on a Gantt Chart.
public sealed class TimescaleTier
Inheritance
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
TimescaleTier()
Initializes a new instance of the Aspose.Tasks.Visualization.TimescaleTier class.
public TimescaleTier()
TimescaleTier(TimescaleUnit, int)
Initializes a new instance of the Aspose.Tasks.Visualization.TimescaleTier class.
public TimescaleTier(TimescaleUnit unit, int count)
Parameters
unit
TimescaleUnit
The timescale unit Aspose.Tasks.Visualization.TimescaleUnit.
count
int
The count of Aspose.Tasks.Visualization.TimescaleUnit units.
Properties
Alignment
Gets or sets how to align labels within each time period of the tier (Aspose.Tasks.Visualization.HorizontalStringAlignment).
public HorizontalStringAlignment Alignment { get; set; }
Property Value
Count
Gets or sets the time unit interval in which to show labels for the tier. The default value is 1.
public int Count { get; set; }
Property Value
DateTimeConverter
Gets or sets a callback function for handling rendering date tick in this tier.
public DateTimeConverter DateTimeConverter { get; set; }
Property Value
Label
Gets or sets date label Aspose.Tasks.Visualization.DateLabel for the timescale tier.
public DateLabel Label { get; set; }
Property Value
RenderLabelOnEachPage
Gets or sets 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 Aspose.Tasks.Visualization.TimescaleTier.Alignment property.
public bool RenderLabelOnEachPage { get; set; }
Property Value
Remarks
Doesn’t have the equivalent in MS Project.
ShowTicks
Gets or sets a value indicating whether whether to show tick marks that separate time periods in the tier.
public bool ShowTicks { get; set; }
Property Value
Unit
Gets or sets timescale unit Aspose.Tasks.Visualization.TimescaleUnit for the timescale tier. The default value is Aspose.Tasks.Visualization.TimescaleUnit?text=Days.
public TimescaleUnit Unit { get; set; }
Property Value
UsesFiscalYear
Gets or sets a value indicating whether to base the tier labels on the fiscal year.
public bool UsesFiscalYear { get; set; }