Welcome to WebmasterWorld Guest from 54.145.176.120

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Guys need php script for pareto analysis

Pareto analysis

   
11:12 am on Sep 3, 2012 (gmt 0)



Hi All,

I am looking for a script which can generated a pareto chart using Php Code ....if any one dose know about this pls let me know.



Regads,
Nani
1:45 pm on Sep 11, 2012 (gmt 0)



That's not going to happen with just PHP ;)
I suggest looking through a few of the Javascript classes for charts

[my.opera.com...]

I like Raphael's (html5 + SVG)
[raphaeljs.com...]

What you do is have PHP code get all your data, and output it to a javascript array, then you call the JS script to create the graphs for you.

You might need to use 2 graphs on top of eachother to create a pareto chart ;)

Good luck
7:49 am on Sep 12, 2012 (gmt 0)

5+ Year Member



That's not going to happen with just PHP ;)


Sorry, you are wrong. It is actually better done with php than with javascript, that is for certain. Well, certainly in the case of static charts anyhow.
nani nisha06 I would recommend you look into jpgraph [jpgraph.net ] which is a php graphing library that can be harnessed to do what you desire, basically you can create a chart which has a bar plot and a line plot within it. All created in php and output as an image.
9:09 am on Sep 12, 2012 (gmt 0)



Yup, As i posted it I thought of using image libraries to do this as well. But most of the times with charts, people want more than just a static image (click through stats, descriptions etc.).

But it's good that he now has multiple options :)
9:33 am on Sep 12, 2012 (gmt 0)



Dear friends lostdreamer/astupidname/lostdreamer,

I am very happy with your suggestion and to just update i have solved this issue using flash objects. of course the above posts would be an update knowledge for me on the stream.

Thanks & Regards,
Nani

[edited by: eelixduppy at 1:10 pm (utc) on Sep 12, 2012]
[edit reason] snipped personal page [/edit]