8 Feb 15:43
can't find out how use Javascript libs such as HighStock
empty <emptist <at> googlegroups.com>
2012-02-08 14:43:39 GMT
2012-02-08 14:43:39 GMT
Hi I'm very new to JavaScript as well as Aida/Web. The task is to show chart in HighStock JavaScript on a page that represents an object that holds the data. The chart lib has several js files, namely, a "js/highchart.js", "/adapter/prototype-adapter.js", "/adapter/mootools.js" and "/modules/exporting.js" and some /themes/xyz.js In WebStyle I manually added methods for those JavaScript, after the examples found in WebStyle such as jQurery, including xyzResource and ensureXYZ etc. And I added lines to WebElement intending to add those JavaScript into the <head>. After this I used scriptAfter: to insert the code for charting. The code is just a copy of original example code. Well, it doesn't work. Any advises? Yours, JG P.S. Here are some code: viewChart | e | e := WebElement new. e ensureId. e addTextH1: 'highstock charts'.(Continue reading)
RSS Feed