Chart for WinRT > Chart Types > Gantt Charts > Creating a Gantt Chart |
To create a Gantt chart using XAML markup, use the following:
XAML Markup |
Copy Code
|
---|---|
<Chart:C1Chart x:Name="chart0" Height="650" Width="750" ChartType="Gantt" Palette="Solstice" Foreground="Black"> <Chart:C1Chart.Data> <Chart:ChartData> <Chart:ChartData.Children> <Chart:HighLowOpenCloseSeries XValues="6 5 15 12 8" HighValues="103 87 107 102 198" LowValues="35 55 14 42 80" /> </Chart:ChartData.Children> </Chart:ChartData> </Chart:C1Chart.Data> </Chart:C1Chart> |