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] Will setCurveFitType work for multiple y-axis

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Will setCurveFitType work for multiple y-axis
 Login/Join
 
Member
posted
Hi All
I have a chart for which Bars are plotted on Y1 axis and markers are plotted on Y2 axis.i need to get a linear curve fit for
markers.when i tried with only one y axis i'm getting linearcurve,but on Y2 axis it dont works
here is my code against car table.
GRAPH FILE CAR
SUM LENGTH WIDTH HEIGHT WEIGHT RPM SEATS
ACROSS COUNTRY
ON GRAPH SET LOOKGRAPH VBRSTK2
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET GRID ON
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET GRAPHSTYLE *
-*setAlignMultiYBars(true);

setMarkerSizeDefault(50);
setLineWidth(getSeries(4),0);
setLineWidth(getSeries(5),2);
setMarkerShape(getSeries(4),getMarkerShape(getSeries(5)));
setMarkerDisplay(true);
setUseSeriesShapes(true);
setConnectLineMarkers(false);
setConnectScatterMarkers(false);

setO1LabelDisplay(true);
setO1LabelRotate(0);
setO1AxisSide(0);
setFillMissingData(0);
setO1MajorGridDisplay(false);
setO1MinorGridDisplay(false);
setAxisAssignment(0,0);
setSeriesType(0,1);
setAxisAssignment(1,0);
setSeriesType(1,1);
setAxisAssignment(2,0);
setSeriesType(2,1);
setAxisAssignment(3,0);
setSeriesType(3,1);
setAxisAssignment(4,1);
setSeriesType(4,2);
setAxisAssignment(5,1);
setSeriesType(5,2);
setCurveFitType(5,1);
setY1LabelDisplay(true);
setY1AxisSide(0);
setY1MajorGridDisplay(true);
setY1MajorGridStyle(0);
setY1MinorGridDisplay(false);
setTextFormatPreset(getY1Label(),-1);
setTextFormatPattern(getY1Label(),"#.##");
setY2LabelDisplay(true);
setY2AxisSide(1);
setY2MajorGridDisplay(false);
setY2MajorGridStyle(0);
setY2MinorGridDisplay(false);
setTextFormatPreset(getY2Label(),-1);
setTextFormatPattern(getY2Label(),"#.##");
setPieFeelerTextDisplay(1);
setPieLabelDisplay(0);
setTextFormatPreset(getPieSliceLabel(),1);
setLegendDisplay(true);
setFontSizeAbsolute(getY1Title(),true);
setFontSizeAbsolute(getY1Label(),true);
setFontSizeAbsolute(getY2Title(),true);
setFontSizeAbsolute(getY2Label(),true);
setFontSizeAbsolute(getO1Title(),true);
setPlace(true);


thanks
rp

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


webfocus 7.6.9 windows XP Excel
 
Posts: 22 | Registered: July 22, 2009Report This Post
Member
posted Hide Post
can anyone help please .....
is it because of ON GRAPH SET LOOKGRAPH VBRSTK2??(i suspect so )
is there a way to overcome this

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


webfocus 7.6.9 windows XP Excel
 
Posts: 22 | Registered: July 22, 2009Report This Post
<JG>
posted
rp I suspect that as you have not had a response in nearly 2 weeks that no one has a clue.

Best option would be to open a case with IB and get their graph specialist to look at it.

The only possible solution that I can come up with is to overlay the graphs.

Take a look at this post.

[SOLVED] Merging 2 different graph types

In your case you need two charts 1 with a axis on the left and none on the right
and the other with the axis on the right and none on the left.

Might work for you.
 
Report This Post
Gold member
posted Hide Post
I reviewed your request and it appears there is a limitation on drawing curve fit equations on stacked chart types.

What you may be able to do is calculate a field (DEFINE or COMPUTE) and then draw that as a line segment on the stacked chart. You can also choose whether you would like to display this as absolute or part of the stacked data.
 
Posts: 52 | Registered: January 19, 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] Will setCurveFitType work for multiple y-axis

Copyright © 1996-2020 Information Builders