Announcement

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

    Charting in SmartGwt

    I need to show different kinds of charts in my application. The charts types include line charts, pie charts, bar charts, stacked bar charts and timeseries (trending) charts among others.

    I have come across the following charting libraries for GWT.

    1. GChart
    2. OFC chart
    3. YUI (had encountered issues when used with Gwt-Ext)

    Which library (not just limited to the ones above) integrates well with SmartGwt, supports a wide range of chart types and looks appealing at the same time ? Please give me you recommendation/comment based on your experience.

    #2
    I tried GChart !

    Using GChart means you use GWT integration in SmartGWT.
    The trouble with GWT integration is that the behaviour of layouts are
    sometimes quite erratic...

    I tried to use GChart embedded in gwt panels and/or smartgwt layouts
    and I didn't manage to get a nice display (the edge of the chart were clipped
    or the chart was displayed outside its parent panel - go figure).

    So I used a "home made" bar chart (done with SmartGWT labels).

    I'll try harder next time :)

    Anyway, I'm very interested by any feedback in this area.

    Good luck,
    Bertrand.

    Comment


      #3
      Hi Bertrand,

      I like your idea of a "home made" chart :)

      If anyone can create a standalone test case for the reported layout issues and file it as an issue, that will make it easier to fix.

      Comment


        #4
        I use OFCGWT (1) which is a GWT wrapper for Open Flash Chart 2 (2). It works well in SmartGWT, except for a drag and drop issue. I'll try to create an issue for that after Christmas.

        (1) http://code.google.com/p/ofcgwt/
        (2) http://teethgrinder.co.uk/open-flash-chart-2/

        Comment


          #5
          Hi,

          I was wondering if anybody has had any additional success with GChart in GWT. I am just starting done this path and my initial experimentation does not look promising and am on the verge of rolling my own implementation. It seams like a waste since everything that I need is in GChart.

          Thanks,
          Arend

          Comment


            #6
            Originally posted by FrederikB
            I use OFCGWT (1) which is a GWT wrapper for Open Flash Chart 2 (2). It works well in SmartGWT
            How do you use it? All OFCGWT widgets are derived from com.google.gwt.user.client.ui.Widget. I can't add it into smartwt container like HLayout or something...

            How do you use it with smartgwt?

            Thanks in advance.

            Comment

            Working...
            X