Overview
Application Scenario
The gantt chart with milestone is an extension of the gantt chart that allows you to mark a fixed point in time (a milestone event) in the progress of a task, as shown in the following figure
Implementation Method
Add a new field Milestone Time in the data source (cell dataset, dataset data).
Select Milestone Time in data binding, and set the style of the milestone under Style > Series.
Example
Data Preparation
Create a built-in dataset File1, as shown in the following figure.
Chart Insertion
Merge required cells, right-click the cell A1, choose Cell Element > Insert Chart > Gantt Chart, and click OK, as shown in the following figure.
Data Binding
Bind the data to the chart, as shown in the following figure.
Style Design
1. Choose Style > Series, select Custom Combination as Color Scheme, set Series Newline to Off, and select General as Point Style, as shown in the following figure.
2. Choose Style > Project Axis, and set Horizontal Proportion to Auto, as shown in the following figure.
3. Choose Style > Timeline, set Time Scaling and Weekend Tip to On, as shown in the following figure.
Effect Display
1. PC
Save the template, and click Pagination Preview. The following figure shows the effect.
2. Mobile Terminal
Template Download
You can download the template Gantt Chart with Milestones.cpt