PDA

View Full Version : Pie charts, graphs and such?


patrick6
06-10-2004, 09:06 PM
Can AMS display pie charts, graphs and things like that?
I was hoping to add something to a project that would show some percentages, etc based on either info entered or from a spreadsheet.

Maybe a future plug in or add on?

Thanks,
Patrick

Corey
06-10-2004, 09:19 PM
Hi. Yes, there are many ways to achieve this, one great way is using a Flash object with the free charting components in Flash. If you don't use Flash you can easily create bar charts by resizing an image object dynamically at runtime, or using javascript, etc. Pie charts can be generated in a variety of ways including javascript/DHTML, PHP (remotely), and so forth.

If you give me some specific details about what type of values your project will be handling and how they need to be displayed I might be able to offer something more specific. :)

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

patrick6
06-12-2004, 09:16 AM
I am getting interested in what can be done with graphics in AMS...

What I had in mind was a program to keep up with progress of something and be able to show a pie chart or graph based on who is ahead at any given time etc.
I guess a better way of putting it would be the showing the running totals of a db or spreadsheet in a "graphic format" maybe? The program I had in mind was a softball stat program for my daughter's team. I wanted graphs / pie charts to show strike outs, walks, singles, etc. for each player.
I do have flash but it is on my "software to learn how to use list".

This may be along the same lines but if I wanted to show a picture of a wall along with a simple materials list for the number of studs in a wall, based on the length of the wall you entered in a text box, how would you do this each time? Would you create the pic dynamically or have a folder with pics of each possible scenario?
I have several ideas for things that would help us out a lot but I need to figure out how to show a picture based on the info entered in the boxes...

Thanks,
Patrick

Corey
06-12-2004, 07:20 PM
Well I probably wouldn't change the picture, I'd just change the materials list, i.e. I would have one central photo of a wall and then I would just change the output values. The reason for this is because it seems to me that it wouldn't be of any value to the user to see the materials, probably it would only be important to them to have a printable list of the materials.

That being said, if I had been hired to create something like that I would probably use Flash. Although you could do it with images, it would be tricky...

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

yosik
06-13-2004, 07:11 AM
Patrick.
If I understand you correctly, I may have a solution.
Why not use a plugin shape (rectangle) and set its size (one axis only) to the given value you want to show.
If you put this function inside a "Ontimer" action you could get a "realtime" updating graph.
To be even more clever, you could use an underlining image texture and do the same.
Hope that helped.
Good luck
Yossi

AGRO
06-16-2004, 11:36 PM
If you are not familiar with Flash, you can use a third party app that makes Flash graphs.


http://www.globfx.com/products/swfchart/


From looking at the sample charts, I would like to check this one out.

--just a thought.

Corey
06-16-2004, 11:44 PM
Wow, yes, another great link AGRO! I love their web site too, whoever did that should get a medal. :yes

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

patrick6
06-17-2004, 06:34 AM
That makes some great looking charts.
What I was looking for is something that makes charts like that, but that can do it "on the fly".
Unless I looked at it wrong this can only generate charts based on what you enter at the beginning.?

After looking further it seems the product at:
http://www.globfx.com/products/swfchartgen/ would do charts in real time.

Corey, Would the php tutorial you are about to ship tell me enough to accomplish this maybe with a sqlite db?

Patrick

Corey
06-17-2004, 07:39 AM
Well yes, but it's for MySQL. Correct me if I'm wrong but their generator product is probably server side. So the database handling wouldn't be a PHP issue if you are using SQLite since it's client side. But basically the answer is a resounding "yes" that I will be happy to help you get it going if you buy that product and have any difficulty getting it going. Just start a new thread about it anytime... :yes

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

patrick6
06-17-2004, 03:43 PM
Hi Corey. I emailed them (before I spent $800) and they informed me that the program is intended to be a server side application only and was not made to work in a stand alone program...

Any suggestions?

Patrick

Corey
06-17-2004, 04:27 PM
Yeah I figured it would be. It's still a great solution, but it will only work for users who have an internet connection...

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)