You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Tomasz Dziurko <td...@apetonic.com> on 2008/11/04 14:43:08 UTC

Wicket integration with good charts api

My client needs in his application very good looking charts (simple
bars with some gradienst and 3D effects). Unfortunately he didn't like
what JFreeChart library offers so I must find and implement another
solution.
Questions are:
1. Is there any other chart library easy to integrate with Wicket?
2.<off-topic>Which chart api (could be me commercial, client is
paying) could you suggest?</off-topic>

Thank you for your help

Regards
-- 
Tomasz Dziurko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket integration with good charts api

Posted by PY <po...@py-code.com>.
Really interested by a Wiki page too.

-- 
View this message in context: http://www.nabble.com/Wicket-integration-with-good-charts-api-tp20322515p20837861.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket integration with good charts api

Posted by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>.
I think it's small enough for minis.. But it's Igors baby, try to ask him?

Maarten Bosteels wrote:
> Hello Ryan,
>
> I have just added some more code to the wiki page, and a working quickstart
> project.
>
> http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html
>
> My OpenFlashChart implementation is almost exactly the same as yours.
>
> Only differences I found:
> * You use an *ofc4j.model.Chart* as model, and I use a plain String.
>    Using the Chart itself as model is cool, because then you could change
> the chart on-the-fly.
>    Unfortunately Chart is not serializable and I get
> WicketNotSerializableException's.
>    I will update my code and the quickstart as soon as I get rid of these
> exceptions.
>
> * Your constructor takes width and height but they're not used :-)
>
> * I don't call  swf.setParam( "allowScriptAccess", "sameDomain" );
>   It doesn't seem to be necessary ?
>
> It's only two classes, so I am not sure it's 'big' enough to add to
> wicket-stuff ?
> Perhaps it could be added to minis ?
>
> Maarten
>
> On Fri, Dec 5, 2008 at 6:38 PM, Maarten Bosteels <mb...@gmail.com>wrote:
>
>   
>> Oops, just started working on it :-)
>> Will see if I can add somet more info to the wiki page.
>>
>> Maarten
>>
>>
>>
>> On Fri, Dec 5, 2008 at 5:57 PM, Ryan McKinley <ry...@gmail.com> wrote:
>>
>>     
>>> I just started one with the implementation I have....  we can make it
>>> better, or perhaps add it to wicketstuff...
>>>
>>> http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html
>>>
>>>
>>>
>>> On Nov 5, 2008, at 3:59 PM, Thies Edeling wrote:
>>>
>>>  Maarten Bosteels wrote:
>>>       
>>>>> I have a similar requirement and played a bit with Open Flash Charts.
>>>>> [1]
>>>>> It took little effort to integrate wicket + ofc4j [2] + swfobject [3]
>>>>>
>>>>> [1] http://teethgrinder.co.uk/open-flash-chart-2/glass-bar-chart.php
>>>>> [2] http://code.google.com/p/ofcj/
>>>>> [3] http://code.google.com/p/swfobject/
>>>>>
>>>>> Another requirement was that the user could drag and drop charts around
>>>>> on
>>>>> the page (à la iGoogle) so I tried something like
>>>>> http://interface.eyecon.ro/demos/sort.html  but that failed miserably:
>>>>> half
>>>>> the time the charts wouldn't show up correctly after dragging them
>>>>> around.
>>>>> I still have to find out if I can solve this somehow. All pointers are
>>>>> welcome.
>>>>>
>>>>> Anyway, if you're interested, I can create a wiki page showing the
>>>>> wicket +
>>>>> ofc4j + swfobject integration.
>>>>>
>>>>>  Wiki page would be nice, those open flash charts look a lot better than
>>>>>           
>>>> the jfreechart images.
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>
>>>>
>>>>         
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>       

-- 
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket integration with good charts api

Posted by Maarten Bosteels <mb...@gmail.com>.
On Wed, Dec 10, 2008 at 10:39 PM, shetc <sh...@bellsouth.net> wrote:

