XML/SWF Charts| CSS/XML Timeline Eons(New)| Timeline Eons| SlickBoard

Upgrade from XML/SWF Charts 4 to XML/SWF Charts 5

 

If you used the XML version of the charts tool, here are the steps to upgrade your 4.x code to 5.x:

 

1- Fllow the tutorial's basics to set up a new chart.

2- Move your old XML code to the new chart.

3- Search and replace all occurrences of the word live_update with update.

4- Search and replace all occurrences of the word axis_value_text with axis_value_label.

5- Search for legend_label, legend_rect, and legend_transition; combine all their attributes and make one legend tag. Replace the old legend_transition's type attribute with transition.

6- Search for series_gap and series_switch; combine all their attributes and make one series tag. Replace series_switch with a transfer attribute.

7- Search for chart_value_text and replace it with its equivalent on this page.

8- Search and replace all occurrences of the word chart_value with chart_label.

9- Test and verify your chart.

10- Add the new 5.x features to improve your chart.

 


Upgrade from PHP/SWF Charts 4 to XML/SWF Charts 4

 

If you used the PHP version of the charts tool, as of version 5.0, there isn't a dedicated PHP interface for this tool. However, PHP or any other scripting language can still be used with XML/SWF Charts (the XML version of the same tool):

1- Before upgrading your PHP charts, it is essential to learn the basic XML tutorial.

2- A quick way to convert your PHP chart to XML is by typing the URL of your php source file directly in a browser (example: http://your_server/sample.php). The browser should display numbers and strings related to the chart. Use the browser's View Source command to get your chart code converted into XML code.

3- For details on how to use and mix PHP with XML again, see this page.

4- Once your PHP source code is updated, follow the same steps at the top of this page to upgrade your 4.x code to 5.x.

 


Copyright © 2003-2016, maani.us