I'm not sure if this is the right Stack Exchange
site to ask good name for bars in Gantt Chart.
Data Structure
public class GanttChartData
{
public ICollection<GanttBarData> BarCollection { get; set; }
}
public class GanttBarData
{
public string Name { get; set; }
public double Length { get; set; }
}
Question Should I use Length
or Width
to represent length of a bar? I know it would be horizontal bar always.
As Wikipedia states:
Hence your choice of BarLength is correct as the horizontal length is (almost!) always going to be the longest dimension of a bar in your chart.