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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Multiple series
 Login/Join
 
Silver Member
posted
Hi,

I am trying to print a multiple series graph with 2 series as bar and 3 series as line. and i assigned 3 axis. See below quote
  
GRAPH FILE CAR
SUM CNT.SEATS CNT.CAR DEALER_COST RETAIL_COST SALES
BY COUNTRY AS ''
ON GRAPH SET LOOKGRAPH VBRSTK2
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D ON
ON GRAPH SET VZERO ON
ON GRAPH SET GRID ON
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET GRAPHSTYLE *
setPlace(false);
setLegendAutomatic(false);
setRect(getLegendArea(),new Rectangle(-11318,5159,20066,2938));
setBorderColor(getLegendArea(),new Color(0,0,0));
setSize(510,350);

setTextRotation(getO1Label(),3);

setSeriesFillColor(0,new Color(196,79,0));
setSeriesFillColor(1,new Color(204,255,204));
setSeriesFillColor(2,new Color(0,128,0));
setSeriesFillColor(3,new Color(255,0,0));
setSeriesFillColor(4,new Color(0,0,255));

setFrameDisplay(true);

setRect(getFrame(),new Rectangle(-10753,-5000,22378,16359));

setSeriesType(0,1);
setSeriesType(1,1);

setSeriesType(2,2);
setSeriesType(3,2);
setSeriesType(4,2);

setLineWidth(getSeries(2),1);
setLineWidth(getSeries(3),1);
setLineWidth(getSeries(4),1);

setRiserBarGroupSpacing(10);

setDepthRadius(0);
setDepthAngle(0);

setMarkerDisplay(false);

setAxisAssignment(getSeries(0),0);
setAxisAssignment(getSeries(1),0);

setAxisAssignment(getSeries(2),1);
setAxisAssignment(getSeries(3),1);
setAxisAssignment(getSeries(4),1);

setY1MajorGridStep(2.0);
setY1ScaleMaxAuto(false);
setY1ScaleMax(10.0);
setY1ScaleMin(0.0);
setScaleMinAuto(getY1Axis(),false);
setY1MustIncludeZero(false);

setO1MajorGridDisplay(false);
setO1MinorGridDisplay(false);
setY1MajorGridDisplay(false);
setY1MinorGridDisplay(false);
setY2MajorGridDisplay(false);
setY2MinorGridDisplay(false);

setTextFormatPreset(getY2Label(),-1);
setTextFormatPattern(getY2Label(),"$#.##");

setRiserWidth(70);

setO1MajorTickDisplay(true);
setY1MajorTickDisplay(true);
setY2MajorTickDisplay(true);

setY1AxisSide(0);
setY2AxisSide(1);

ENDSTYLE
ON GRAPH SET STYLE *
     PAGESIZE='Letter',
     LEFTMARGIN=0.000000,
     RIGHTMARGIN=0.000000,
     TOPMARGIN=0.000000,
     BOTTOMMARGIN=0.000000,
     SQUEEZE=ON,
     ORIENTATION=PORTRAIT,
$
END


Problem is that my line series and Y2 axis labels are not in sink.

Please help me to resolve this.

Thanks,
Nitu


WF dev version - 7.6.x
 
Posts: 29 | Registered: February 15, 2006Report This Post
Virtuoso
posted Hide Post
Your Y2 is in sink. The values for the lines are being stacked. You might want to choose a different graph type, or figure out how to change the Y2 to be non-stacked.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
Silver Member
posted Hide Post
Yeah Thats correct but I am not able to find solution for this problem. I tried many other graphs type but nothing worked. Also not able to make Y2 as non-stacked. Please advise.

Thanks & Regards,
Nitu


WF dev version - 7.6.x
 
Posts: 29 | Registered: February 15, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders