Announcement

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

    #16
    I've found solution for tooltip: need to set tooltip style for chartdata -

    chartData.setTooltipStyle(new ToolTip(ToolTip.MouseStyle.NORMAL));

    Comment


      #17
      working fine, thanks.

      any way to let me save the graph as an image will make me hapyy ;)

      Comment


        #18
        I've added "Save image locally" feature. By default new modal window with chart image will be shown. But You can customize this window by changing ChartWidget.getSaveImageWindow() properties. You can checkout latest trunk from googlecode(http://code.google.com/p/ofc4sgwt/ ) or download binary from http://dl.dropbox.com/u/690921/OFCChart4SGWT-1.0.jar

        Waiting for comments
        Last edited by Metallic; 29 Jun 2010, 23:10.

        Comment


          #19
          Hi,

          Any suggestions as to what needs to be changed to get this to work with SmartGWTPro?

          I have changed the <inherits... in OFC4SGWT.gwt.xml but it still seems to be referencing smartgwt since the app now complains about not being to access server side datasources, ie when you run the app it tells you to use smartgwtpro, not smartgwt.

          TIA

          Andreas

          Comment


            #20
            I've never worked with SmartGWT Pro, but OFC4SGWT have no datasource support for now. May be this is the reason of your problem?

            Comment


              #21
              can you perhaps add a "Save Image" button in the modal window?

              adding a button by myself isn't working for some reason i can't figure out..

              Comment


                #22
                You should use ChartWidget.getSaveImageWindow().addItem(yourbutton) method. What will "Save image" button do in your case?

                Comment


                  #23
                  i want to create a save image dialog so the user won't need to use rightclick->save picture

                  trying to do it like you told me tomorrow..

                  Comment


                    #24
                    Originally posted by tredholz
                    i want to create a save image dialog so the user won't need to use rightclick->save picture

                    trying to do it like you told me tomorrow..
                    If you will got successful result in creating save image dialog - please post your solution, because I have no success in one.

                    Comment


                      #25
                      After i clicked "save image locally", the popup doesnt seems to show the image correctly on IE. However if I output the image to HTML and load it in Firefox, then it seems fine. Anybody have similar problem on this?? Is this a browser related issue?

                      Comment


                        #26
                        I got IE 8, it works fine on it(except needless scrollbars)

                        Comment


                          #27
                          Great work metallic...
                          Thanks for this. is there any possibility of integration with smartgwt datasource?

                          Comment


                            #28
                            Originally posted by dfender
                            Great work metallic...
                            Thanks for this. is there any possibility of integration with smartgwt datasource?
                            Sorry, but I have no time to implement this part. May be some time later...

                            Comment


                              #29
                              I tried to put the static chart returning a flashlet as item of a sectionStack and it returns a Json invalid string error. By the other hand, if I did the same but put the Widget as member of a Vlayout and it worked fine.
                              Is there anything special to do to put the chart as an item of sectionStack?

                              Comment


                                #30
                                What about FacetChart that is existing in SmartGWT?

                                Comment

                                Working...
                                X