Class TimeGanttChart

All Implemented Interfaces:
IVerticalGuidelineOwner<IGanttChartVisualSet,GanttVisualSetContainer>

public final class TimeGanttChart extends AbstractGanttChart
A chart is a GUI component based on JavaFX's XYChart class that can be used to conveniently draw numeric and statistical data. All charts are designed to be compatible with Eclipse RCP applications and SWT framework. A Time Gantt Chart is used to show history of some state changes or schedules with Time-related X-axis.
Author:
Aleksey Kirillov
  • Field Details

  • Constructor Details

    • TimeGanttChart

      public TimeGanttChart(IChartEnvironment chartEnvironment)
      Constructs a Gantt Chart with a set of default parameters: no title, daily time units, begin displayed range is equals to 7 days, bar height fraction is equal to 1.
      Parameters:
      chartEnvironment - parent subtype of IChartEnvironment, that is a layer between the parent composite and this chart
    • TimeGanttChart

      public TimeGanttChart(IChartEnvironment chartEnvironment, String title)
      Constructs a Gantt Chart with given title and a set of default parameters: daily time units, begin displayed range is equals to 7 days, bar height fraction is equal to 1.
      Parameters:
      chartEnvironment - parent subtype of IChartEnvironment, that is a layer between the parent composite and this chart
      title - chart title i.e. label written above the chart
    • TimeGanttChart

      public TimeGanttChart(IChartEnvironment chartEnvironment, ChronoUnit timeUnit)
      Constructs a Gantt Chart with given chrono unit and a set of default parameters: no title, begin displayed range is equals to 7 days, bar height fraction is equal to 1.
      Parameters:
      chartEnvironment - parent subtype of IChartEnvironment, that is a layer between the parent composite and this chart
      timeUnit - chart horizontal axis time units
    • TimeGanttChart

      public TimeGanttChart(IChartEnvironment chartEnvironment, String title, ChronoUnit timeUnit)
      Constructs a Gantt Chart with given title and time units. Begin displayed range is equals to default value of 7 days, bar height fraction is equal to 1.
      Parameters:
      chartEnvironment - parent subtype of IChartEnvironment, that is a layer between the parent composite and this chart
      title - chart title i.e. label written above the chart
      timeUnit - chart horizontal axis time units
    • TimeGanttChart

      public TimeGanttChart(IChartEnvironment chartEnvironment, ChronoUnit timeUnit, ChronoUnit beginDisplayedRangeChronoUnit, double beginDisplayedRange)
      Constructs a Gantt Chart with given horizontal axis time units and begin displayed range. Begin displayed range is equals to default value of 7 days, bar height fraction is equal to 1, title is not set.
      Parameters:
      chartEnvironment - parent subtype of IChartEnvironment, that is a layer between the parent composite and this chart
      timeUnit - chart horizontal axis time units
      beginDisplayedRangeChronoUnit - chart begin displayed range time units
      beginDisplayedRange - chart begin displayed range
    • TimeGanttChart

      public TimeGanttChart(IChartEnvironment chartEnvironment, String title, ChronoUnit timeUnit, ChronoUnit beginDisplayedRangeChronoUnit, double beginDisplayedRange, double barHeightFraction)
      Constructs a Gantt Chart with manually setting of all initialization parameters.
      Parameters:
      chartEnvironment - parent subtype of IChartEnvironment, that is a layer between the parent composite and this chart
      title - chart title i.e. label written above the chart
      timeUnit - chart horizontal axis time units
      beginDisplayedRangeChronoUnit - chart begin displayed range time units
      beginDisplayedRange - chart begin displayed range
      barHeightFraction - sets the relative height of gantt-visuals within a single GanttChartRow
  • Method Details