Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] graph dimensions

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] graph dimensions
 Login/Join
 
Silver Member
posted
I have created a graph and have the Y-axis titles displayed on both the left hand side and the right hand side of the graph. However, on the right hand side, the values are chopped off and I don't understand why the graph rectangle doesn't automatically re-size itself to fit the title with some margin space. Any ideas? So far, am unable to recreate the issue using GGSALES so cannot sent code. I have a screen print of my graph but don't know how to include this.

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


WebFOCUS developer studio version 7.6.11
Windows
all formats
 
Posts: 36 | Registered: February 12, 2009Report This Post
Expert
posted Hide Post
I think that posting the graph stylesheet will help.

As for the screen shot, another post suggested a site that you can store the pic and then point to it with the display image option above.


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!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Silver Member
posted Hide Post
I have tried to recreate the issue using GGSALES but cannot get the cropping to occur on the right side. Instead, I specify that I want grid lines. The painter displays the grid lines on the sample, yet when I run the fex, the grid lines do NOT show up. Any ideas why? I used the painter and specified YES to both Ordinal Axis and Y1 axis gridlines. Here is the code:

 -* File graph.fex
-*INTERNAL_PROPERTIES$fieldDisplayMode=label;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$enablePreview=true;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$prefixDisplayMode=;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$GlobalRecordLimit=500;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$SampleData=false;OBJECTID=GLOBAL
GRAPH FILE GGSALES
-* Created by Advanced Graph Assistant
SUM GGSALES.SALES01.DOLLARS
BY GGSALES.SALES01.CITY
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET HAXIS 770
ON GRAPH SET VAXIS 405
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("/images/tdg/template/IBICylinderOnGrey.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setTransparentBorderColor(getSeries(0),true);
setTransparentBorderColor(getSeries(1),true);
setTransparentBorderColor(getSeries(2),true);
setTransparentBorderColor(getSeries(3),true);
setTransparentBorderColor(getSeries(4),true);
setTransparentBorderColor(getSeries(5),true);
setTransparentBorderColor(getSeries(6),true);
setTransparentBorderColor(getSeries(7),true);
setTransparentBorderColor(getSeries(8),true);
setTransparentBorderColor(getSeries(9),true);
setTransparentBorderColor(getSeries(10),true);
setDepthRadius(0);
setUseSeriesShapes(true);
setMarkerSizeDefault(50);
setTransparentBorderColor(getChartBackground(),true);
setPlace(true);
setFillColor(getY1MajorGrid(),new Color(0,0,0));
setLineWidth(getY1MajorGrid(),1);
setFillColor(getO1MajorGrid(),new Color(0,0,0));
setDisplay(getO1MajorGrid(),true);
setLineWidth(getO1MajorGrid(),1);
setDisplay(getY1MajorGrid(),true);
ENDSTYLE
END
 


WebFOCUS developer studio version 7.6.11
Windows
all formats
 
Posts: 36 | Registered: February 12, 2009Report This Post
Virtuoso
posted Hide Post
This code seems to produce grid lines:

-*INTERNAL_PROPERTIES$SampleData=false;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$GlobalRecordLimit=500;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$FieldDisplayMode=label;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$PrefixDisplayMode=;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$fieldDisplayMode=label;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$enablePreview=true;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$prefixDisplayMode=;OBJECTID=GLOBAL
GRAPH FILE GGSALES
-* Created by Advanced Graph Assistant
SUM GGSALES.SALES01.DOLLARS
BY GGSALES.SALES01.CITY
ON GRAPH PCHOLD AS HOLD FORMAT PNG
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET HAXIS 770
ON GRAPH SET VAXIS 405
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("/images/tdg/template/IBICylinderOnGrey.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setTransparentBorderColor(getSeries(0),true);
setTransparentBorderColor(getSeries(1),true);
setTransparentBorderColor(getSeries(2),true);
setTransparentBorderColor(getSeries(3),true);
setTransparentBorderColor(getSeries(4),true);
setTransparentBorderColor(getSeries(5),true);
setTransparentBorderColor(getSeries(6),true);
setTransparentBorderColor(getSeries(7),true);
setTransparentBorderColor(getSeries(8),true);
setTransparentBorderColor(getSeries(9),true);
setTransparentBorderColor(getSeries(10),true);
setDepthRadius(0);
setUseSeriesShapes(true);
setMarkerSizeDefault(50);
setTransparentBorderColor(getChartBackground(),true);
setPlace(true);
setFillColor(getY1MajorGrid(),new Color(0,0,0));
setLineWidth(getY1MajorGrid(),1);
setFillColor(getO1MajorGrid(),new Color(0,0,0));
setDisplay(getO1MajorGrid(),true);
setLineWidth(getO1MajorGrid(),1);
setDisplay(getY1MajorGrid(),true);
setDisplay(getO1MinorGrid(),true);
setLineWidth(getO1MinorGrid(),1);
setAxisSide(getY1Axis(),2);
setFillColor(getY1MinorGrid(),new Color(0,0,0));
setLineBasicStrokeType(getY1MajorGrid(),11);
setDisplay(getY1MinorGrid(),true);
setLineWidth(getY1MinorGrid(),1);
setLineBasicStrokeType(getY1MinorGrid(),11);
setLineBasicStrokeType(getO1MajorGrid(),11);
setFillColor(getO1MinorGrid(),new Color(0,0,0));
setLineBasicStrokeType(getO1MinorGrid(),11);
ENDSTYLE
END


WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] graph dimensions

Copyright © 1996-2020 Information Builders