ChartDirector Ver 5.0.2 Release Notes

This document describes the cumulative bug fixes and updates since ChartDirector Ver 5.0. For differences among ChartDirector Ver 5.0 and earlier versions of ChartDirector, please refer to the ChartDirector Ver 5.0 Release Notes.

Updates in ChartDirector Ver 5.0.2

  • Google Chrome browser support
    The ChartDirector Javascript Chart Viewer library has been updated to support the Google Chrome browser.
  • Support for 64-bit Perl and Python in Mac OS X 10.6 (Snow Leopard)
    64-bit Perl and Python are new features of Mac OS X 10.6. ChartDirector has been updated to support them.
  • PHP 5.3.0 support
    ChartDirector has been updated to support PHP 5.3.0 since July 10, 2009.
  • 64-bit installer for ChartDirector for ASP/COM/VB
    Whereas ChartDirector for ASP/COM/VB has always been able to work with native 64-bit applications on 64-bit Windows, its installer only registered ChartDirector for 32-bit usage. The installer has been updated to register ChartDirector for both 32-bit and 64-bit usage since Apr 24, 2009.
  • ChartDirector for Ruby installation script update for Ruby 1.9 compatibility
    Whereas ChartDirector has supported Ruby 1.9 for quite a while, the automatic installation script did not work properly in Ruby 1.9, and manually installation was necessary. This has now been fixed.

Bug Fixes in ChartDirector Ver 5.0.2

  • Memory leak if SVG output was used before calling BaseChart.enableVectorOutput
    This bug affects only the C++, PHP, Python, Perl, Ruby and ASP/COM/VB editions of ChartDirector. This has now been fixed.
  • Search path ignored for SVG pattern color
    If a pattern color based on an image file (created with BaseChart.patternColor2) was used in a chart, and the chart was created as SVG, ChartDirector would ignore the search path set by BaseChart.setSearchPath when searching for the image file. This has now been fixed.
  • Layer.getImageCoor2 always returned null for BarLayer
    The Layer.getImageCoor2 method was broken in ChartDirector Ver 5.0. It always returned null or an empty string. This has now been fixed.
  • CDML table multi-column cell height incorrect
    If a cell in a CDML table was set to span multiple columns, and the height of the row was determined automatically, ChartDirector might compute the height incorrectly. This might result in a row that is taller than expected. This has now been fixed.
  • CDML table for axis labels wrapped text incorrectly if the labels were rotated
    If a CDML table was docked to an axis to contain the axis labels, ChartDirector would wrap the labels based on the widths of the table cells. Whereas this was correct for horizontal labels, this was incorrect for vertical labels (labels rotated by 90 degrees). This has now been fixed.
  • Box.setSize did not wrap axis labels
    In previous versions of ChartDirector, if the Box.setSize method was used to configure the width of the TextBox prototype of the axis labels, the labels would wrap into multiple lines if they exceeded the width. The wrapping feature was broken in ChartDirector Ver 5.0. This has now been fixed.
  • Legendbox auto-size behaviour changed for AutoGrid layout
    In previous versions of ChartDirector, if the AutoGrid layout method was used for the legend box, the legend box width would be set based the chart canvas width, even if there were insufficient items to fill up just one row. If the legend box was configured with a background color or a border (so its width was visible), it would appear wider than necessary.

    The above behaviour has been changed. If there are insuffcient items for one row, the legend box width will be set to be just sufficient for the items.
  • FinanceChart.addCCI threw exceptions in ChartDirector for Python
    The FinanceChart.addCCI method in ChartDirector for Python was broken since ChartDirector Ver 5.0. This has now been fixed.
  • ChartFrontZ incorrect in ChartDirector for ASP/COM/VB
    The constant ChartFrontZ was defined incorrectly in ChartDirector for ASP/COM/VB. This has now been fixed.
  • Could not install ChartDirector for ASP/COM/VB in a directory with non-ASCII name
    ChartDirector for ASP/COM/VB might not register with the operating system correctly if it was installed in a directory with a non-ASCII name. This has now been fixed.
  • Security issue in ASP.NET
    A security issue was discovered in ChartDirector for .NET that in an ASP.NET application, the client (the browser) might be able to read any file readable by the web server anonymous user account, even if the file was outside the web document directory. This has now been fixed.
  • LinearTick might not work in Perl 5.8
    The constant LinearTick might not work in some Perl 5.8 installations due to rounding errors. This has now been fixed.
  • ColdFusion delayed compressed image map broken
    The delayed compressed image map feature in ChartDirector for ColdFusion was broken in Ver 5.0. This has now been fixed.