[CLOSED] ON GRAPH SET LOOKGRAPH VLINE2 SET VAUTO OFF VMIN 100 VMAX 200 second axis
Basically can I set the Axes min and max on the 2nd y axis, the following combination only seems to set it for 1st y axis
ON GRAPH SET LOOKGRAPH VLINE2 (graph with 2 y axes) ON GRAPH SET VAUTO OFF ON GRAPH SET VMIN 130 ON GRAPH SET VMAX 230
We use WebFocus 7.6.5 and internet explorer 8This message has been edited. Last edited by: Kerry,
WF 8201, Windows Server 2012 R2, SQL Server 2014, HTML, PDF, Excel, Powerpoint, Active Report
February 01, 2012, 11:34 AM
Tewy
I don't know if there is a setting with ON GRAPH SET but the following will work
ON GRAPH SET GRAPHSTYLE * setScaleMinAuto(getY1Axis(),false); setY1ScaleMin(130); setScaleMaxAuto(getY1Axis(),false); setY1ScaleMax(230); setScaleMinAuto(getY2Axis(),false); setY2ScaleMin(130); setScaleMaxAuto(getY2Axis(),false); setY2ScaleMax(230); ENDSTYLE
WF 7.6.11 Output: HTML, PDF, Excel
February 02, 2012, 11:11 AM
otto
Many thanks for your help,
I hope the following makes sense :-
I would like to pass the axis min and max via parameters and also I would like to if possible keep the java graph settings in a stylesheet so as a follow up do you know of anyway of passing parameters to stylesheets?
Cheers
WF 8201, Windows Server 2012 R2, SQL Server 2014, HTML, PDF, Excel, Powerpoint, Active Report
February 03, 2012, 09:24 AM
Tewy
I don't use stylesheets so am not sure about that, but what I would do would be to store the graph settings in a separate fex and then include them in your graph.
-INCLUDE inc_graph_stylesheet
This way you can pass whatever parameters you need at run time, and use the style code in muliple graphs.