Focal Point
[CLOSED] How to reduce the right side of the chart

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1367054706

July 26, 2011, 02:17 PM
Carlos Dias
[CLOSED] How to reduce the right side of the chart
Hi there,
In the following image you can see the area that I want to reduce.


I'm displaying the chart in applet mode.

Thanks in advanced,
Carlos Dias

This message has been edited. Last edited by: Kerry,


WebFOCUS version: 7.6
Linux/Windows
HTML, Excel
July 26, 2011, 06:33 PM
Waz
You need to change the sze of the rectangle of the graph.

setRect(getFrame(),new Rectangle(-14000,-7000,29000,21000));


You will need to understand the coordinate system of the graph engine.

You can look up the WebFOCUS Graphics documentation, or alternatively check you threedgraphics.com


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

July 27, 2011, 07:59 PM
Carlos Dias
Waz,
I tried your sugestion but without success.

In my case I'm inserting the chart (in applet mode) inside an iframe in my HTML. I don't have a frame in the chart.


WebFOCUS version: 7.6
Linux/Windows
HTML, Excel
July 27, 2011, 08:07 PM
Waz
Can you post the code, HTML, FEX.

If it works from the sample data that will help.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!