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] scatter graph with data lables

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] scatter graph with data lables
 Login/Join
 
Member
posted
Hi,

I have a sample scatter graph with the code below:
TABLE FILE CAR
SUM
RETAIL_COST
DEALER_COST
BY CAR
ON TABLE HOLD AS GRAPHCAR
END

-*INTERNAL_PROPERTIES$SampleData=false;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$GlobalRecordLimit=500;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$FieldDisplayMode=label;OBJECTID=GLOBAL
-*INTERNAL_PROPERTIES$PrefixDisplayMode=;OBJECTID=GLOBAL
GRAPH FILE GRAPHCAR
-* Created by Advanced Graph Assistant
SUM GRAPHCAR.GRAPHCAR.RETAIL_COST
BY GRAPHCAR.GRAPHCAR.DEALER_COST
ON GRAPH PCHOLD AS HOLD FORMAT PNG
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO ON
ON GRAPH SET GRID 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 SCATTERS
ON GRAPH SET GRAPHSTYLE *
setReportParsingErrors(false);
setSelectionEnableMove(false);
setMarkerDisplay(true);
setConnectLineMarkers(false);
setConnectScatterMarkers(false);
setX1LabelDisplay(true);
setX1AxisSide(0);
setX1MajorGridDisplay(true);
setX1MajorGridStyle(0);
setX1MinorGridDisplay(false);
setAxisAssignment(0,0);
setSeriesType(0,0);
setY1LabelDisplay(true);
setY1AxisSide(0);
setY1MajorGridDisplay(true);
setY1MajorGridStyle(0);
setY1MinorGridDisplay(false);
setTextFormatPreset(getY1Label(),-1);
setTextFormatPattern(getY1Label(),"#.##");
setPieFeelerTextDisplay(1);
setPieLabelDisplay(0);
setTextFormatPreset(getPieSliceLabel(),1);
setRiserBorderMode(1);
setSeriesDefaultTransparentBorderColor(true);
setUseSeriesBorderDefaults(true);
setLegendDisplay(true);
setFontSizeAbsolute(getY1Title(),true);
setFontSizeAbsolute(getY1Label(),true);
setFontSizeAbsolute(getY2Title(),true);
setFontSizeAbsolute(getY2Label(),true);
setFontSizeAbsolute(getX1Title(),true);
setPlace(true);
setDataTextPosition(1);
setDisplay(getDataText(),true);
setDataTextTemplateScatter("CAR");
ENDSTYLE
ON GRAPH SET STYLE *
TYPE=REPORT, ORIENTATION=PORTRAIT, SQUEEZE=ON, $
TYPE=REPORT, FONT='TIMES NEW ROMAN', SIZE=10, GRID=OFF, $
ENDSTYLE
END

As you can see, right now, I put a text field "CAR" AS THE data lable, is there a way to replace that to the real car value? Like: Like AUDI, BMW, TOYOTA, etc?

How to do that?

Thanks,

This message has been edited. Last edited by: Kerry,
 
Posts: 28 | Registered: October 26, 2006Report This Post
Expert
posted Hide Post
Hi JZMSH ,

What you want to do is not possible with a scatters graph.
Please check pages 304 and 305 on graph manual DN4500708.0909.
You can only use a text string (which you did with the word CAR) or a computation using the X and Y values for the graph. You can create the scatters graph but not with the data text labels you desire.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Member
posted Hide Post
Kerry,

Thank you for letting me know.


Julie
 
Posts: 28 | Registered: October 26, 2006Report 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] scatter graph with data lables

Copyright © 1996-2020 Information Builders