Databases Reference
In-Depth Information
Defining, and showing in the Gantt chart, what To Do is the last step for a
Milestone—defined as the Milestone property of a To Do
First create a new Project Gantt Chart. You can use the SQL query provided earlier in “Extending the
Features Functionality,” or any other valid query for the chart, because you won't use the results of that
query anyway.
Once the region is created, you can delete the generated chart series. Now, create a (dummy) HTML
region before the Chart region with a hidden field, named P3 XML PG . Next, edit the Chart XML by
providing this custom XML:
<?xml version = "1.0" encoding="utf-8" standalone = "yes"?>
<anygantt>
<settings>
<background enabled="false" />
<navigation enabled="true" position="Top" size="30">
<buttons collapse expand button="false" align="Far"/>
<text>Project Gantt</text>
</navigation>
</settings>
<datagrid enabled="true" width="400" />
<styles>
<task styles>
<task style name="defaultStyle">
<actual>
<bar style>
<middle>
<fill enabled="true" type="Gradient">
<gradient angle="-90">
<key color="#689663" position="0"/>
<key color="#6B9866" position="0.38"/>
<key color="#B4FFAB" position="1"/>
</gradient>
</fill>
</middle>
</bar style>
</actual>
</task style>
</task styles>
</styles>
&P3 XML PG.
</anygantt>
See Figure 4-14 for where to put these lines of code.
Search WWH ::




Custom Search