Class definition of RFTChart, a wrapper for Amchart.
rft.js and index.html now use the new object oriented approach which is
defined in rftchart.js