1 of 2
1
ChartMe! - An ExpressionEngine Chart Generating Module
Posted: 30 June 2008 03:07 PM   [ Ignore ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  357
Joined  02-24-2008

Hey!

I’ve decided I would like to contribute more to the community, and I really wanted to develop something, so I looked for a niche in the ExpressionEngine Module Market, and I wrote ChartMe! Please bare in mind this is my first EE module!

ChartMe! is a dynamic chart generating module for ExpressionEngine. It is easy to install and use, and I provide great support. It currently only outputs bar charts, but I’ve got others planned.

In it’s current state, it has quite limited features, but I follow the ethos of “Release early, Release often”. I have some cool stuff in the pipeline.

How to use

*  Upload the chartme folder to your system/modules directory.
*  Upload the chartme_images folder to your images directory.
*  Upload the lang.chartme.php folder to your languages/english directory.
*  Enable the module in your control panel
*  Enter the EETags into your templates

Example EETag

{exp:chartme title="Scores" type="1" width="200" height="200" colors="true" chart_data="Jamie:10|Mary:6|Sam:8|Peter:4"}{/exp:chartme}

Parameters

title (required)

The title of the chart, displays in an <h2> tag.

type (required)

The type of the chart, horizontal (0) or vertical (1)

width (require)

The width of the chart (in px)

height (required)

The height of the chart (in px)

colors

Whether to use different colors for the chart.

chart_data (required)

The data for the chart. Comes in an array of sorts. Each bar is split by a “pipe” character (”|”), and the name of the bar and the value is separated by a colon (”:”).

For example:

Jamie:10|Sam:8|Mary:4

License

You are free to:

  * Use this software for any purposes
  * Redistribute this software anywhere
  * Change/Modify the software
  * Redistribute your changes

On the condition that:

  * A copy of this license is available
  * Credit is given to me
  * You send me an email if you ever use it for commercial purposes
  * If we ever meet up, you buy me a beer wink

Support

Feel free to either post in this topic, PM me, or email me directly either by the contact form on my website, or at: jamie (at) jamierumbelow (dot) net

Download

You can grab the latest version here: Here


I hope you enjoy it, and please report any bugs you find.

Thanks!

Jamie

 Signature 

http://www.jamierumbelow.net - My blog…
http://www.fourthtimelucky.com

Profile
 
 
Posted: 30 June 2008 03:12 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15379
Joined  05-15-2004

Jamie, thanks for what looks like a very nice module! I will test this in the next couple of days.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 01 July 2008 09:41 PM   [ Ignore ]   [ # 2 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  574
Joined  08-31-2005

hey jamie-
sounds interesting…can you post up some screen shots of the output chart? the module interface? etc?

Profile
 
 
Posted: 01 July 2008 10:09 PM   [ Ignore ]   [ # 3 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  716
Joined  07-02-2007
james Brown - 01 July 2008 09:41 PM

hey jamie-
sounds interesting…can you post up some screen shots of the output chart? the module interface? etc?

We love screenshots!! Owyeah, Gimmie

 Signature 

Truly ExpressionEngine


Fielder Module ( Mass Custom Fields )
Super Cache (Cache heavy tag output)
reCAPTCHA Extension
Rewrite Module


See all my EE Addons (8)

Profile
 
 
Posted: 01 July 2008 11:14 PM   [ Ignore ]   [ # 4 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1076
Joined  01-24-2006

Guess I know now why you were asking about arrays wink Bring on the screenshots

 Signature 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 02 July 2008 12:42 AM   [ Ignore ]   [ # 5 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  357
Joined  02-24-2008

Ok!

Here is a little logo I put together:

http://www.jamierumbelow.net/files/logo.png

Here is a screenshot of lots of charts at once running on my localhost:

http://www.jamierumbelow.net/files/charts.png

 Signature 

http://www.jamierumbelow.net - My blog…
http://www.fourthtimelucky.com

Profile
 
 
Posted: 02 July 2008 07:00 AM   [ Ignore ]   [ # 6 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  596
Joined  12-10-2006

Good on you for producing this!

I have a couple of questions - if the answers to both are “yes”, the this would be a very handy tool!

1. Can the ‘exp:chartme’ tag be used inside a weblog:entries tag?
2. Can the ‘chart_data’ parameter take dynamic elements, for example:

{exp:weblog:entries weblog="blah" etc}
{exp
:chartme title="Scores" type="1" width="200" height="200" chart_data="Jamie:{some_custom_field}|Mary:{another_custom_field}"}{/exp:chartme}
{
/exp:weblog:entries}

If so, you could also use the query module to get a {count} of particular entries or categories.

Profile
 
 
Posted: 02 July 2008 08:40 AM   [ Ignore ]   [ # 7 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  357
Joined  02-24-2008

Both answers are yes!

One thing though, you must make sure that the value parameters inside chart_data are numbers, other wise it will throw a php error.

Thanks!

 Signature 

http://www.jamierumbelow.net - My blog…
http://www.fourthtimelucky.com

Profile
 
 
Posted: 02 July 2008 12:04 PM   [ Ignore ]   [ # 8 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  246
Joined  04-12-2008

Hi.

Seems to be a nice plugin, screenshots would be very handy. Also your website is really, really slow (right now, I cannot even connect), any chance you can improve this?

 Signature 

Designchuchi | Twitter

URL Field Extension
Required Category Extension
DC FreeForm GeoIP Extension

Profile
 
 
Posted: 02 July 2008 12:08 PM   [ Ignore ]   [ # 9 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  357
Joined  02-24-2008

Hmm.. I’ve been having some issues with my server, I’ll sort that out.

Oh, and look for a few posts up for screenshots.

 Signature 

http://www.jamierumbelow.net - My blog…
http://www.fourthtimelucky.com

Profile
 
 
Posted: 02 July 2008 12:09 PM   [ Ignore ]   [ # 10 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  574
Joined  08-31-2005

is there a control panel interface?

Profile
 
 
Posted: 02 July 2008 12:15 PM   [ Ignore ]   [ # 11 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  357
Joined  02-24-2008

Nope! There doesn’t need to be - everything is accessible from the EETag.

That’s an idea though - set the default settings for most of the parameters in the control panel.

 Signature 

http://www.jamierumbelow.net - My blog…
http://www.fourthtimelucky.com

Profile
 
 
Posted: 02 July 2008 12:17 PM   [ Ignore ]   [ # 12 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  574
Joined  08-31-2005

kinda figured there might not be… just wanted to check though.

Profile
 
 
Posted: 02 July 2008 12:33 PM   [ Ignore ]   [ # 13 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  574
Joined  08-31-2005

Couple suggestions:
• It might be nice to be able to do variable height/width graphs.
• Ability to specify the width of the individual bars.
• Pie charts.
• Automatic handling/conversion of non-numeric characters, so that errors don’t occur.

Profile
 
 
Posted: 02 July 2008 12:54 PM   [ Ignore ]   [ # 14 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  357
Joined  02-24-2008

Great, thanks for the input.

1. I’m not quite sure what you mean…

2. Ok, I’ll see what I can do wink

3. Coming up in the next release…

4. Ok, sounds good.

Thanks!

 Signature 

http://www.jamierumbelow.net - My blog…
http://www.fourthtimelucky.com

Profile
 
 
Posted: 02 July 2008 03:48 PM   [ Ignore ]   [ # 15 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  574
Joined  08-31-2005

so let’s say you have a vertically stacked set of bars. the bars will be created from a dynamic set of data, so there will be a variable number of bars… could be 2, then could be more than 20 over time. what would be ideal is if you could set it up so the width of the chart was 350px, the height of a single bar was 10px, and the height of the chart was variable/expandable based on the number of bars (and spacing between bars). that way for a chart of 2 bars it would be pretty short, and would automatically get taller as more bars were added.

make sense?

Profile
 
 
Posted: 02 July 2008 07:19 PM   [ Ignore ]   [ # 16 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1642
Joined  05-13-2004

This looks interesting - don’t have a use for it now, but in the future I might.

 Signature 

CreateSean - My journey to pro web designer
currently improving my CSS, XHTML, JQuery & photoshop kung fu skills
I am the poster formally known as The Linguist.

Profile
 
 
Posted: 11 July 2008 01:19 AM   [ Ignore ]   [ # 17 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  596
Joined  12-10-2006

Where does this module get the site domain name from?

When I tested it , the image path was using the wrong domain name but I can’t seem to find out where it’s getting it from…

Profile
 
 
Posted: 11 July 2008 10:13 AM   [ Ignore ]   [ # 18 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  357
Joined  02-24-2008

Sorry that was a bug, my fault entirely. I’m away from my home PC atm, but I have an update with some bug fixes and stuff in that I will upload when I get home.

 Signature 

http://www.jamierumbelow.net - My blog…
http://www.fourthtimelucky.com

Profile
 
 
   
1 of 2
1
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64935 Total Logged-in Users: 49
Total Topics: 81900 Total Anonymous Users: 27
Total Replies: 440277 Total Guests: 267
Total Posts: 522177    
Members ( View Memberlist )