- 09 Sep 2012, 12:34
#1575
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:
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
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:
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