>
> Hi Maarten,
>
> This is slightly off-topic as it's not really a Wicket issue but more of a
> Flash problem.
> The Open Flash Chart swf works fine as long as it is not used with SSL.
> According to
> http://kb.adobe.com/selfservice/viewContent.do?externalId=fdc7b5c&sliceId=2
> Adobe , I need to add the following to my WebPage:
>
>
>        @Override
>        protected void setHeaders(WebResponse response) {
>                response.setHeader("Pragma", "public");
>                response.setHeader("Cache-Control", "cache,
> must-revalidate");
>        }
>
> However, this still does not work for an SSL connection. Have you had deal
> with this issue?


No, haven't tried with HTTPS
I've only used OFC in a proof-of-concept project, so I don't have a lot of
experience with it.


Maarten


>
> Thanks,
> Steve
> --
> View this message in context:
> http://www.nabble.com/Wicket-integration-with-good-charts-api-tp20322515p20944703.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: Wicket integration with good charts api

Posted by shetc <sh...@bellsouth.net>.
Hi Maarten,

This is slightly off-topic as it's not really a Wicket issue but more of a
Flash problem.
The Open Flash Chart swf works fine as long as it is not used with SSL. 
According to 
http://kb.adobe.com/selfservice/viewContent.do?externalId=fdc7b5c&sliceId=2
Adobe , I need to add the following to my WebPage:


	@Override
	protected void setHeaders(WebResponse response) {
		response.setHeader("Pragma", "public");
		response.setHeader("Cache-Control", "cache, must-revalidate"); 
	}

However, this still does not work for an SSL connection. Have you had deal
with this issue?

Thanks,
Steve
-- 
View this message in context: http://www.nabble.com/Wicket-integration-with-good-charts-api-tp20322515p20944703.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket integration with good charts api

Posted by shetc <sh...@bellsouth.net>.
Hi Maarten,

The pom.xml worked great! Thanks very much. Had to grab some of my
colleagues 
to show them your Open Flash Charts / Wicket implementation. As usual, they
were
all mumbling "Here comes the Wicket fanatic again" :-) Anyway, they were
very impressed.

Steve
-- 
View this message in context: http://www.nabble.com/Wicket-integration-with-good-charts-api-tp20322515p20927556.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket integration with good charts api

Posted by Maarten Bosteels <mb...@gmail.com>.
Hi Steve,

I only tried the code with wicket 1.4-x and java 6.x

Have you tried building ofc4j yourself ?
I did, because I wanted to install its javdoc and sources into my local
maven repo.

I downloaded the source and created this pom.xml to build it (I should ask
the ofc4j devs if they would consider using maven)

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>


<groupId>ofc4j</groupId>


<artifactId>ofc4j</artifactId>


<packaging>jar</packaging>


<version>1.0-SNAPSHOT</version>


<name>ofc4j</name>

  <description>Open Flash Chart 2.x Library for
Java</description>

  <licenses>
    <license>
      <name>GNU Lesser General Public License</name>
      <url>http://www.gnu.org/licenses/lgpl.html</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <dependencies>

    <dependency>
      <groupId>com.thoughtworks.xstream</groupId>
      <artifactId>xstream</artifactId>
      <version>1.3</version>
    </dependency>


  </dependencies>
  <build>
    <resources>
      <resource>
        <filtering>false</filtering>
        <directory>src/main/resources</directory>
      </resource>
      <resource>
        <filtering>false</filtering>
        <directory>src/main/java</directory>
        <includes>
          <include>**</include>
        </includes>
        <excludes>
          <exclude>**/*.java</exclude>
        </excludes>
      </resource>
    </resources>
    <testResources>
      <testResource>
        <filtering>false</filtering>
        <directory>src/test/java</directory>
        <includes>
          <include>**</include>
        </includes>
        <excludes>
          <exclude>**/*.java</exclude>
        </excludes>
      </testResource>
    </testResources>
    <plugins>
      <plugin>
        <inherited>true</inherited>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
          <debug>true</debug>
          <optimize>true</optimize>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-eclipse-plugin</artifactId>
        <configuration>
          <downloadSources>true</downloadSources>
        </configuration>
      </plugin>

      <!-- Upload sources for IDEs -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <!-- Upload JavaDocs -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <executions>
          <execution>
            <id>attach-javadocs</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>

regards,
Maarten

On Tue, Dec 9, 2008 at 8:00 PM, shetc <sh...@bellsouth.net> wrote:

