Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Chart Designer option in CE 7.1

HI

i have written this code to have different color for each series in the pie chart ,

and iam working on CE 7.1 , when i have created Business Graphic UI element ,

on right click of the UI element there is no Start Chart Designer option available ,

there are import custimizing and export customizing , option

can any one please help in coding the application in CE 7.1 version .

Context Node

categorydesc1

series1

series2

final String[] color = {"RGB(0,0,0)", "RGB(0,255,0)", "RGB(0,0,255)",

"RGB(0,255,255)","RGB(255,0,0)", "RGB(255,0,255)",

"RGB(255,255,0)","RGB(255,255,255)"};

final IWDBusinessGraphics gfx = (IWDBusinessGraphics) view.getElement("BusinessGraphic");

final StringBuffer cuString = new StringBuffer(1024);

cuString.append("<?xml version=\"1.0\" encoding=\"ascii\"?>");

// cuString.append("<C:\"Documents and Settings\"muraredd\"My Documents\"Test1.xml>");

//

// cuString.append("<10>");

// cuString.append("<50>");

// cuString.append("<70>");

cuString.append("<SAPChartCustomizing>");

cuString.append("<Values>");

IPrivateDemoProCompView.ITestCategoryElement categoryElement1 = null;

for (int i = 0; i < 3; i++) {

categoryElement1 = wdContext.nodeTestCategory().createTestCategoryElement();

cuString.append("<Point id=");

cuString.append(categoryElement1.getCategoryDesc1());

cuString.append(">");

cuString.append("<Color>");

cuString.append(color[i%4]);

cuString.append("</Color>");

cuString.append("</Point>");

}

// cuString.append("<10>");

// cuString.append("<50>");

// cuString.append("<70>");

// cuString.append("<C:\"Documents and Settings\"muraredd\"My Documents\"Test1.xml>");

cuString.append("</Values>");

cuString.append("</SAPChartCustomizing>");

gfx.setDirectCustomizing(cuString.toString());

its throwing null pointer on the above line .

any one can help me onthis

Edited by: murali krishna reddy on Apr 29, 2009 8:32 AM

Former Member
Former Member replied

Hi Murali,

In NWDS 7.1, for Business Graphics UI Element, there is a context menu option Edit to open the Chart Designer.

Kind Regards,

Nitin

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question