on 04-07-2006 12:48 PM
Hi,
i have a piece of code which dynamically create a business graphics. If i use the same node data and create BG in statically.. i am able to view the graph. In case of dynamic creation , i am getting graphical rendering error. Have i missed something here..
The piece of code i had used is..
IWDBusinessGraphics bg = (IWDBusinessGraphics)view.createElement(IWDBusinessGraphics.class,null);
IWDCategory c = (IWDCategory)view.createElement(IWDCategory.class,null);
// c.setDescription("tableutility");
c.bindDescription(wdContext.getNodeInfo().getAttribute(IPrivateSDNUtilityView.IContextElement.TEST));
bg.setCategory(c);
bg.setDimension(WDBusinessGraphicsDimension.PSEUDO_THREE);
IWDSimpleSeries ss = (IWDSimpleSeries)view.createElement(IWDSimpleSeries.class,null);
ss.bindValue(wdContext.nodeDepartments().getNodeInfo().getAttribute(IPrivateSDNUtilityView.IDepartmentsElement.NO_OF_PEOPLE));
ss.setLabel("Simple Series");
ss.setLabel("No of People");
bg.addSeries(ss);
bg.setChartType(WDBusinessGraphicsType.COLUMNS);
bg.bindSeriesSource(wdContext.nodeDepartments().getNodeInfo());
bg.setIgsUrl("http://<hostname>:40080");
Please help.
Regards
Bharathwaj
You could compare the generated code from Internal<ViewName>createUITree() with your code. This might give a hint what makes the difference.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please got through following link
<a href="/people/sap.user72/blog/2006/05/04/enhancing-tables-in-webdynpro-java-150-custom-built-table-utilities:///people/sap.user72/blog/2006/05/04/enhancing-tables-in-webdynpro-java-150-custom-built-table-utilities
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please let me know if u find the solution to this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
even i need Dynamic creation of business graphics...
please let me know if you find the solution..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.