on 03-14-2008 10:25 AM
Hi all
I've created a businessgraphics in my web dynpro view.
Everything is ok but range.
When I put a value like 80, the graphics show the minimum is 79 and maximum is 81.
I want to make minimum is 0, and maximum is 100.
In the wdDoInit() of view Controller,my code is like this
categoryElement = wdContext.createCategoriesElement();
categoryElement.setCategoryText("AOI");
categoryElement.setSeries1Value(new BigDecimal(100*0.8));
Does anyone know how to do this? thanks.
Allen.
Hi Allen,
i think this setting is available in the Chart Designer for the "Value axis" entry. There you can set the Minimum/Maximum calculation at UserDefined and then you can set the minimum value at 0 and maximum value at 100.
Alternative you can create a XML Description of the BusinessGraphics dynamicaly and set this XML with function BusinessGraphics.setDirectCustomizing(xmlsource) in wdDoModifyView.
Regards,
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1.create a node name called bg under that u create one attribute name is simple series((Datatype -->Double)
2. insert the Business grphics UI
3.insert categary and simple series
4. map the corresponding value
5. paste the following code in Doinit() method
try
{
IPrivateUWLTestView.IBgNode aNode = wdContext.nodeBg();
IPrivateUWLTestView.IBgElement elm;
elm = wdContext.createBgElement();
elm.setCategary("AOI");
elm.setSimpleseries(100*0.8);
aNode.addElement(elm);
}
catch(Exception e)
{
e.toString();
}
its working fine
Regards,
P.Manivannan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
if you using series?
try to using simpleSeries instead of series....
Regards,
P.Manivannan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.