Skip to Content
0
Former Member
May 02, 2005 at 09:37 PM

Graph

121 Views

Hi,

I am trying to plot a graph in HTMLB.

X Axis Company

Y Axis Num of Permanent Employee

Y Axis Num of Non-Permanent Employes

I have rows and columns in DefaultTableView with the required data.

Column1 = Company

Column2 = Permanent Employees

Column3 = Non-Permanent Employees

JCO.Table ChartColumnNames = new JCO.Table("OTP");

ChartColumnNames.addInfo( "GROUPID", JCO.TYPE_STRING, 50);

ChartColumnNames.addInfo( "X", JCO.TYPE_FLOAT, 50);

ChartColumnNames.addInfo( "Y", JCO.TYPE_FLOAT, 50);

ChartColumnNames.addInfo( "Z", JCO.TYPE_FLOAT, 50);

ChartColumnNames.addInfo( "COLOR", JCO.TYPE_CHAR, 50);

JCO.Table table = new JCO.Table( ChartColumnNames);

table.appendRow();

table.setValue( "", 0);

table.setValue( "", 0);

table.setValue( "", 0);

table.setValue( "", 0);

table.setValue( "", 0);

I am trying to figue out how to relate the column1,2,3 to

table.setValue( "", 0);

Any thought would be appreciated.

Thank you.

NAC