[ Index ]
 

Code source de eGroupWare 1.2.106-2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/projectmanager/inc/jpgraph-1.5.2/src/ -> Changelog (source)

   1  Version: $Id: Changelog 18250 2005-05-07 14:13:43Z ralfbecker $
   2  
   3  Changelog for JpGraph
   4  =====================
   5  
   6  [29-Feb-2002] JpGraph 1.5.2
   7  ===========================
   8  
   9  Bug fixes:
  10  ----------
  11  * Released the correct 3D pie file (By mistake I mixed the stable version with
  12    the  development branch for 2.0 in the 1.5.1 release just to prove
  13    that I'm still human :-)
  14  
  15  * [me] Fixed out of bounds error when using shadows for bar graphs
  16    with 0 value
  17  
  18  * [me] Fixed typo in DisplayValue::SetFormat()
  19  
  20  * [me] Fixed potential array out of bounds error in Plot::Min() and
  21    Plot::Max()
  22  
  23  * [me] Fixed misplaced ')' in string construction in call to
  24    JpGraph error.
  25  
  26  Changes/Additions:
  27  ------------------
  28  * [me] Added possibility to use "auto" file name when stroking
  29    directly to a file.     
  30  
  31  
  32  * [me] Added tag 'title' to the image maps to make for better
  33    compatibility with Mozilla. 
  34  
  35  * [me] Moved class LineProprty to jpgraph.php from jpgraph_gantt.php
  36    since it can be used in other modules as well.
  37  
  38  * [me]Added Text::GetTextHeight() which differs from
  39    Text::GetFontHeight() in that it takes the total text height
  40    (possible multiple lines) into account.
  41  
  42  * [me] Added Image::FilledArc()
  43  
  44  * [me] Added RotImage::SetTranslation()
  45         Added RotImage::Circle()
  46         Added RotImage::FilledCircle()
  47         Added RotImage::Arc()
  48         Added RotImage::FilledArc()
  49  
  50  
  51  [11-Feb-2002] JpGraph 1.5.1
  52  ===========================
  53  * [me] No longer treat a not set $y[0] value as an explicit error. Instead
  54    silently set $y[0] to 0.
  55  
  56  * [me] Changed "include" to "require" in jpgraph.php when including 
  57    jpgraph_dir.php. This seems to fix the strange problem whereby
  58    the constants defined in jpgraph_dir.php didn't have a correct
  59    value in jpgraph.php.
  60  
  61  * [me] Fixed problem with correctly drawing of bars when all bars
  62    are negative. (Previously the baseline wasn't correctly handled
  63    since min/max values needs to be mirrored for negative bars)
  64    Note: Funny this problem has gone unnoticed so long.
  65  
  66  * [me] Fixed problem with doing gradient fill for negative bars.
  67  
  68  * [me] Fixed problem with autoscaling when there is a very small
  69    difference (< 0.00001) between min and max and when both min and max are
  70    negative. This might happen if you have a single negative value.
  71  
  72  * [me] Added labels for line graph. Each point my now also optionally
  73    display it's value on a line graph. Value are controlled trough
  74    class DisplayValue and it's instance in LinePlot.
  75    LinePlot->value->Show(), 
  76    LinePlot->value->SetColor(),    
  77    LinePlot->value->SetFont(), 
  78    LinePlot->value->SetMargin(),
  79    LinePlot->value->SetFormat(),
  80   
  81   
  82  [27-Jan-2002] JpGraph 1.5
  83  =========================
  84  * [me] Fixed misnamed xmin variable in Min() for acc bars
  85  
  86  * [me] Added possibility to specify paragraph alignment for
  87    multi line text, i.e the text can be left,right or center aligned
  88    within it's bounded box. The lignment is set by the new method
  89    Text::ParagraphAlign()
  90  
  91  * [me] Changed position specification for text so that if the position 
  92    is specified in range [0,1] it is interpreted as fraction of image
  93    height width and otherwise as absolute pixels.
  94  
  95  * [me] Added possibility to specify pie size (radius) both as a fraction and
  96    absolute size in pixels.
  97  
  98  * [me] Added possibility to tweak color specification by adding a 
  99    saturation percentage, i.e you can specify color as "red:0.65"
 100    which means 65% of the red value (in other words 35% darker).
 101  
 102  * [me] Tweaked the estimation of number of segments to approximate an 
 103    arc in Image::CakeSlice.
 104  
 105  [17-Jan-2002] JpGraph 1.5beta2a
 106  ===============================
 107  * [me] Fixed typo in Max() calculation for accumulated bar graphs 
 108    which caused it to return wrong value.
 109  
 110  * [me] For Min() calculation for acc bars graphs take the user
 111    specified ymin into account.
 112  
 113  * [Peter Svistunov, me] Added Cyrillic unicode support through the
 114    global define LANGUAGE_CYRILLIC. This is also the start of a 
 115    generic support for Unicode languages through the LanguageConv
 116    class.
 117  
 118  
 119  [15-Jan-2002] JpGraph 1.5beta2
 120  ==============================
 121  * [me] Rewrite of the pie-chart drawing algorithm. This version
 122    is slightly slower but avoids using GD floodfill function. This
 123    fixes problems with small slices not being filled completely. As
 124    an added bonus it is now possible to explode (and specify the
 125    explode radius) for all slices. It is also possible to draw the
 126    pie without having internal borders between the slices as well
 127    as turning on/off the border surronding the pie.
 128  
 129  * [me] Added graphic primitive CakeSlice() to the Image class.
 130    Used to simplify pie-drawing.
 131  
 132  * [me] Added more generic error handling. It is now possible to
 133    install your own error object with 
 134    JpGraphError::Install(<name of error object>)
 135    The default error handler will just abort execution. 
 136  
 137  * [me] Security whole in utility script for displaying source
 138    and image in frames fixed.
 139  
 140  * [Cedric Scheyder] Actively ignore hours in calculating Max/Min
 141    values for dates in Gantt charts to avoid problems in autoscaling
 142    when users specify start and end dates down to hours.
 143  
 144  * [Rick Widmer] Fixed problem in calculating min/max value when first 
 145    Y-value was non-numeric.
 146    
 147  * [me] Fixed calculation of width and height of text with multiple lines.
 148    Multiple text lines (text blocks) should now be almost fully supported.
 149  
 150  
 151  [16-Dec-2001] JpGraph 1.5-BETA
 152  ==============================
 153  * Take "\n" into (some) account when calculating string height and width
 154    Text output now supports multiple lines better.
 155  
 156  * [me] Removed reference to global PHP_SELF, use HTTP_SERVER_VARS array
 157    instead. This makes JpGraph working with 'register_globals' turned
 158    off.
 159  
 160  * [me] Added some rudimentary check that GD is enabled before trying to
 161    run JpGraph.
 162  
 163  * [me] Fixed silly cut-and-paste bug in AccBarPlot::Max() which could 
 164    cause to small max values to be returned
 165  
 166  * [me] Added property 'title' to PlotMark. The title is printed in the center
 167    of the plotmark.
 168  
 169  * [DanNY (dulcis28@hotmail.com)] Added JpGraph Logo. (Thanks!)
 170  
 171  * [me] Added jplintphp.php, jpgendoc.php, jplintdriver.php which are
 172    parsing, documentation and pretty printing tools I use to help
 173    me to documentation and find unused code.
 174    Tthat does some simple static analysis on PHP for silly mistakes
 175    that I do (Like using instance variables without qualifying them 
 176    with "$this->" ) The tool also warns about unused instance variables.
 177    Since it also parses the classes and methods I use it to generate
 178    the documentation skeleton for the reference section.
 179  
 180  * [me] Added Gantt chart funcionality, jpgraph_gantt.php . See
 181    Gantt tutorial for help on usage.
 182  
 183  * [me] Added new Gantt tutorial
 184  
 185  * [me] Added BKIMG_CENTER, possibility to center the background image.
 186  
 187  * [me] Timeout function now also aplies when you generate an image
 188    off-line, i.e if the imagefile exist and is within the time window
 189    now file will be written.
 190    
 191  * [Rasmus Lerdorf] Added patch to make background images work with GD 2.x
 192    N.B GD 2.01 has bugs in handling TTF font with truecolor images which
 193    are fixed in 2.02 but that has (of this writing) still not been officially
 194    released. GD 2.x support in JpGraph is still to be considered experimental.
 195  
 196  * [me] Fixed some potential rounding errors in 2D Pie plot which in some
 197    circumstances might have caused a flood fill to escape. Also added check
 198    to better handle very small slices so we don't try to do a fill
 199    on the border edge.
 200  
 201  * [me] Slightly changed the internal design for band patterns. 
 202    They are now created by a factory class instead. This makes it much easier 
 203    to re-use and have maximum code reuse.
 204  
 205  * [me] Factored out some functionlity from Graph::Stroke() to make it possible
 206    to re-use some code in GanttGraph::Stroke()
 207  
 208  * [me] One more instance when PHP surprised me by thinking 0 == "-" aarrghhh
 209    Now I think (knock on wood) all problems with data points=0 should be solved
 210  
 211  * [me] Added '&' to the assignment in Graph::Add() This now lets you specify changes
 212    for lines, plots even after they been added to a Graph.  But I'm not sure if this
 213    is really such a good ide because you will have problem if you write code
 214    like
 215    
 216        for( .... ) {
 217            $myplot = new LinePlot(.....);
 218            $graph->Add($myplot);
 219        }
 220        
 221        Since this will not work the way you think (why?) Because the same
 222        reference to the variable $myplot will be used for all additions and
 223        hence the graph will only have multiple instances of the last added 
 224        LinePlot(). Have to think of this and what is the best way. (I will 
 225        probably never get used to PHP references....)
 226  
 227  
 228  [11-Nov-2001] JpGraph 1.4
 229  ==========================
 230  Bug Fixes:
 231  -------------------------------------------------------------------------------------
 232  * [me] Enabled E_NOTICE warnings in my PHP installation and found a couple of 
 233    glitches (harmeless out-of-bound in two loops) which is now corrected. 
 234  * [me] Fixed problem in line plots where y-value==0 wasn't drawn. (Once again 
 235    bitten by the fact that in PHP the following is true: ""==0)
 236  * [me] Fixed color specification for bars when initialized as an array of colors
 237  * [me] Fixed color of bars using shadow which was advertedly set to shadow color
 238  * [me] Fixing incorrect color specification for legends using bars with color arrays
 239  * [me] Add check for sum=0 in pie plots to avoid divide by 0 problem
 240  * [me] Changed the stroke orderd for FilledRectangle() so that the shadow doesn't
 241    overwrite a line with weight > 1
 242  * [me] Fixed incorrect calculation of font height for titles which cause the 
 243         subtitle to be to close to the title.
 244  
 245  Additions:
 246  -------------------------------------------------------------------------------------
 247  * [me] Added depth parameter (DEPTH_FRONT, DEPTH_BACK) for gridlines
 248         Graph::SetGridDepth()
 249  
 250  * [me] Added possibility to add static horizontal and vertical band with a 
 251         pattern in the plot area. Graph::AddBand() Supports solid, diagonal,
 252         stright line, 3D-plane crosses (both diagonal/vertical) patterns.
 253         Graph::AddBand()
 254         
 255  * [me] Added possibility to have static lines in the plot. This is now implemented
 256         with new class PlotLine and two new functions Graph::AddLine(), 
 257         
 258  * [me] Added symbolic constants to specify background image types
 259         BGIMG_COPY, BGIMG_FILLPLOT, BGIMG_FILLFRAME
 260  
 261  * [me] Added extended label formatting through either
 262         Axis::SetLabelFormatString()        C-style formatting string
 263         or
 264         Axis::SetLabelFormatCallback()    A callback function that are given the value to be displayed
 265                                                     and should manipulate the value as it likes
 266                                                     
 267           The use of the old style digit precision variable will be deprecated from next version.
 268  
 269  * [me] Added error check if supplied Y-data has unspecified value at index 0 to avoid
 270    out of bounds error when corrupted data is sent in to JpGraph.
 271    
 272  * [me] Added possibility to specify image depth for gridlines. You can now specify
 273    Graph::SetGridDepth() as DEPTH_FRONT or DEPTH_BACK. Depending on if you want
 274    the gridlines at the back of in front of your plots.
 275  
 276  * [me] Added possibility to specify Cache file name as "auto". In this case the
 277    image file name will have the same name as the scriupt that generates the 
 278    image with the extension of the automtically generated graphic format.
 279    NOTE: You will get the wrong extension using this feature at the same
 280    time as specifying a different graphic format thne the automatically choosen 
 281    one.
 282  
 283  * [me] Added some more advanced examples for impuls drawings impulsex3.php and 
 284    impulsex4.php
 285  
 286  * [me] The values on top of bars can now be at an angle and the horisontal
 287    position now account for if a shadow is present.
 288    
 289  * [me] Added filename to Graph::Stroke() which makes it easy to output an image
 290         directly to a file _without_ streaming it back to the browser. Usefull for
 291         batch processing
 292         
 293  * [me] Added new tutorial for bar graphs
 294  
 295  * [me] New scale type "int". This gives a normal linear scale but restricts
 296    ticks (and labels) to integer values. Can be used for both X and Y scales.
 297  
 298  * [me] Added subtitle to graph
 299  
 300  * [me] Added possibility to specify an array of X-coordinates with bar plots to 
 301    position individual bars on the X-scale. Makes it much easier to combine
 302    bar plots with other types of plots, (line, scatter etc)
 303    
 304  * [me] Extended utility adjimage.php to allow it to manipulate color saturation.
 305  
 306  * [me] Added Image::AdjSat() to allow manipulation of the color
 307    saturation in the image. This also makes it very easy to change the image
 308    to greyscale (just set saturation=-1). 
 309    Extended Graph::AdjImage() and Graph::AdjBackgroundImage() 
 310    to include new parameter for saturation value.
 311    
 312  * [me] Added BarPlot::SetAlign() which makes it possible to align
 313    bars relative the tickmark for linear and int scale
 314    
 315  * [me] Added possibility to absolutely set the width of bars. This will 
 316    override the automatically decided with based on the scale and tick distance
 317    
 318  Changes:
 319  -------------------------------------------------------------------------------------
 320  * [me] Legend color for scatter plots now becomes the fill color of the mark
 321  
 322  * [me] Impulsplots now anchors at Y-value = 0 if the y-axis contains both negative
 323    and positive values. Otherwise it will go to the lowest value on the Y-axis.
 324  
 325  * [me] Bar shadows is now connected to bars to make for a stronger 3D effect.
 326  
 327  * [me] Removed all deprecated references and usage of FONT0, FONT1, FONT2. Note
 328    You can no longer use these. Instead use FF_FONT0, FF_FONT1, FF_FONT2 etc
 329    
 330  * [me] Text scale now starts default labelling at 0
 331  
 332  * [me] All plots internally adjusted to start at default X-coordinate 0 to harmonize better 
 333    with X-scale.
 334  
 335  * [me] Graph->Stroke() now just returns instead of exit()
 336  
 337  * [me] Removed flag argument for BarPlot::SetShadow()
 338  
 339  * [me] Bar plots are know by default filled with lightblue
 340    unless otherwise specified.
 341    
 342  * [me] Changed the way bars are positioned for linear and integer
 343    scale for maximum flexibility when mixing barplot with other
 344    plots.
 345    
 346  * [me] The ALT strings for all image maps now uses printf() syntax to display
 347    the actual value. If you have used this feature you must update your
 348    ALT strings, for example "val=%v" must become "val=%d" or whatever format 
 349    you choose. 
 350    
 351  * [me] Changed the formatting of bar graphs by changing the framework
 352    so that labels on the x-axis using a text scale is now independent 
 353    on the tick marks. 
 354    This makes it possible to have the labels centered under each bar but have 
 355    the tickmarks between the bars as most other commercial graph packages
 356    format these typw of graphs. Introduced Axis::SetTextLabelsInterval()
 357    Effects jpgraph.php, jpgraph_log.php and jpgraph_bar.php
 358    
 359  * [me] Renamed Axis::SetTextTicks() to Axis::SetTextTicksInterval() to make the name
 360    more descriptive. The old name is deprecated from this version on but will still
 361    work until 2.0 to keep compatibility.
 362    
 363  * [me] Cleaned up implementation of pie3d so it now inherits from pie to avoid
 364    a lot of duplicated code and easier maintainance.  (A good example of the real
 365    life OO programming where you might not see the similarities between two classes
 366    until you fully implement them.) File size of jpgraph_pie3d.php has shrunk by 
 367    roughly 40%
 368    
 369  [23-Sep-2001] JpGraph 1.3.1
 370  ===========================
 371  Additions:
 372  * [Michael Anthon] Added client side image maps to 3D pie plots
 373  * [me] Added possibility to better control the labeling of pie graphs with an optional
 374    label formatting string PiePlot::SetLabelFormat(), PiePlot::SetLabelType()
 375    This also makes it possible to have labels with the absolute value and not only the
 376    percentage. (same with pie3d)
 377  * [me] Added formatting capabilities for legends on pie and pie3d graphs. Can have the value
 378    automtically included (Se Examples/pieex6.php)
 379  * [me] Added some more examples, negbarvalueex1.php, scatterlinkex2.php, pie3d_csimex1.php
 380    pieex6.php
 381    
 382  
 383  Known bugs and omissions:
 384  - Client side image maps does not currently handle exploded pie graphs (just
 385    normal pie graphs.
 386  
 387  Bug fixes:
 388  * [me] Fixed problem with positioning the displayed values for negative bars
 389  * [me] Fixed shadow for negative bars
 390  * [me] Fixed problem in Plot::Min(), PlotMax::Max() whereby zeros where not counted 
 391    towards minimum since in PHP 0=="". This could sometimes cause strange autoscaling. 
 392  * [Vitaly E. Ashmarin] Wrong arguments to imagejpeg() for combination of specified 
 393    image quality and filename = ""
 394  * [John Milne] BarPlot::SetFillColor() fixed glitch in loop variable
 395  
 396  
 397  [13-Sep-2001] JpGraph 1.3
 398  =========================
 399  Note: I have to the best of my memory tried to give credit where 
 400  credit is due. Howevever, since ver 1.2.2 I have received over 2000 mail about
 401  JpGraph with Questions/Suggestions/Improvments (and a few bug fixes) etc and 
 402  I might have missed some in the process of going through these mails. The
 403  fault is completely my own and if you recognize some idea I have implemented
 404  something which you think you should have credit for please drop me a note and 
 405  I will adjust the add you to the change notes.
 406  
 407  Known bugs and omissions:
 408  - The automatic value on bar graphs does not work well with
 409    negative bar graphs. (Quite easy to fix though..)
 410  - Client side image maps does not currently handle exploded pie graphs (just
 411    normal pie graphs.
 412  
 413  IMPORTANT NOTICE:
 414  * SC (SOURCE COMPATIBILITY) BREAK !: If you want to rotate the image the parameter
 415    is no longer supplied directly in the call to Graph() but rather as a method
 416    call Graph::SetAngle(). I decided to make this SC break since I judged it more
 417    natural to supply the timeout value just efter the specified cache-file name
 418    in the Graph() call. Hopefully this will not hit to many people since my hunch is
 419    that few people uses the rotate function and it's very easy to fix those script
 420    that does so.
 421  
 422  Bug Fixes:
 423  * [michael@anthon.net] Corrected behviour of accumulated bar graph so it now
 424    diffrentiate between the accumulated positive and negative values.
 425    
 426  * [marko@fly.srk.fer.hr] Fixed Max() calculations for accumulated bar graphs
 427    where my original code was a little bit sloppy. (I simply took the max for
 428    each plot and added those and this might be more then the real maximum.)
 429    
 430  * [m.purgar@extracom.de] Spotting an incorrect "jpg" in the image where it should
 431    have been "jpeg"
 432    
 433  * [adam.blomberg@euroseek.net,patrik.johansson@euroseek.net] 3D-Pie filling 
 434    problem for small slices due to the discrapency between GD arc() and the 
 435    JpGraphs purely mathematical definition of an ellipse.
 436    
 437  * [delorme.maxime@free.fr] 2D-Pie Floodfill might "escape" for very small values of slices.
 438  
 439  * [et.al] Improved handling of 0:s vs "" values. This was necessary since PHP treats
 440    0 as "" the same in a number of situations and JpGraph needs to diffrentiate these
 441    two cases. This caused 0 data values to be treated as null values and not be inluded 
 442    in (for example) autoscaling consideration.
 443  
 444  Additions:
 445  * [me] Added new global constant USE_CACHE which makes it possible to disable
 446    writing to the cache even if a filename is supplied in th Graph::Graph() method.
 447  
 448  * [me] Added LinePlot::SetStyle() to make it possible to make dashed, dotted etc
 449    lineplots. (See example1.2). Also adjusted legend to display the same style in
 450    the legend.
 451    
 452  * [michael@anthon.net, me] Added client side image maps for all types of bars
 453    and 2D pies with possibility to have the actual value shown in an ALT-tag.
 454    
 455  * [me] Added drop shadow (or rather "right-up" shadow) to bar graphs BarPlot::SetShadow()
 456  
 457  * [me] Added possibility to have the actual value of bar graphs displayed at top of graphs
 458    via BarPlot::ShowValue(), BarPlot::SetValueFont(), SetValueMargin(), SetValueColor()
 459    The format of the value is specified according to standard C printf() string formatting
 460    i.e. "val=%d" will for example print a string "val=13" 
 461    
 462  * [me] Added possibility to adjust brightness and contrast for background image
 463    via the Graph::AdjBackgroundImage() method.
 464    
 465  * [me] Added possibility to adjust brightness and contrast in the finished image
 466    via the Image::AdjBrightContrast() method.
 467    
 468  * [me] Added possibility to just generate an image to a file and not stream
 469    it directly back to the browser. Added parameter $aInline to Graph::Graph()
 470    
 471  * [me] Added timout for cache, i.e if the image in the cache is older then 
 472    the specified number of minutes (=0 never re-generate, -1 always regenerate) 
 473    then re-generate the image. Just specify a timeout in minutes with a call:
 474    $mygraph->cache->SetTimeOut(10)
 475    
 476  * [me] Added possibility to use logarithmic scale for SpiderPlots. This also resulted
 477    in a little bit of internal cleanup in jpgraph_spider.php.
 478    
 479  * [me] Added SetWeight() method to class Ticks() for control of line thickness for ticks
 480  
 481  * [me] Added SetMarkColor method to class TIcks() which lets you specify different
 482    colors for major and minor tick marks.
 483    
 484  * [me] Added method RelTranslate() to LinearScale() and LogScale() classes which is used
 485    in Spider class. This makes a world to screen relative translation.
 486    
 487  * [me] Added possibility to link data points in a scatter plot with lines
 488    by the addition of method ScatterPlot::SetLinkPoints()
 489    
 490  * [me,john.milne@one2one.co.uk] Added possibility to have individual colors of
 491    bars in bar graphs by having BarPlot::SetColor() accept an array as argument.
 492    
 493  * [sergio@alsernet.es] Make it possibly to have x-tick labels to consist of two lines
 494    by inserting a "\n" separator in the text.
 495    
 496  * [CK1@wwwtech.de] Adding JPEG quality setting. This is done by adding 
 497    a method SetQuality() to the img class. After creating a graph this can then
 498    be used as $mygraph->img->SetQuality($some_qvalue).
 499    Currently this only affects JPEG images.
 500    
 501  * [delorme.maxime@free.fr] Possibility to use different grace value for top and bottom
 502    of graph and not just a single value as in 1.2.2
 503  
 504  Changes:
 505  * [me] Changed group/permission handling for created files to better adjust itself
 506    to the way the local Apache user is setup
 507    
 508  * [me] The default for spider graphs is now NOT to be filled
 509  
 510  * [me] Allow all datapoints to be 0 which will set the scale to [0,1]
 511  
 512  * [me] Removed the need for a DIR_BASE variable
 513  
 514    
 515  [29-Apr-2001] JpGraph 1.2.2
 516  ===========================
 517  Bug fixes:
 518  * Removed reference to non-existent property 'bypass' in class RotImg
 519  * Changed to allow the last X-gridline to be drawn (comparison with limit was '<'
 520    where it should have been '<=' )
 521  
 522  Additions:
 523  * Added possibility to use background image
 524  * Added possibility to use approximate color through the "USE_APPROX_COLORS"
 525    constant
 526  * Handling of diffrent form of "null values" for line graphs. An y-value
 527    can now be "" or "-". In the first case (a true null value) this mark
 528    will cause a disruption in the line graph to indicate that the value
 529    is undefined. In the other case specifying the value as "-" will cause
 530    the value to be ignored bu the line will still be drawn between the
 531    previous data point and the following. Neither of these cases will have
 532    any mark drawn.
 533  * Added a fatal warning when no more colors can be allocated for the chosen 
 534    graphic format.
 535  
 536  Changes:
 537  * "Downgraded" anti-aliasing algorithm to use fewer color levels
 538    in the transition to avoid using up to much of the color palette
 539  * Cleaned up some of the code to not rely on PHP default initialization
 540    of variables. This will help those who have got warnings when they
 541    have had all error reporting enabled in php.ini (E_ALL)
 542  * Legends now show the plot mark (if defined) instead of just a square of
 543    the right color.
 544  
 545  Acknowledgements:
 546  * Thanks to kevin@pricetrak.com  for suggesting the treatment of 
 547    pure NULL values.
 548  * Thanks to luca_n@hotmail.com for getting my attention to the warnings
 549    caused by relying on PHP default initialization of variables.  
 550    (My installation had E_NOTICE disabled, hence I never got those warning myself.)
 551  
 552  
 553  [29-Mar-2001] JpGraph 1.2.1
 554  ===========================
 555  Bug fixes:
 556  * When min and max values for autoscaling was equal this resulted in trying to calculate
 557    log10(0) = INF resulting in an infinite loop in LinearTicks::Stroke()
 558  * When autoscaling was used with only one data point it tried to calculate log10(0) = INF
 559    resulting in an infinite loop
 560  * fopen("xxx","r") should be fopen("xxx","rb") causes problems on windows system with IIS5
 561  * JPG streaming function was incorrectly called "imagejpg" should be "imagejpeg" (see the difference?)
 562  * Non existent color name in jpgraph_pie.php
 563  * Removed all deprecated forced references in function calls
 564  * The width of the surrunding box was not calculated correctly for internal bold font
 565  
 566  Additions:
 567  * Color themes for pie graphs
 568  * Beta release of 3D pie graphs
 569  * Added DIR_BASE as constant to make it possible to use one system wide copy
 570  of JpGraph. NOTE: This must be set to the directory where JpGraph is installed.
 571  
 572  Acknowledgements:
 573  * (ck1@wwwtech.de) (and a russian guy which I unfortunately lost the name of) 
 574    for reporting the imagejpg spelling mistake
 575  * (ales.gregor@zps.skoda-auto.cz) for finding the binary file problem with IIS
 576  * Several people have reported the problem with autoscaling when all Y-values 
 577    were equal. Thanks to you all for acting as my privet QA team!
 578  
 579  
 580  [18-Mar-2001] JpGraph 1.2
 581  =========================
 582  Additions:
 583  ----------
 584  * Added "BRAND_TIMING" which give possibility to brand each image generated with
 585  the time (in ms) it took to generate the image.
 586  * Added Gradient Fill for bar graphs, The gradient fill allows 6 different styles.
 587  * Added Anti-aliasing for lines. Note drawing anti-aliased lines is 7-10 times 
 588  slower then "normal" lines!
 589  * Added full TTF support. this means an internal SC break (Source Code Break). Normal JpGraph
 590  script should not be affected if you have used only publized "public" frunctions. The SC break is
 591  to allow uniform treatment of both internal fonts and TTF. This has been achieved by changing
 592  the parameter list for SetFont(). However, backward compatibility with the old naming conventions
 593  for internal fonts are kepot, e.g. SetFont(FONT1_BOLD) still works but is deprecated and will not
 594  be valid from 2.0 
 595  * Added possibility to control font for title of Spider Axis through the added
 596  property 'title' to the axis in the spider graph.
 597  * Added 'SetColor()' in pie graphs as a shortcut to SetMarginColor() to set the background color
 598  * Added possibility to draw X-axis labels at arbitrary angle. Internal fonts only supports
 599  horizontal and verical.
 600  * Added possibility to draw boxed text at an angle
 601  * Added possibility to have different colors for axis and the labels on the axis by the addition 
 602  of extra parameter to SetColor()
 603  * Added 350 more named colors.
 604  * Added canvas "fake" graph to make it easy to draw arbitrary graphics
 605  * Added SetCenter() method for line graphs.
 606  * Added SetGrace() for autoscaling purposes.
 607  
 608  Changes:
 609  --------
 610  * If you use a text-scale for X-axis the default labels now start at 1 instead of 0 since this is 
 611  actually a counting scale and it makes more sense to start at 1.
 612  * Improved handling of bar-graphs with negative values.
 613  * Updated existing examples to use new format for SetFont()
 614  * Made it a critical error to specify a non existant font
 615  * Changed so that orientation for Text() is now given as an angle, i.e. SetOrientation(45). Old
 616  style of using SetOrientation("v") (for vertical) is deprecated. But will work until V2
 617  
 618  Bug fixes:
 619  ----------
 620  * Improved handling of computational effects on small values in scaling where a rounding error might cause the
 621  last label not to be drawn.
 622  * The position for the title of X-axis could in some cases be slightly different in first
 623  and second pass due to incorrectly determination of the X-axis labels font height.
 624  * Specifying an minimum Y-value for Y-axis on bar graphs could on rare occasions (combination 
 625  of scale values and specified density of autoscaling ticks) cause a gap between the bottom of 
 626  each bar and the X-axis.
 627  
 628  
 629  [18-Feb-2001] JpGraph 1.1
 630  =========================
 631  Additions/Changes:
 632  ------------------
 633  * Added Spider graphs 
 634  * Added Pie graph
 635  * Added Scatter (and impuls) graphs
 636  * Added possibility to rotate plots an arbitrary angle
 637  * Added step style rendering to lineplot
 638  * Added Breseham circle drawing which gives better visual apperance
 639    then the built in Arc() in GD (on the expense of CPU and performance)
 640  * Improved Polygon and Rectangle drawing so that it will use line weight settings
 641  * Improved the visual appearance of lines with weight>1 by correctly calculating 
 642    (angle wise) the endpoints and using a filled polygon to draw the line. 
 643    Unfortunately it would require some real improvements in the GD library to really improve
 644    the visual appeance of lines with weight>1. This is as good as it gets without writing
 645    a low level pixe-by-pixel correct plotting. With my method you get it to look visually
 646    aestethic right in 90% of the cases with just 10% work. 
 647  * Added MARK_FILLEDCIRCLE as new mark type. Note that due too the poor performance of the
 648    basic Arc() image primitive in PHP4 the circles isn't perfect circles, they tend to be a
 649    a little bit flat at multiples on PI/2.
 650  * Added the possibility to have a separate fill- and line- color for marks
 651  * Moved Class PlotMark from jpgraph_line.php to base in jpgraph.php since this class is also used
 652    with scatter plots. 
 653  * Made it a critical error to try to use Text X-scale with specified X-data points. 
 654    Previously no warning was given for this non-defined state. (Using text scale with specified
 655    points really doesn't make sense.)
 656  * Made it a critical error to use unknown color rather than silently replacing it with black.
 657  * Updated documentation to reflect added capability
 658  
 659  
 660  Bug fixes:
 661  ----------
 662  * Fixed minor bug in Line() in which it didn't update the last point for use with
 663    subsequent LineTo() calls (forgotten $this->) 
 664  * Eliminated assumptions in DashedLine() that x1<=x2 and y1<=y2 eliminates the 
 665    potential pixel overshoot.  
 666  * Fixed a serious bug in Line plot when used with a specified X-scale (not the normal default)
 667    since the X-coordinate wasn't read from the correct vector!
 668  * Fixed a serious bug whe using as specified X-scale since the maximum value for a plot 
 669    wasn't correctly passed to the autoscaling. 
 670    Note: The reason that these two bugs haven't been discovered previously is the fact 
 671    that my test specs didn't include test cases to do with specified X-axis (I almost never ever use that). 
 672    This has now been corrected and added to the test suit. 
 673  * Fixed so the possible box around the plot area correctly honours the weight specified for it.
 674  
 675  
 676  [05-Feb-2001] JpGraph 1.0
 677  =========================
 678  * Initial release.
 679  
 680  [EOF]


Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7