WebGantt Changelog

What's new in WebGantt 4.0

Feb 18, 2012
  • Optional Forecasted Dates and Bar:
  • Now in addition to the planned and actual dates and timeline bars, you can provide a set of "forecasted" task dates and display the corresponding timeline bar. This forecasted date is typically used in a project timeline when an original planned task slips or starts early. For example, when you originally plan your project you set planned start and end dates for each task. During the progression of the project some tasks may not actually begin or end according to the plan, but you don't want to change the planned timeline -- you want to keep those dates as a baseline. That's when the forecasted dates come in. You set those dates to the new start and end times for the task, leaving the original planned dates as-is. Note that implementation of this functionality has caused the structure of the wgDataArray to change. Additionally you may want to check out the wgForecastColor and wgForecastImage properties that let you format the forecasted timeline bars. One more note -- the wgShowBars property has been slightly modified to support the new forecasted timeline bar.
  • Chart styles and formatting:
  • Defining styles for the chart has completely changed. You now set styles for the header and task rows using a single property (wgHeaderStyle and wgTaskStyle) instead of the old wgFontName, wgFontSize, etc properties. The values for these new properties utilize Cascading Style Sheet (CSS) attributes, giving you tremendous flexibility for the style of your charts. Additionally, the wgTaskPercentStyle property allows you to format the percentage complete values displayed in the chart. Finally, do you want the background area behind the task bars to appear different than the background area behind the other task information? If so, use the wgPlotStyle to set the task bar background to the color, image, or other style you chose!
  • Improved International Support:
  • Version 3.2 includes better processing capability for international date formats. Previously certain non-US date formats caused WebGantt© to report errors, even if the wgDateFormat property was properly set to "D/M/Y". Now the internal date conversion has been improved to be much more reliable. Additionally, there is now a wgDateDelimiter property that lets you specify the character used to delimit the various parts of the date values. Previously you were limited to a forward slash ("/"). Now you can specify any character to delimit your date and provides dates in formats like "1-15-2004" and "25.12.2004".
  • Increased hyperlink support:
  • In previous versions of WebGantt, a single hyperlink could be provided for each task by passing a hyperlink as an element of the wgDataArray property. Because that property has been reworked in v4.0 to support the forecasted dates, the hyperlinks for tasks have been given their own properties. You can now provide five different hyperlinks for each task -- a link for the task ID, one for the task name, one for the planned dates, one for the forecasted dates, and one for the actual dates. Do this by setting the wgIdLinks, wgTaskLinks, wgPlannedLinks, wgActualLinks, and wgForecastLinks properties. Additionally, the new wgTargetDelimiter property allows you to specify what character in hyperlink strings delimits the URL and the target for displaying the URL.
  • Chart Header and Footer:
  • These two new properties give you the ability to specify a header and footer for the chart. You can apply whatever formatting you'd like to the contents that you put in the values.
  • Miscellaneous changes:
  • Because the wgDataArray property has been reworked in v3.2 to support the forecasted dates, the percentage complete for each task has been removed from wgDataArray and given its own property. You now use the wgPercentComplete property to optionally specify the percent complete for each task.
  • The wgColumnWidth, wgColumnHeading, and wgColumnAlign properties have been resized from a six-position array (index 0 to 5) to an eight-position array (index 0 to 7). This matches up with the number of elements for each item in the wgDataArray property, allowing the width, heading and alignment of the forecasted start and end dates to be formatted.
  • In previous versions of WebGantt, the milestone character was set to a small diamond character using the Windows "Wingdings" font. However, on some browsers and operating systems this character did not show property. To avoid this problem, a wgMilestoneChar property is now available for the user to set his/her own milestone character. By default it'll be set to the same small diamond, but the user can specify any character and any style setting to use for displaying milestone tasks.