Charts
TwGanttChart
TwGanttChart is a Blazor Gantt chart: a horizontal bar per task from its start date to its end date, showing a schedule and overlaps.
Last updated
Please be aware this component is new, may have bugs and/or be subject to change. Please report any bugs at
https://github.com/twblazor/twblazor/issues.
Basic usage
TwGanttChart draws a bar per ChartTask from its start date to its end date, in the order given, so the schedule and any overlaps are visible.Date format
DateFormat takes any .NET date format string and applies to the axis, tooltips and table view.RAZOR
<TwChart Title="Release plan">
<TwGanttChart Tasks="@_tasks" DateFormat="MMM yyyy" />
</TwChart>Labels
StartLabel, EndLabel and LabelHeader rename the values in tooltips and the table view.RAZOR
<TwChart Title="Release plan">
<TwGanttChart Tasks="@_tasks" StartLabel="Begins" EndLabel="Due" LabelHeader="Phase" Height="ChartHeight.Small" />
</TwChart>Summary
Tooltips and the table view give the start and end of each task.