Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Sandeep Nair
Google Chartlet
May 14, 2010 3:27 AM
Answer

Sandeep Nair

Rank: Liferay Legend

Posts: 1693

Join Date: November 5, 2008

Recent Posts

Hi,

Sorry if i am posting it in wrong category.

I am pleased to announce that i have created a google chart portlet using charts4j api.

This portlet has some reports to show users, org and community distribution, users in organizations, asset distribution and some static sample demo charts that are there in charts4j website.

You can download the plugin from Community Plugins section or from sourceforge

More information can be found from my blog.



Regards,
Sandeep
Juan Fernández
RE: Google Chartlet
May 14, 2010 3:34 AM
Answer

Juan Fernández

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1256

Join Date: October 2, 2008

Recent Posts

Wow, Sandeep: this is amazing. Nice contribution
Thanks a lot! emoticon
Sandeep Nair
RE: Google Chartlet
May 14, 2010 3:36 AM
Answer

Sandeep Nair

Rank: Liferay Legend

Posts: 1693

Join Date: November 5, 2008

Recent Posts

Thanks Juan,

Well I need suggestions for improvement, so any suggestions,improvement and criticisms are most welcome.

Regards,
Sandeep
Juan Fernández
RE: Google Chartlet
May 14, 2010 3:46 AM
Answer

Juan Fernández

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1256

Join Date: October 2, 2008

Recent Posts

This would be GREAT for the control panel: a reports tab where we can see all this information. I'll study your portlet to propose improvements.
Let's see what the community think about this
Julio Camarero
RE: Google Chartlet
May 14, 2010 4:00 AM
Answer

Julio Camarero

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1658

Join Date: July 15, 2008

Recent Posts

Hi Sandeep,

it is really nice!! It works in liferay 6 too emoticon congratulations!

I have some suggestions for improvements:
  • The configuration options should be in the configuration of the portlet (more info here)
  • The name might be confusing as people may think this portlet is for building google charts but it only allows you to create charts based on your liferay data. This one could be something like "Portal Reports Charts" (for example) and it would be very nice to have a Google Charts portlet to allow the user to show any kind of chart.



Cheers!
Nidhi Singh
RE: Google Chartlet
May 14, 2010 4:26 AM
Answer

Nidhi Singh

LIFERAY STAFF

Rank: Regular Member

Posts: 155

Join Date: October 7, 2009

Recent Posts

Hi Sandeep,

it's really nice portlet

Thanks
Nidhi Singh
Sandeep Nair
RE: Google Chartlet
May 14, 2010 5:02 AM
Answer

Sandeep Nair

Rank: Liferay Legend

Posts: 1693

Join Date: November 5, 2008

Recent Posts

Thanks everyone. You should see my face so pleased!!!.

Julio thanks very much for the suggestion.

# The configuration options should be in the configuration of the portlet (more info here)


Regarding the Configuration, i first set it in preferences like creating a edit mode, but then it turned out that if a user clicks on preferences and visits the page from somewhere else, it still shows preference page instead of view page.

Then i tried doing it via Configuration as you said, but i faced a problem. Like as you have seen there are 2 step process to set up a report, where i basically save the preference like report type and chart type using preference.store()

And i was setting up the configuration button in portlet itself to save Report name, width and height. But when i do that sometimes it happened that charttype preference value seems to get lost.

So i had to keep that in settings.

The name might be confusing as people may think this portlet is for building google charts but it only allows you to create charts based on your liferay data. This one could be something like "Portal Reports Charts" (for example) and it would be very nice to have a Google Charts portlet to allow the user to show any kind of chart.


Actually my idea in starting was to just see how i can show google charts in one of the portlet, but as it went out i used liferay data to generate some sample reports.

Regards,
Sandeep
zaheer mohammed saddapalli
RE: Google Chartlet
May 14, 2010 6:48 AM
Answer

zaheer mohammed saddapalli

Rank: Regular Member

Posts: 164

Join Date: January 15, 2008

Recent Posts

Hi Sandeep,

Excellent contribution .....
zaheer mohammed saddapalli
RE: Google Chartlet
May 14, 2010 6:54 AM
Answer

zaheer mohammed saddapalli

Rank: Regular Member

Posts: 164

Join Date: January 15, 2008

Recent Posts

Hi Sandeep,

Is this charts Domain Specific?

What if i have 3 portal instances running in a single instance of LiferaY?

Regards,
Saddapalli Mohammed Zaheer
Sandeep Nair
RE: Google Chartlet
May 14, 2010 9:05 AM
Answer

Sandeep Nair

Rank: Liferay Legend

Posts: 1693

Join Date: November 5, 2008

Recent Posts

Hi,

Its not domain specific right now. Like all the users in the system would be displayed in chart.

Regards,
Sandeep.
Pranay R Patadiya
RE: Google Chartlet
May 16, 2010 10:14 PM
Answer

Pranay R Patadiya

Rank: Regular Member

Posts: 181

Join Date: February 22, 2010

Recent Posts

Hi Sandeep,

Its really wonderful job and it is very helpful for report generation.

Really great job.

Regards,
Pranay Patadiya
Sandeep Nair
RE: Google Chartlet
July 22, 2010 11:03 PM
Answer

Sandeep Nair

Rank: Liferay Legend

Posts: 1693

Join Date: November 5, 2008

Recent Posts

Hi everyone,

Google chartlet for liferay 6.0.3 support is available in community plugins page.

Regards,
Sandeep
Dhandapani S
RE: Google Chartlet
December 22, 2010 2:12 AM
Answer

Dhandapani S

Rank: Regular Member

Posts: 157

Join Date: March 24, 2009

Recent Posts

Hi Sandeep,

Thanks for your contribution to community. Keep Rock.......

Regards

Dhandapani S
Sandeep Nair
RE: Google Chartlet
April 17, 2012 7:24 PM
Answer

Sandeep Nair

Rank: Liferay Legend

Posts: 1693

Join Date: November 5, 2008

Recent Posts

Hi all,

Just updated this portlet to support Liferay 6.1. Same is available for download at community plugin download page or sourceforge.

Regards,
Sandeep
Vishnudas Lokhande
RE: Google Chartlet
February 9, 2014 11:27 PM
Answer

Vishnudas Lokhande

Rank: Regular Member

Posts: 142

Join Date: May 27, 2013

Recent Posts

pi chart ...When i am incresing height and width ....the complete image is not fitting in portlet...names for slices are out of border...
Vishnudas Lokhande
RE: Google Chartlet
February 10, 2014 9:03 PM
Answer

Vishnudas Lokhande

Rank: Regular Member

Posts: 142

Join Date: May 27, 2013

Recent Posts

and one thing i want to show percentage on the slices itself...pie chart..