CreateDiagram

From Catglobe Wiki
Revision as of 10:01, 7 March 2011 by 127.0.0.1 (talk | contribs) (jrfconvert import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



createDiagram

From input structure creates an image.

Syntax

createDiagram(diagramSpecification, imageName)

Arguments

diagramSpecification: Is a string expression.

imageName: Is a string expression.

Return type

empty

Examples

string diagramSpecification1 =

"<?xml version=\"1.0\" encoding=\"utf-8\" ?>"+

"<diagram>"+

"<chart chart-type=\"chart-diagram\" stylesheetid=\"78\">"+

"<title>CRM Readiness Profile</title>"+

"<axis-label>Strukturorientering</axis-label>"+

"<axis-label>Kundeorientering</axis-label>"+

"<axis-label>Forandringsparathed</axis-label>"+

"<axis-label>Forretningsorientering</axis-label>"+

"<axis-label>Average score</axis-label>"+

"<series series-legend=\""+Stamdata[0]+"\" series-type=\"bar\">"+

"<item>"+strukturorientering+"</item>"+

"<item>"+kundeorientering+"</item>"+

"<item>"+forandringsparathed+"</item>"+

"<item>"+forretningsorientering+"</item>"+

"<item>"+samletScore+"</item>"+

"</series>"+"</chart>"+"</diagram>";

string diagramNavn1= "CRM_RPQ" + getRPQId() + "_1.png";

createDiagram(diagramSpecification1, diagramNavn1);

Availability

All