>
> I agree -- I'm using  5.0 but I guess ofc4j was compiled with 6 but not
> sure.
> --
> View this message in context:
> http://www.nabble.com/Wicket-integration-with-good-charts-api-tp20322515p20921216.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: Wicket integration with good charts api

Posted by shetc <sh...@bellsouth.net>.
I agree -- I'm using  5.0 but I guess ofc4j was compiled with 6 but not sure.
-- 
View this message in context: http://www.nabble.com/Wicket-integration-with-good-charts-api-tp20322515p20921216.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket integration with good charts api

Posted by Edward Zarecor <wi...@indeterminate.org>.
Looks like a difference between the version of your JVM and the
compiler used to compile ofc4j.

> java.lang.UnsupportedClassVersionError: (ofc4j/model/elements/BarChart) bad
> major version at offset=6

Ed.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket integration with good charts api

Posted by shetc <sh...@bellsouth.net>.
Maarten,

Getting the following exception when running your sample with Wicket 1.3.5.
Any ideas?

Steve


java.lang.UnsupportedClassVersionError: (ofc4j/model/elements/BarChart) bad
major version at offset=6
	at java.lang.ClassLoader.defineClassImpl(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:228)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:148)
	at
com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:555)
	at
com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java:506)
	at
com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:380)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
	at com.mycompany.HomePage.<init>(HomePage.java:27)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:521)
	at
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:149)
	at
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:58)
	at
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:262)
	at
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:283)
	at
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:210)
	at
org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)
	at
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175)
	at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252)
	at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)
	at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
	at
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355)
	at
org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:124)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095)
	at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:569)
	at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
	at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
	at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
	at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461)
	at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118)
	at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
	at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
	at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
	at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
	at
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
	at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
	at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
	at
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
	at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)

-- 
View this message in context: http://www.nabble.com/Wicket-integration-with-good-charts-api-tp20322515p20920291.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket integration with good charts api

Posted by Maarten Bosteels <mb...@gmail.com>.
Hello Ryan,

I have just added some more code to the wiki page, and a working quickstart
project.

http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html

My OpenFlashChart implementation is almost exactly the same as yours.

Only differences I found:
* You use an *ofc4j.model.Chart* as model, and I use a plain String.
   Using the Chart itself as model is cool, because then you could change
the chart on-the-fly.
   Unfortunately Chart is not serializable and I get
WicketNotSerializableException's.
   I will update my code and the quickstart as soon as I get rid of these
exceptions.

* Your constructor takes width and height but they're not used :-)

* I don't call  swf.setParam( "allowScriptAccess", "sameDomain" );
  It doesn't seem to be necessary ?

It's only two classes, so I am not sure it's 'big' enough to add to
wicket-stuff ?
Perhaps it could be added to minis ?

Maarten

On Fri, Dec 5, 2008 at 6:38 PM, Maarten Bosteels <mb...@gmail.com>wrote:

> Oops, just started working on it :-)
> Will see if I can add somet more info to the wiki page.
>
> Maarten
>
>
>
> On Fri, Dec 5, 2008 at 5:57 PM, Ryan McKinley <ry...@gmail.com> wrote:
>
>> I just started one with the implementation I have....  we can make it
>> better, or perhaps add it to wicketstuff...
>>
>> http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html
>>
>>
>>
>> On Nov 5, 2008, at 3:59 PM, Thies Edeling wrote:
>>
>>  Maarten Bosteels wrote:
>>>
>>>> I have a similar requirement and played a bit with Open Flash Charts.
>>>> [1]
>>>> It took little effort to integrate wicket + ofc4j [2] + swfobject [3]
>>>>
>>>> [1] http://teethgrinder.co.uk/open-flash-chart-2/glass-bar-chart.php
>>>> [2] http://code.google.com/p/ofcj/
>>>> [3] http://code.google.com/p/swfobject/
>>>>
>>>> Another requirement was that the user could drag and drop charts around
>>>> on
>>>> the page (à la iGoogle) so I tried something like
>>>> http://interface.eyecon.ro/demos/sort.html  but that failed miserably:
>>>> half
>>>> the time the charts wouldn't show up correctly after dragging them
>>>> around.
>>>> I still have to find out if I can solve this somehow. All pointers are
>>>> welcome.
>>>>
>>>> Anyway, if you're interested, I can create a wiki page showing the
>>>> wicket +
>>>> ofc4j + swfobject integration.
>>>>
>>>>  Wiki page would be nice, those open flash charts look a lot better than
>>> the jfreechart images.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>

