Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » org.eclipse.birt.chart.internal.datafeed.ResultSetWrapper initializeMeta
org.eclipse.birt.chart.internal.datafeed.ResultSetWrapper initializeMeta [message #360714] Wed, 20 February 2008 04:56
Eclipse UserFriend
Originally posted by: nikhilkajrekar.yahoo.co.in

I ma getting error
org.eclipse.birt.chart.internal.datafeed.ResultSetWrapper initializeMeta
WARNING: Unable to determine data types from resultset

i am creating chart dynamically

PropertyHandle computedSet = scriptdataset
.getPropertyHandle(ScriptDataSetHandle.RESULT_SET_PROP);
ResultSetColumn resultColumn = StructureFactory.createResultSetColumn();
resultColumn.setPosition(1);
resultColumn.setColumnName("xval");
resultColumn.setDataType("String");
try {
computedSet.addItem(resultColumn);
} catch (SemanticException e) {

e.printStackTrace();
}

resultColumn = StructureFactory.createResultSetColumn();

resultColumn.setPosition(2);
resultColumn.setColumnName("m1");
resultColumn.setDataType("float");
try {
computedSet.addItem(resultColumn);
} catch (SemanticException e) {

e.printStackTrace();
}

try {
eih.setProperty(ExtendedItemHandle.DATA_SET_PROP,
"dataset");//$NON-NLS-1$
} catch (SemanticException e) {
e.printStackTrace();
}

this is what i did but i am not able to see values on chart
else chart appears fine
Previous Topic:Class conflicts in the Web viewer (preview tab)
Next Topic:XML data source
Goto Forum:
  


Current Time: Fri Apr 26 11:58:17 GMT 2024

Powered by FUDForum. Page generated in 0.02734 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top