You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Sascha Rodekamp (JIRA)" <ji...@apache.org> on 2010/08/27 14:29:54 UTC

[jira] Created: (OFBIZ-3905) jQuery plotter implementation

jQuery plotter implementation
-----------------------------

                 Key: OFBIZ-3905
                 URL: https://issues.apache.org/jira/browse/OFBIZ-3905
             Project: OFBiz
          Issue Type: Sub-task
          Components: ALL APPLICATIONS
    Affects Versions: jQuery
            Reporter: Sascha Rodekamp
             Fix For: jQuery


Hi guys,

i switched the plotter libary to a jQuery featured one. I decided to use the [flot|http://code.google.com/p/flot/] libary because it's MIT licened and seem to work well.

For applying the patch please extract and copy the zip file to the jquery/plugins/flot/ folder.

Cheers
Sascha

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (OFBIZ-3905) jQuery plotter implementation

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-3905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903816#action_12903816 ] 

Jacques Le Roux edited comment on OFBIZ-3905 at 8/28/10 7:30 AM:
-----------------------------------------------------------------

Hi Sascha,

As a POC it would almost work but not as an example for the Example component.

2 issues
# The pie chart does not work
# You should use existing Example values instead of hardcoded films types :)

Also we should take care of flotr stuff to avoid any ambiguities
* rename <screen name="FlotrChart">
* rename  flotrPie.ftl and related like framework/common/webcommon/includes/flotrCharts
* rename flotr example requests
* rename <include-screen name="FlotrChart" location="component://common/widget/flotrScreens.xml"/>
* rename... etc.
* remove framework/images/webapp/images/flotr when all will be ok

Thanks

      was (Author: jacques.le.roux):
    Hi Sascha,

As a POC it would almost work but not as an example for the Example component.

2 issues
# The pie chart does not work
# You should use existing Example values instead of hardcoded films types :)

Also we should take care of flotr stuff
* remove <screen name="FlotrChart">
* remove flotrPie.ftl
* remove framework/images/webapp/images/flotr
* rename <!--flotr example requests-->
* rename <include-screen name="FlotrChart" location="component://common/widget/flotrScreens.xml"/>

Thanks
  
> jQuery plotter implementation
> -----------------------------
>
>                 Key: OFBIZ-3905
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3905
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: ALL APPLICATIONS
>    Affects Versions: jQuery
>            Reporter: Sascha Rodekamp
>             Fix For: jQuery
>
>         Attachments: flot.zip, OFBIZ-3905_jQueryPlotter.patch
>
>
> Hi guys,
> i switched the plotter libary to a jQuery featured one. I decided to use the [flot|http://code.google.com/p/flot/] libary because it's MIT licened and seem to work well.
> For applying the patch please extract and copy the zip file to the jquery/plugins/flot/ folder.
> Cheers
> Sascha

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-3905) jQuery plotter implementation

Posted by "Sascha Rodekamp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sascha Rodekamp updated OFBIZ-3905:
-----------------------------------

    Attachment: flot.zip
                OFBIZ-3905_jQueryPlotter.patch

> jQuery plotter implementation
> -----------------------------
>
>                 Key: OFBIZ-3905
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3905
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: ALL APPLICATIONS
>    Affects Versions: jQuery
>            Reporter: Sascha Rodekamp
>             Fix For: jQuery
>
>         Attachments: flot.zip, OFBIZ-3905_jQueryPlotter.patch
>
>
> Hi guys,
> i switched the plotter libary to a jQuery featured one. I decided to use the [flot|http://code.google.com/p/flot/] libary because it's MIT licened and seem to work well.
> For applying the patch please extract and copy the zip file to the jquery/plugins/flot/ folder.
> Cheers
> Sascha

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-3905) jQuery plotter implementation

Posted by "Sascha Rodekamp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-3905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904649#action_12904649 ] 

Sascha Rodekamp commented on OFBIZ-3905:
----------------------------------------

Hi Jacques, thanks for the help.

The % think works, i saw an example. There are a lot of examples under the jquery/plugin/flot/example folder. When you open the pie.html you can see, that it is possible to add description to every slice (I will provide an update tomorrow, if you not faster :-)). Unfortunately the pie explosion visualization is not possible in this version... but they keep still working on it and there are daylie updates in the flot trunk so i think this feature will reach us soon :-)

Thanks and have a good evening
Sascha

> jQuery plotter implementation
> -----------------------------
>
>                 Key: OFBIZ-3905
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3905
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: ALL APPLICATIONS
>    Affects Versions: jQuery
>            Reporter: Sascha Rodekamp
>            Assignee: Jacques Le Roux
>             Fix For: jQuery
>
>         Attachments: flot.zip, framework.zip, OFBIZ-3905_jQueryPlotter.patch, OFBIZ-3905_jQueryPlotter.patch
>
>
> Hi guys,
> i switched the plotter libary to a jQuery featured one. I decided to use the [flot|http://code.google.com/p/flot/] libary because it's MIT licened and seem to work well.
> For applying the patch please extract and copy the zip file to the jquery/plugins/flot/ folder.
> Cheers
> Sascha

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-3905) jQuery plotter implementation

Posted by "Sascha Rodekamp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sascha Rodekamp updated OFBIZ-3905:
-----------------------------------

    Attachment: OFBIZ-3905_pieChatPercentageLabel.patch

Hi Jacques,

here is the Pie Label Percentage update you requested. Not a big deal, there are several other configuration possibilities...

Have a good day while cleaning you're office ;)

Cheers
Sascha 

> jQuery plotter implementation
> -----------------------------
>
>                 Key: OFBIZ-3905
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3905
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: ALL APPLICATIONS
>    Affects Versions: jQuery
>            Reporter: Sascha Rodekamp
>            Assignee: Jacques Le Roux
>             Fix For: jQuery
>
>         Attachments: flot.zip, framework.zip, OFBIZ-3905_jQueryPlotter.patch, OFBIZ-3905_jQueryPlotter.patch, OFBIZ-3905_pieChatPercentageLabel.patch
>
>
> Hi guys,
> i switched the plotter libary to a jQuery featured one. I decided to use the [flot|http://code.google.com/p/flot/] libary because it's MIT licened and seem to work well.
> For applying the patch please extract and copy the zip file to the jquery/plugins/flot/ folder.
> Cheers
> Sascha

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-3905) jQuery plotter implementation

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-3905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903816#action_12903816 ] 

Jacques Le Roux commented on OFBIZ-3905:
----------------------------------------

Hi Sascha,

As a POC it would almost work but not as an example for the Example component.

2 issues
# The pie chart does not work
# You should use existing Example values instead of hardcoded films types :)

Also we should take care of flotr stuff
* remove <screen name="FlotrChart">
* remove flotrPie.ftl
* remove framework/images/webapp/images/flotr
* rename <!--flotr example requests-->
* rename <include-screen name="FlotrChart" location="component://common/widget/flotrScreens.xml"/>

Thanks

> jQuery plotter implementation
> -----------------------------
>
>                 Key: OFBIZ-3905
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3905
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: ALL APPLICATIONS
>    Affects Versions: jQuery
>            Reporter: Sascha Rodekamp
>             Fix For: jQuery
>
>         Attachments: flot.zip, OFBIZ-3905_jQueryPlotter.patch
>
>
> Hi guys,
> i switched the plotter libary to a jQuery featured one. I decided to use the [flot|http://code.google.com/p/flot/] libary because it's MIT licened and seem to work well.
> For applying the patch please extract and copy the zip file to the jquery/plugins/flot/ folder.
> Cheers
> Sascha

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OFBIZ-3905) jQuery plotter implementation

Posted by "Sascha Rodekamp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sascha Rodekamp updated OFBIZ-3905:
-----------------------------------

    Attachment: OFBIZ-3905_jQueryPlotter.patch
                framework.zip

Hi Jacques,

ok i renamed all the files and used "real" numbers to create the charts.

To apply the patch please:

* extract framework.zip and copy the folders into ofbiz/framework/
* apply the patch file
* delete :
** Folder: framework/common/webcommon/includes/flotrCharts
** File: framework/common/widget/flotrScreens.xml
** Folder: framework/example/webapp/example/flot
* extract the flot.zip file and copy to jquery/plugins/flot
* delete the old flotr folder

I hope i didn't miss anythink.

Cheers
Sascha

> jQuery plotter implementation
> -----------------------------
>
>                 Key: OFBIZ-3905
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3905
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: ALL APPLICATIONS
>    Affects Versions: jQuery
>            Reporter: Sascha Rodekamp
>             Fix For: jQuery
>
>         Attachments: flot.zip, framework.zip, OFBIZ-3905_jQueryPlotter.patch, OFBIZ-3905_jQueryPlotter.patch
>
>
> Hi guys,
> i switched the plotter libary to a jQuery featured one. I decided to use the [flot|http://code.google.com/p/flot/] libary because it's MIT licened and seem to work well.
> For applying the patch please extract and copy the zip file to the jquery/plugins/flot/ folder.
> Cheers
> Sascha

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-3905) jQuery plotter implementation

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-3905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904681#action_12904681 ] 

Jacques Le Roux commented on OFBIZ-3905:
----------------------------------------

Thanks for the update Sascha,

I guess I will not be faster than you: currently cleaning my office and fixing some things here and there. Yes, that's one of your responsabilities when you work online ;)

> jQuery plotter implementation
> -----------------------------
>
>                 Key: OFBIZ-3905
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3905
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: ALL APPLICATIONS
>    Affects Versions: jQuery
>            Reporter: Sascha Rodekamp
>            Assignee: Jacques Le Roux
>             Fix For: jQuery
>
>         Attachments: flot.zip, framework.zip, OFBIZ-3905_jQueryPlotter.patch, OFBIZ-3905_jQueryPlotter.patch
>
>
> Hi guys,
> i switched the plotter libary to a jQuery featured one. I decided to use the [flot|http://code.google.com/p/flot/] libary because it's MIT licened and seem to work well.
> For applying the patch please extract and copy the zip file to the jquery/plugins/flot/ folder.
> Cheers
> Sascha

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (OFBIZ-3905) jQuery plotter implementation

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-3905.
----------------------------------

    Resolution: Fixed

Thanks Sascha,

Your patch is commited at r991486. I close, since this lib (flot) will continue to evolve, if someboby wants to improve later, it's open...


> jQuery plotter implementation
> -----------------------------
>
>                 Key: OFBIZ-3905
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3905
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: ALL APPLICATIONS
>    Affects Versions: jQuery
>            Reporter: Sascha Rodekamp
>            Assignee: Jacques Le Roux
>             Fix For: jQuery
>
>         Attachments: flot.zip, framework.zip, OFBIZ-3905_jQueryPlotter.patch, OFBIZ-3905_jQueryPlotter.patch, OFBIZ-3905_pieChatPercentageLabel.patch
>
>
> Hi guys,
> i switched the plotter libary to a jQuery featured one. I decided to use the [flot|http://code.google.com/p/flot/] libary because it's MIT licened and seem to work well.
> For applying the patch please extract and copy the zip file to the jquery/plugins/flot/ folder.
> Cheers
> Sascha

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (OFBIZ-3905) jQuery plotter implementation

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux reassigned OFBIZ-3905:
--------------------------------------

    Assignee: Jacques Le Roux

> jQuery plotter implementation
> -----------------------------
>
>                 Key: OFBIZ-3905
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3905
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: ALL APPLICATIONS
>    Affects Versions: jQuery
>            Reporter: Sascha Rodekamp
>            Assignee: Jacques Le Roux
>             Fix For: jQuery
>
>         Attachments: flot.zip, framework.zip, OFBIZ-3905_jQueryPlotter.patch, OFBIZ-3905_jQueryPlotter.patch
>
>
> Hi guys,
> i switched the plotter libary to a jQuery featured one. I decided to use the [flot|http://code.google.com/p/flot/] libary because it's MIT licened and seem to work well.
> For applying the patch please extract and copy the zip file to the jquery/plugins/flot/ folder.
> Cheers
> Sascha

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-3905) jQuery plotter implementation

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-3905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904643#action_12904643 ] 

Jacques Le Roux commented on OFBIZ-3905:
----------------------------------------

Thanks Sascha,

It works well indeed. The bat chart is better than before, we just have lost the % on the pie chart. I have committed at r991209 for now, and hopefully you or I will fix the % thing (if possible)

Also you made a small error above,
it's not 
Folder: framework/example/webapp/example/flot
but
Folder: framework/example/webapp/example/flotr ;)

I have also removed PrepareDataForFlotrGraph.groovy and flotrPie.ftl (not sure how and where it was used, did not find any calls remaining, I guess it was let there by error)

And also, not sure why, but jquery.js had inconsistent EOLs

> jQuery plotter implementation
> -----------------------------
>
>                 Key: OFBIZ-3905
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3905
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: ALL APPLICATIONS
>    Affects Versions: jQuery
>            Reporter: Sascha Rodekamp
>            Assignee: Jacques Le Roux
>             Fix For: jQuery
>
>         Attachments: flot.zip, framework.zip, OFBIZ-3905_jQueryPlotter.patch, OFBIZ-3905_jQueryPlotter.patch
>
>
> Hi guys,
> i switched the plotter libary to a jQuery featured one. I decided to use the [flot|http://code.google.com/p/flot/] libary because it's MIT licened and seem to work well.
> For applying the patch please extract and copy the zip file to the jquery/plugins/flot/ folder.
> Cheers
> Sascha

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.