sebfz1 / wicket-jquery-ui

jQuery UI & Kendo UI integration in Wicket
http://www.7thweb.net/wicket-jquery-ui/
Other
92 stars 58 forks source link

Charting module/plugin #69

Closed sebfz1 closed 10 years ago

sebfz1 commented 10 years ago

(follow up from thread #66)

@JavaLuigi - Hi Lugder,

About jChartFX licensing, I post the question in the forum http://community.jchartfx.com/forums/p/178/458.aspx#458

I remembered that @paulbors said that jChartFX was released as open source last year [1], but the link he mentioned is unfortunately dead.

Basically, what I think:

I like jChartFX because it is almost complete in term of chats, it includes a realtime graph as well as a zoom scrollbar (2 features I'll really like to have), it's HTML5 based (ready for tablets!) and one of the most important point, it supports jQuery UI theming... wicket-jquery-ui aim to be, at first, the integration of jQuery UI and, by derivating, the integration of other related jQuery / jQuery UI plugins.

I heard about D3 and it seems to be nice! But the main issue for me is that it is not jQuery based... (AFAIU)

Another jQuery based charting library I really like (for which I did a partial integration, several years ago using wicket-1.4.x) is highcharts [2] but an integration for wicket 1.5.x / 6.x is already available through the wicked-chat project [3]...

Just to mention it, the Kendo UI dataviz is really (really) nice also! It is just... not free at all! :p

So, maybe can I suggest to wait for an answer from the jChartFX forum... In the meantime, if you have any other thought and/or suggestions, feel free :)

Thanks & best regards, Sebastien.

[1] http://apache-wicket.1842946.n4.nabble.com/Charts-in-Wicket-td4653548.html [2] http://www.highcharts.com/demo/ [3] http://code.google.com/p/wicked-charts/

KluDev commented 10 years ago

Hi Sebastien,

I fully agree. jChartFX looks very good and seems to be a nice charting framework. I hope you will receive a positive answer from Software FX.

I know D3 is not jQuery / UI based. So a jQuery framework would be better, that's right.

Let's see what tomorrow brings :) Regards Ludger

KluDev commented 10 years ago

Hi Sebastien,

did you receive an answer from the Software FX legal department?

Regards Ludger

sebfz1 commented 10 years ago

Hi Ludger,

Yes, someone from the legal dept (I suppose actually) contacted me. After having explained the matter in more details, he answered me (yesterday) that they are not planning to offer any kind of licensing support (of type GPL, ASF or Open Source licensing) any time soon.

Therefore jchartfx libraries cannot be bundled within redistributables (jar typically). So, that's not a very good point... The last option is to not bundle the libraries and let the user downloading the libraries (and implements a IChartLibrarySettings). But the question remains about the demo site, which is open source (even not released/distributed)... I am waiting for his reply.

Then, we will be able to take a decision (even if we begin to know the answer...)

Best regards, Sebastien.

sebfz1 commented 10 years ago

Actually, I am a little bit sad if we cannot integrate it, because I did a poc and it was looking quite promising... Please have a look at the demo in the master-chart branch!... ;)

KluDev commented 10 years ago

Hi Sebastien,

yes, it's a little bit sad but I expected such kind of answer. Of course I can understand there intension and I think we should look for some OSS lib for charting.

What I find interesting is NVD3 (https://github.com/novus/nvd3). But I think you know about this charting lib as well. If not, have a look at the examples attached to the source code. The examples on the website are outdated. The lib has also a magnifier to view chart regions more closely. It could be an alternative.

I will have a look at your master-chart branch asap.

Regards Ludger

sebfz1 commented 10 years ago

Hi Ludger,

I knew about D3, but not NVD3... The samples included in the source are really good! And there is - I think - all feature I will need!..

The only concern... Is that it is not jquery based. :s It would sound strange that a non-jquery based lib is integrated as part of a "wicket-jquery-ui" project...

Maybe a solution would be to have another project/repo. Let's take time to think about this :)

Thanks & best regards, Sebastien.

KluDev commented 10 years ago

Hi Sebastien,

I understand your concern. Yes, it's not jquery based that's right. Strictly speaking a new repo would be the right way. Anyhow, I would prefer an wicket-jquery integrated solution like wicket-nvd or so. Because I see wicket-jquery as a UI framework for wicket with a lot of basic modules that framework developers need.

Maybe this helps to find a way cu Ludger

PS: Another idea is to change the name of the project to wicket-ui-toolbox or wicket-ui-tools or so.

sebfz1 commented 10 years ago

Hi Luger,

A quick follow-up here as I just received an answer from jChartFX which confirms there is no problem using the libraries on the demo website and also have the libraries committed in this repo. (as long as these are not bundled into redistributables....)

So, there is 2 options IMO: 1/ If the chosen library relies on jQuery, then it could be jChartFX and could be part of wicket-jquery-ui as a sub-module (like wicket-jquery-ui-chart) 2/ If the chosen library does not rely on jQuery, it could be nvd3 for instance, then it has be to another repo (wicket-nvd3 for instance). Actually, a repo already exists: https://github.com/viewsoft/wicket-nvd3js (but it seems to be just a poc...)

I will be honest, I am feeling the first option better... Even I know the libraries cannot be redistributed.

What do you think? Sebastien.

KluDev commented 10 years ago

Hi Sebastien,

I hope I understand that right:

a) I CANNOT redistribute a complete project or lib where jChartFX is part of. b) I CAN use jChartFX for my own projects even when the project is a commercial one WHITOUT API access to jChartFX. c) I CANNOT use jChartFX in a commercial project if web services or API access deliver charts from jChartFX.

