From: Nathaniel G. A. <nat...@ya...> - 2004-11-18 01:39:32
|
just add multiple dimesntions to the line data in the AxisChartDataSet --- kar...@bt... wrote: > Hello All, > > Please may I have you assistance with creating multiple series on the > same Line chart? > > I am returning data from a db with the following columns > > Starttime(x axis) ,transaction Name , transaction id , elapsed time(y > axis) > > 2004-11-15 23:15:00.343 OrderStage1 4 > 29.235000 > 2004-11-15 23:15:42.047 OrderStage2 (PPSR) 9 68.797000 > 2004-11-15 23:17:03.250 OrderStage3 3 > 25.265000 > 2004-11-15 23:45:00.360 OrderStage1 4 > 30.469000 > 2004-11-15 23:45:43.267 OrderStage2 (PPSR) 9 69.703000 > 2004-11-15 23:47:05.377 OrderStage3 3 > 28.500000 > 2004-11-16 00:15:00.343 OrderStage1 4 > 30.703000 > 2004-11-16 00:15:43.563 OrderStage2 (PPSR) 9 70.078000 > 2004-11-16 00:17:06.077 OrderStage3 3 > 30.875000 > 2004-11-16 00:45:00.360 OrderStage1 4 > 30.781000 > 2004-11-16 00:45:43.577 OrderStage2 (PPSR) 9 69.734000 > 2004-11-16 00:47:05.670 OrderStage3 3 > 28.391000 > 2004-11-16 01:15:00.343 OrderStage1 4 > 32.891000 > > > In this case I have three transaction id's 3, 4 and 9. > For each of these I am creating a line series where the x axis is the > starttime and the y axis is the elapsed time. > > The issue I have is each transaction id has a different data series > Eg Trans Id 4 has 5 plots, Trans Id 3 has 4 plots > Is there any way in Jcharts that I can plot multiple series in a line > chart > > Any ideas how I can get round this? > I need to able to display multiple lines on the time x axis and your > help would be greatly appreciated > > > Thanks > > > > > Karan Oberai > BT Westside | Apsley | Hemel Hempstead > Tel: +44 20 7322 4877 > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |