Blame | Letzte Änderung | Log anzeigen | RSS feed
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1"><LINK REL="Start" HREF="index.html"><LINK REL="Contents" HREF="toc.html"><LINK REL="Prev" HREF="103AsimpleGanttchart.html"><LINK REL="Next" HREF="105CreatingaGanttChart.html"><STYLE TYPE="text/css"><!--BODY { font-family: serif }H1 { font-family: sans-serif }H2 { font-family: sans-serif }H3 { font-family: sans-serif }H4 { font-family: sans-serif }H5 { font-family: sans-serif }H6 { font-family: sans-serif }SUB { font-size: smaller }SUP { font-size: smaller }PRE { font-family: monospace }A { text-decoration: none }--></STYLE></HEAD><BODY><A HREF="toc.html">Contents</A><A HREF="103AsimpleGanttchart.html">Previous</A><A HREF="105CreatingaGanttChart.html">Next</A><HR NOSHADE><H2><A NAME="10_4">10.4 The structure of a Gantt chart</A></H2><P> A Gantt chart is made up of four distinct areas.</P><OL><LI>On the left side there is the activity title column.</LI><LI>On the top there is the scale headers (up to four headers may bedisplayed)</LI><LI>The actual plot area where all the Gantt bars and markers go</LI><LI>The margin area, where for example the titles are shown</LI></OL><P> Since a Gantt chart inherits all the usual properties of a JpGraphGraph() you have the access to the same method to formatting the imageas before. For example to have a shadow around the image you callGraph::SetShadow() and to set the margin color you can useGraph::SetMarginColor(). Please refer to the reference documentationfor a full list of supported features.</P><P> To create a Gantt chart you<STRONG> add</STRONG> objects to it. Asof this writing you may add the following object by the use of theGanttChart::Add() method</P><UL><LI> Gantt bars (indicates the length of an activity)</LI><LI> Milestones, a single mark at a specific date</LI><LI> Vertical line, might be use to mark phases in projects</LI></UL><P> All these objects may be extensively modified in terms offormatting. You can specify color (both fill- and frame color), size,titles, style and patterns and so on. All these objects comes with (inmy mind) sensible default so you don't have to specify a lot ofparameters. But if you need a fine grain control or if you disagreewith my taste you<STRONG> can</STRONG>.</P><HR NOSHADE><A HREF="toc.html">Contents</A><A HREF="103AsimpleGanttchart.html">Previous</A><A HREF="105CreatingaGanttChart.html">Next</A></BODY></HTML>