Re: Wicket integration with good charts api

Posted by Maarten Bosteels <mb...@gmail.com>.
Oops, just started working on it :-)
Will see if I can add somet more info to the wiki page.

Maarten


On Fri, Dec 5, 2008 at 5:57 PM, Ryan McKinley <ry...@gmail.com> wrote:

> I just started one with the implementation I have....  we can make it
> better, or perhaps add it to wicketstuff...
>
> http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html
>
>
>
> On Nov 5, 2008, at 3:59 PM, Thies Edeling wrote:
>
>  Maarten Bosteels wrote:
>>
>>> I have a similar requirement and played a bit with Open Flash Charts. [1]
>>> It took little effort to integrate wicket + ofc4j [2] + swfobject [3]
>>>
>>> [1] http://teethgrinder.co.uk/open-flash-chart-2/glass-bar-chart.php
>>> [2] http://code.google.com/p/ofcj/
>>> [3] http://code.google.com/p/swfobject/
>>>
>>> Another requirement was that the user could drag and drop charts around
>>> on
>>> the page (à la iGoogle) so I tried something like
>>> http://interface.eyecon.ro/demos/sort.html  but that failed miserably:
>>> half
>>> the time the charts wouldn't show up correctly after dragging them
>>> around.
>>> I still have to find out if I can solve this somehow. All pointers are
>>> welcome.
>>>
>>> Anyway, if you're interested, I can create a wiki page showing the wicket
>>> +
>>> ofc4j + swfobject integration.
>>>
>>>  Wiki page would be nice, those open flash charts look a lot better than
>> the jfreechart images.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: Wicket integration with good charts api

Posted by Ryan McKinley <ry...@gmail.com>.
I just started one with the implementation I have....  we can make it  
better, or perhaps add it to wicketstuff...

http://cwiki.apache.org/WICKET/open-flash-chart-and-wicket.html


On Nov 5, 2008, at 3:59 PM, Thies Edeling wrote:

> Maarten Bosteels wrote:
>> I have a similar requirement and played a bit with Open Flash  
>> Charts. [1]
>> It took little effort to integrate wicket + ofc4j [2] + swfobject [3]
>>
>> [1] http://teethgrinder.co.uk/open-flash-chart-2/glass-bar-chart.php
>> [2] http://code.google.com/p/ofcj/
>> [3] http://code.google.com/p/swfobject/
>>
>> Another requirement was that the user could drag and drop charts  
>> around on
>> the page (à la iGoogle) so I tried something like
>> http://interface.eyecon.ro/demos/sort.html  but that failed  
>> miserably: half
>> the time the charts wouldn't show up correctly after dragging them  
>> around.
>> I still have to find out if I can solve this somehow. All pointers  
>> are
>> welcome.
>>
>> Anyway, if you're interested, I can create a wiki page showing the  
>> wicket +
>> ofc4j + swfobject integration.
>>
> Wiki page would be nice, those open flash charts look a lot better  
> than the jfreechart images.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket integration with good charts api

Posted by Thies Edeling <th...@rrm.net>.
Maarten Bosteels wrote:
> I have a similar requirement and played a bit with Open Flash Charts. [1]
> It took little effort to integrate wicket + ofc4j [2] + swfobject [3]
>
> [1] http://teethgrinder.co.uk/open-flash-chart-2/glass-bar-chart.php
> [2] http://code.google.com/p/ofcj/
> [3] http://code.google.com/p/swfobject/
>
> Another requirement was that the user could drag and drop charts around on
> the page (à la iGoogle) so I tried something like
> http://interface.eyecon.ro/demos/sort.html  but that failed miserably: half
> the time the charts wouldn't show up correctly after dragging them around.
> I still have to find out if I can solve this somehow. All pointers are
> welcome.
>
> Anyway, if you're interested, I can create a wiki page showing the wicket +
> ofc4j + swfobject integration.
>   
Wiki page would be nice, those open flash charts look a lot better than 
the jfreechart images.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket integration with good charts api

Posted by Tomasz Dziurko <td...@gmail.com>.
Sure I am interested! :) I think simple example on wiki showing basics
of using Open Flash Charts in Wicket would be nice alternative for
those unsatisfied with JFreeChars library.

