With the release of WebSmart ILE 8.2, WebSmart PHP 3.2, and Clover 2.0, we've included a new set of SmartCharts for your viewing pleasure. The new charts come with cool new graphical features, as well as several options to make creating the graphs even simpler than before.
The new versions of SmartCharts require FlashPlayer 8 or higher to run. Most modern browsers should have Flash already installed, but it may be possible that your users will need to download an upgrade. This is a one-time process, and the software is completely free.
You don't need to upgrade your charts, the old ones will work just fine. However, the new ones look much snappier and the upgrade process is simple.
Upgrading your old SmartCharts to the new versions is quick and easy:
1. Open a program definition that uses SmartCharts 1.5.
2. Replace all instances of v1.5 in the first argument of xl_oFlashObject with v2.0:
/websmart/smartcharts/v1.5/
to
/websmart/smartcharts/v2.0/
3. In the PML - Source Code segment, replace your graph type with the appropriate new graph by deleting the prefix 'SC_2_3_':
SC_2_3_Column2D.swf
to
Column2D.swf
4. If you used certain attributes in your chart, you may have to make minor changes (Optional changes are suggested for forward compatibility):
| Old Tag/Attribute | New Tag/Attribute | Details |
|---|
| vDivLines | * | No longer supported. Instead, use a vertical separator line (New Feature!). |
|
| Optional change. |
|
| Optional change. |
| showNames | showLabels | Optional change. |
| rotateNames | rotateLabels | Optional change. |
| hoverText | toolText | Optional change. |
| showAnchors | drawAnchors | Optional change. |
| showLimits | showYAxisValues | Optional change. |
| showDivLineValues |
| *Dual Y Axis Graphs Only* | *Dual Y Axis Graphs Only* |
|
| Replace all number formatting options in your datasets with attributes in your element. For the primary axis, use the attribute as is. For the secondary axis, prefix an 's' (as shown). |
Your old charts will shine and sparkle like new!
Some other new features include:
Horizontal & Stacked 3D Bar graphs
Scrolling charts: Column, Line, Area and more
More dual Y axis graph combinations
Dashable lines for data, div lines, trend lines and separators
Better axis label control
Trend-line tool text
Dynamic resizing