i have problem changing this to native javascript. please help me
private native void createChart() /*-{ $(function () { $wnd.$(document).ready(function () { $wnd.Highcharts.setOptions({ global: { useUTC: false } }); $wnd.$('#container').highcharts({ chart: { type: 'spline', animation: $wnd.Highcharts.svg, // don't animate in old IE marginRight: 10, events: { load: function () { // set up the updating of the chart each second var series = this.series[0]; setInterval(function () { var x = (new Date()).getTime(), // current time y = Math.random(); series.addPoint([x, y], true, true); }, 1000); } } }, title: { text: 'Live random data' }, xAxis: { type: 'datetime', tickPixelInterval: 150 }, yAxis: { title: { text: 'Value' }, plotLines: [{ value: 0, width: 1, color: '#808080' }] }, tooltip: { formatter: function () { return 'b' + this.series.name + '/bbr/' + $wnd.Highcharts.dateFormat('%Y-%m-%d %H:%M:%S', this.x) + 'br/' + $wnd.Highcharts.numberFormat(this.y, 2); } }, legend: { enabled: false }, exporting: { enabled: false }, series: [{ name: 'Random data', data: (function () { // generate an array of random data var data = [], time = (new Date()).getTime(), i; for (i = -19; i = 0; i += 1) { data.push({ x: time + i * 1000, y: Math.random() }); } return data; }()) }] }); }); }); }-*/; } -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Loading graphs on gwt using native javascript and php database for the datatable
private static native void generateGraph(String stationName)/*-{ $wnd.google.load(visualization, 1.0, { packages : [ 'corechart' ], callback : drawVisualization }); function drawVisualization() { // Create and populate the data table. var data = $wnd.google.visualization.arrayToDataTable(([ ['Date', 'Score'], ?php $output = array (); while($result = mysql_fetch_array($sql_data)) { $t1 = strtotime($result['date']); $t2 = date(d,$t1); $output[] = [.$t2.,.$result['sales'].]; // note there is no comma at the end here } echo implode(',', $output); ? ]); // new $wnd.google.visualization.LineChart($wnd.document .getElementById('visualization')).draw(data, { title : stationName, width : 600, height : 400, vAxis : { title : Year }, hAxis : { title : Sales } }); } }-*/; -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Connect gwt and wamp
hey guys i am facing problems of connecting gwt and wamp if you help i would be very thankful -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Google earth using java gwt
If any one could help i would be very very helpful. Thanks in advance My project deals with 1. locating BTS tower on google earth which is sort of completed 2. dealing with its primary details on a placemark involving a ballon in which i am not able to insert textbox and buttons 3. showing the coverage using a Kml polygon. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.