Regards
-- 
Tomasz Dziurko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket integration with good charts api

Posted by Maarten Bosteels <mb...@gmail.com>.
I have a similar requirement and played a bit with Open Flash Charts. [1]
It took little effort to integrate wicket + ofc4j [2] + swfobject [3]

[1] http://teethgrinder.co.uk/open-flash-chart-2/glass-bar-chart.php
[2] http://code.google.com/p/ofcj/
[3] http://code.google.com/p/swfobject/

Another requirement was that the user could drag and drop charts around on
the page (à la iGoogle) so I tried something like
http://interface.eyecon.ro/demos/sort.html  but that failed miserably: half
the time the charts wouldn't show up correctly after dragging them around.
I still have to find out if I can solve this somehow. All pointers are
welcome.

Anyway, if you're interested, I can create a wiki page showing the wicket +
ofc4j + swfobject integration.

Maarten


On Tue, Nov 4, 2008 at 9:16 PM, Nino Saturnino Martinez Vazquez Wael <
nino.martinez@jayway.dk> wrote:

> You do know there are an abundance of jfreecharts right, they are highly
> customizable.. And theres even a javaweb start thing where they demo it...
> But you probably did show them this...
>
> http://www.jfree.org/jfreechart/jfreechart-1.0.11-demo.jnlp
>
> Tomasz Dziurko wrote:
>
>> My client needs in his application very good looking charts (simple
>> bars with some gradienst and 3D effects). Unfortunately he didn't like
>> what JFreeChart library offers so I must find and implement another
>> solution.
>> Questions are:
>> 1. Is there any other chart library easy to integrate with Wicket?
>> 2.<off-topic>Which chart api (could be me commercial, client is
>> paying) could you suggest?</off-topic>
>>
>> Thank you for your help
>>
>> Regards
>>
>>
>
> --
> -Wicket for love
>
> Nino Martinez Wael
> Java Specialist @ Jayway DK
> http://www.jayway.dk
> +45 2936 7684
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: Wicket integration with good charts api

Posted by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>.
You do know there are an abundance of jfreecharts right, they are highly 
customizable.. And theres even a javaweb start thing where they demo 
it... But you probably did show them this...

http://www.jfree.org/jfreechart/jfreechart-1.0.11-demo.jnlp

Tomasz Dziurko wrote:
> My client needs in his application very good looking charts (simple
> bars with some gradienst and 3D effects). Unfortunately he didn't like
> what JFreeChart library offers so I must find and implement another
> solution.
> Questions are:
> 1. Is there any other chart library easy to integrate with Wicket?
> 2.<off-topic>Which chart api (could be me commercial, client is
> paying) could you suggest?</off-topic>
>
> Thank you for your help
>
> Regards
>   

-- 
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket integration with good charts api

Posted by Rob Sonke <ro...@tigrou.nl>.
Google charts good enough? (see wicket stuff projects)

Tomasz Dziurko wrote:
> My client needs in his application very good looking charts (simple
> bars with some gradienst and 3D effects). Unfortunately he didn't like
> what JFreeChart library offers so I must find and implement another
> solution.
> Questions are:
> 1. Is there any other chart library easy to integrate with Wicket?
> 2.<off-topic>Which chart api (could be me commercial, client is
> paying) could you suggest?</off-topic>
>
> Thank you for your help
>
> Regards
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket integration with good charts api

Posted by Martijn Dashorst <ma...@gmail.com>.
If you don't mind sending your chart data to google, google charts
might be a good solution. Other than that, you'll probably be heading
into the flash chart area (there are a lot of flash libraries for
creating flashy charts). I haven't used any of them, so you should try
some out.

Martijn

On Tue, Nov 4, 2008 at 7:43 AM, Tomasz Dziurko <td...@apetonic.com> wrote:
> My client needs in his application very good looking charts (simple
> bars with some gradienst and 3D effects). Unfortunately he didn't like
> what JFreeChart library offers so I must find and implement another
> solution.
> Questions are:
> 1. Is there any other chart library easy to integrate with Wicket?
> 2.<off-topic>Which chart api (could be me commercial, client is
> paying) could you suggest?</off-topic>
>
> Thank you for your help
>
> Regards
> --
> Tomasz Dziurko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org