Page 1 of 1

Line Graph

Posted: 09 Sep 2012, 12:34
by hameed
Hi all,

I hope this is not a repeat question. I tried searching but couldn't find anything.

I am pretty new to OpenCATS and just finding my way around it.
I am trying to draw up a line graph with multiple lines. Unfortunately, I haven't been able to show more than one set of values (ie one line).

This is what I am trying to achieve:
Image


I have created a class in the GraphGenerator.php called it GraphLine which is basically part of the GraphSimple that does line plot and I am calling it from GraphsUI.php, but I am not sure, how to setup multiple sets of values.

I have not dug deep enough to see whether if I can achieve this without too much mucking around with LinePlot class, but I would greatly appreciate if someone could shed some light as a deadline is just around the corner for the project I'm working on.

Thanks

Re: Line Graph

Posted: 10 Sep 2012, 10:29
by RussH
hi hameed, you may want to post this to the developers mailing list http://opencats.org/mailman/listinfo/de ... encats.org

Re: Line Graph

Posted: 10 Sep 2012, 16:36
by hameed
Hi Russ,

Thanks for your reply. I actually figured it out. I will write later and explain. It was rather simple.

Regards,

Re: Line Graph

Posted: 10 Sep 2012, 18:17
by RussH
Hameed, very keen to see that! Maybe you can add to the wiki or even drop it into the contribs section of the svn repository