If b) is true I can live with that and I fully agree to integrate jChartFX as a module. Because I prefer to send values not charts via API or web services. An integration of jChartFX would be great than.

Have nice day Ludger

sebfz1 commented 10 years ago

Hi Ludger,

a) right b) right, even I am not sure about the API access c) then, not sure...

For clarity, here is the answer from jChartFX:

The license details are published there in the repository (https://github.com/softwarefx/jChartFX/blob/master/License.md). There are 3 different licenses in jChartFX: Commercial Free License (a watermark logo will appear), Commercial Domain license (to remove the jChartFX logo) and OEM commercial License (required when embedding or distributing jChartFX within other software).

You can use jChartFX in your website at no cost (showing the logo) and then your customers/visitors can download the libraries from our download web page and read and approve the license agreement, so I think this model can perfectly work for you and you still will be in compliance.

Yes, you can store jChartFX libraries (remember jChartFX is not Open Source) in your public repository or you can also fork a project from a GitHub repository and you still be in compliance with the license agreement.

So, I will continue making some tests, thinking about the architecture and establish a war plan! :) Then, if you are ready to help, you will be welcome :)

Best regards, Sebastien.

KluDev commented 10 years ago

Hi Sebastien,

of course I would like to join your project because I'm looking for a wicket charting module. I've one additional idea about the module architecture. What do you think about an abstract layer for each diagram type so that we can use other libs like nvd3 as well. I think this will give us the chance to get rid of some stupid oss or not oss discussions. So we can say 'choose what you like the api is the same for both types'.

I think the majority of diagram types, methods, settings and so on are with jChartFX. The implementation of the abstract layer has to cover all this.

What do you think about the idea?

Best regards, Ludger

sebfz1 commented 10 years ago

Hi Ludger,

Glad to read you will join! I understand your idea about the abstract layer. But it will be very difficult - not to say a nightmare - to put it in place because all libraries are very different, from the the usage to the model (the JSON data structure are completely different). That's not like these are implementing a common spec... So, I definitely prefer to focus on one library and have a tight integration to reach the most perfect result as possible! :)

Thanks & best regards, Sebastien.

KluDev commented 10 years ago

Hi Sebastien,

OK, I understand, no nightmare programming :)) Do you have any kind of schedule or what are your plannings for the project?

Best regards Ludger

sebfz1 commented 10 years ago

Yes, asap! :) I will try to spend some time this week for the plan to be ready early next week...

Thanks & best regards, Sebastien.

sebfz1 commented 10 years ago

Hi Lugder,

I committed in the master-chart branch the bases of the jChartFX implementation as well as some samples. There is a lot of things that remains to do. I think a good order to begin would be:

jChartFX Demo: http://www.jchartfx.com/demo/

jChartFX Documentation http://support.softwarefx.com/jChartFX/article/2501235

jChartFX API Documentation http://support.softwarefx.com/jChartFX/api

I am inviting you to have a look at the wicket-jquery-ui-chart module and try to use it through some samples, it will give you a good overview I think...

Thanks & best regards :) Sebastien

KluDev commented 10 years ago

Hi Sebastien,

I will have a look at the samples and I will give you some feedback asap.

OK, best regards Ludger

KluDev commented 10 years ago

Hi Sebastien,

the best wishes for 2014 to you and all other readers.

I had no errors during build process and yes the first samples look very nice. Good work.

Thanks and kind regards Ludger

sebfz1 commented 10 years ago

Hi Ludger,

Thank you very much for your best wishes! :) I also wish you all the best for this new year!

Thanks for your comment! I will probably begin to use it for real (even in this very early stage)! :)

Best regards, Sebastien.

sebfz1 commented 10 years ago

Hi Lugder,

To let you know: I tried to use jchartfx in with real (realtime) usecase, and I add lot of issues I was never able to solve and I never received any single answer from the forum. So, at work, I switched to highcharts which is really more suitable. For the moment, I only used it in javascript and I will probably give a try to wicked-chart which seems to be very good integration of highcharts...

So, I should tell you that do not wish integrate jchartfx as a module of wicket-jquery-ui anymore, I am too disappointed...

Thank you for your understanding, Sebastien

KluDev commented 10 years ago

Hi Sebastien,

oh what bad news. But I can understand that it is impossible to integrate jchartfx when there is no support. Yes indeed highcharts could be an alternative. I think I will have a look at it.

Thanks for your information and regards Ludger

2014-02-05 Sebastien Briquet notifications@github.com:

Hi Lugder,

To let you know: I tried to use jchartfx in with real (realtime) usecase, and I add lot of issues I was never able to solve and I never received any single answer from the forum. So, at work, I switched to highcharts which is really more suitable. For the moment, I only used it in javascript and I will probably give a try to wicked-chart which seems to be very good integration of highcharts...

So, I should tell you that do not wish integrate jchartfx as a module of wicket-jquery-ui anymore, I am too disappointed...

Thank you for your understanding, Sebastien

Reply to this email directly or view it on GitHubhttps://github.com/sebfz1/wicket-jquery-ui/issues/69#issuecomment-34164702 .

sebfz1 commented 10 years ago

Hi Ludger,

Yes highcharts is really nice and the java/wicket integration is officially referenced on HighCharts site: http://www.highcharts.com/download

Hope you will like it! :)

Best regards, Sebastien