Richfaces and Google Chart API
I am using Google Chart API it is working fine with JSF 1.2 and richfaces 3.3.1 but when i use or in the same page.. the chart API is not working (chart image is not coming).. can you help me out .. thanks in advan开发者_StackOverflow社区ce ...
The following fixed the same problem for me:
<script type="text/javascript">
Array.prototype.reduce = undefined;
</script>
source: http://code.google.com/p/google-visualization-api-issues/issues/detail?id=501
Ok.. finally I solved it , forgot to post the solution. I just made one simple html page with the Google Chart and Using Iframe from my main page (JSF pages) i imported those charts. it works. and simple to maintain also..
精彩评论