Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    #31
    Originally posted by donp
    What about FacetChart that is existing in SmartGWT?
    That's a great news, cause I cannot support OFC anymore, and HTML native chart would be better

    Comment


      #32
      Originally posted by Metallic
      I develop an application using Smartgwt. Just one thing that is missing in it - chart. I decided to write my own implementation of Open Flash Chart(http://ofc2dz.com/) for smartgwt using flashlet and then put it somewhere(e.g. googlecode). But first of all I want to ask: Is there any ready implementations? Why is Smartgwt have no its own implementation of any chart?(licence, any other points of view)
      I am using GWT 2.0.4 I create my flashlet with the following:
      Flashlet flashlet = new Flashlet();
      String swfId = "SWFID_"+ count;
      flashlet.setID(swfId+"_");
      ++count;
      flashlet.setSrc(GWT.getModuleBaseURL()+ "flash/TCAMMap.swf");
      String width = "100%";
      String height = "100%";
      flashlet.setSize(width, height);
      java.util.HashMap<String, String> hashMap = new java.util.HashMap<String, String>();
      hashMap.put("id", swfId);
      hashMap.put("FlashVars", "id=" + swfId);
      flashlet.setParams(hashMap);
      HLayout horizonalStack = new HLayout();
      horizonalStack.addMember(flashlet);

      On executing the last line I get the following error.
      Uncaught exception escaped : com.google.gwt.core.client.JavaScriptException
      (TypeError): '$wnd.isc[...]' is null or not an object
      number: -2146823281
      description: '$wnd.isc[...]' is null or not an object
      See the Development console log for details.
      Register a GWT .setUncaughtExceotionHandler(..) for custom uncaught exception handling

      Any suggestions? Can you post a working example? It seem like quite a few people are having trouble with the Flashlet.

      Comment

      Working...
      X