Kore Nordmann - PHP / Projects / Politics ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :Author: Kore Nordmann :Date: Tue, 14 Aug 2007 10:37:21 +0200 :Revision: 5 :Copyright: CC by-sa ======================= ezcGraph 1.1.1 released ======================= :Description: We just released ezcGraph 1.1.1 - containing some small bugfixes for the prior release 1.1. The 1.1 release contained several interesting new features like radar charts, improved support for interactive charts, numeric datasets, logarithmical axis, rotated axis labels, improved date axis support and more... We just released ezcGraph 1.1.1 - containing some small bugfixes for the prior release 1.1. The 1.1 release of ezcGraph release with `eZ Components 2007.1`__ contained several interesting new features not yet described here. __ http://derickrethans.nl/4th_major_ez_components_release.php Radar charts ============ As `toby already blogged`__ earlier this year, we now support `radar charts`__, which was not hard to add to `ezcGraph`__ because they are more or less `line charts`__, just with rotated axis for each step on the original x axis in line charts and using a `polar coordinate system`__ instead of a `cartesian coordinate system`__ for the data points. This way also all `data sets`__ work with radar charts, which work with the other `chart types`__ - even if polynomes are quite hard to recognize in a polar coordinate system. .. image:: radar_chart.png :alt: Radar chart with polynomial average data set :align: center The `source`__ of this example. __ http://schlitt.info/applications/blog/index.php?/archives/546-Radar-charts,-MS-SQL-support,-dialog-system-and-greetings-from-spiderman!.html __ http://ez.no/doc/components/view/latest/(file)/introduction_Graph.html#radar-charts __ http://ez.no/doc/components/view/latest/(file)/introduction_Graph.html __ http://ez.no/doc/components/view/latest/(file)/introduction_Graph.html#line-charts __ http://en.wikipedia.org/wiki/Polar_coordinate_system __ http://en.wikipedia.org/wiki/Cartesian_coordinate_system __ http://ez.no/doc/components/view/latest/(file)/introduction_Graph.html#datasets __ http://ez.no/doc/components/view/latest/(file)/introduction_Graph.html#chart-types __ radar_chart_source.phps Numeric datasets & logarithmical axis ===================================== The general support for mathematical charts was enhanced by support for `numeric data sets`__, where you just pass a `callback`__ (which of course may be a function defined by `create_function()`__) and define a value range. Together with the logarithmical axis you should be able to use it for your mathematical stuff quite well. .. image:: numeric_logarithmical_line_chart.png :alt: Line chart with logarithmical axis and numeric data set :align: center The `source`__ of this example. __ http://ez.no/doc/components/view/latest/(file)/introduction_Graph.html#numeric-dataset __ http://php.net/callback __ http://php.net/create_function __ numeric_logarithmical_line_chart_source.phps Rotated texts on axis ===================== If you are required to display a lot of values on one axis you normally want to stack them tigther by rotating them. This is also possible since the last release and of course `documented in the tutorial`__ decorated by a nice example output of this feature. __ http://ez.no/doc/components/view/latest/(file)/introduction_Graph.html#axis-label-renderer Helper functions for interactive charts ======================================= It was possible with the release before, but in the current release we added `convenient helper functions`__ to easier make the charts interactive. You just need to add a value to the URL property of your data set or data points and call the appropriate helper function from the `tool class`__ and you get an interactive clickable chart. .. image:: interactive_bar_chart.svg :alt: Interactive 3D bar chart :align: center :width: 500 :height: 200 The `source`__ of this example. This also works with the GD driver, but then the tool method would return HTML for an image map you would need to include in your source. With SVG just some `ECMAScript`__ is added to the XML. __ http://ez.no/doc/components/view/latest/(file)/introduction_Graph.html#element-references __ http://ez.no/doc/components/view/latest/(file)/Graph/ezcGraphTools.html __ interactive_bar_chart_source.phps __ http://en.wikipedia.org/wiki/ECMAScript Other improvements ================== There are a lot of other improvements and bug fixes and I do not want to mention them all here, but those are perhaps also interesting for you: - Fixing border issues in drivers The different output drivers we are supporting with ezcGraph all have different interpretations where to place a border. A border of some width may be placed in the boundings of the virtual border, centered on on the virtual border or outside. For this we developed and implemented algorithms to reduce the size of all used shapes and correctly draw the border in every case. With some edge cases, like very small angles in polygones or circle sectors, this maybe is not the easiest thing to implement / understand and you may want take a look at our BSD licensed code and use it, if you run into similar problems. - Better `date support`__ in dateTimeAxis Since the last release we support unregular step / tick sizes on all axis, so that we are able to draw months and years (which may vary in length) on all axis and also use this for more efficent reducement of step counts when having a prime number of steps on your labeled axis etc. Since this can't work with some chart types, like bar charts, you may get an exception when you try to combine those features. __ http://ez.no/doc/components/view/latest/(file)/introduction_Graph.html#date-time-axis Trackbacks ========== Comments ========