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
Datavelues in graph
 Login/Join
 
<John.lee>
posted
Hi
How can we controle the size of the Datavalues in the Bar-graph

This message has been edited. Last edited by: <John.lee>,
 
Report This Post
Virtuoso
posted Hide Post
John
what do you mean by size.

fontsize?
value picture? like 12.2 or 7.1
the values on the X and Y-axis?




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
<John.lee>
posted
Hi Frank
I meen the font size of data values ,not the values of X and Y-axis
(values that are shows of the bars in the Bargraphs)
thanks
 
Report This Post
Virtuoso
posted Hide Post
John

We all would like you to update your signature so we do know what wf version you are using.

Do you have the file wf713graph.pdf that you can (should) download from the IBI website.

If you have it, search for setFontSize
and things like

setDataTextDisplay(true);
setDataTextPosition(0);
setDataTextAngleDefault(90);
setDataTextRadiusDefault(10);

setDepthAngle (0);
setDepthRadius (0);
setGraphType (41);
setCustomDataText (getSeries (2), true);
setCustomDataText (getSeries (1), true);
setCustomDataText (getSeries (0), true);
setTextFormatPreset(getDataText (2), 5);
setTextFormatPreset(getDataText (1), 6);
setTextFormatPreset(getDataText (0), 2);
setDataTextDisplay (true);
setViewableSeries (3);
setFontName(getDataText(2), "Comic Sans MS");
setFontName(getDataText(0), "Garamond");
setFontSizeAbsolute(getDataText(1), true);
setFontSize(getDataText(1), 14);
setTextJustHoriz(getDataText(1),1);
setShadowDisplay(getDataText(1), true);

just meant as example.....




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
<John.lee>
posted
Hi Frank
Iam using 7.1.4 vertion
here is the my code
it is not solved yet
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET BARNUMB ON
ON GRAPH SET 3D ON
ON GRAPH SET VZERO ON
ON GRAPH SET GRID OFF
ON GRAPH SET VAXIS 500
ON GRAPH SET HAXIS 500
ON GRAPH PCHOLD FORMAT PNG
-*ON GRAPH HOLD AS BDS101 FORMAT GIF
ON GRAPH SET GRAPHSTYLE *
setDepthRadius(20);
setDepthAngle (45);
setRiserWidth (90);
-*******************************
setDataTextDisplay(true);
setDataTextPosition(0);
setDataTextAngleDefault(90);
setDataTextRadiusDefault(10);
setFontSizeAbsolute(getDataText(1), true);
setFontSize(getDataText(1), 40);
setFontName(getDataText(25), "Comic Sans MS");
-*******************************
setRiserBarGroupSpacing(20);
setTextFormatPattern(getY1Label(),"#.##");
setLegendTextAutofit(false);
setLegendTextAutofit(false);
setFillColor(getLegendArea(),new Color(255,255,255));
setMarkerDisplay(false);
setConnectLineMarkers(false);
setConnectScatterMarkers(false);
setO1LabelDisplay(true);
setO1AxisSide(0);
setO1MajorGridDisplay(true);
setO1MajorGridStyle(0);
setO1MinorGridDisplay(false);
setAxisAssignment(0,0);
setY1LabelDisplay(true);
setY1AxisSide(0);
setY1MajorGridDisplay(true);
setY1MajorGridStyle(0);
setY1MinorGridDisplay(false);
setTextFormatPreset(getY1Label(),1);
setPieFeelerTextDisplay(1);
setPieLabelDisplay(0);
setTextFormatPreset(getPieSliceLabel(),1);
setLegendDisplay(true);
-*setTitleString("Bar Graph: Day of Week - R-100" );
setFontSizeAbsolute(getTitle(),true);
-*setFootnoteString("Announced Visits: \nUnannounced Visits: ");
setFontSizeAbsolute(getFootnote(),true);
setFillColor(getFootnote(),new Color(128,0,0));
setLegendTextAutofit(true);
setFontSizeAbsolute(getY1Title(),true);
setFontSizeAbsolute(getY1Label(),true);
setFontStyle(getY1Label(),2);
setFontSizeAbsolute(getY2Title(),true);
setFontSizeAbsolute(getY2Label(),true);
setTextJustHoriz(getO1Title(),2);
setFontSizeAbsolute(getO1Title(),true);
setTextJustHoriz(getO1Label(),2);
setFontSizeAbsolute(getO1Label(),true);
setFontSize(getO1Label(),15.5);
setFontSize(getY1Label(),15.5);
setFontStyle(getO1Label(),2);
setTextRotation(getO1Label(),1);
setPlace(false);
ENDSTYLE
Please check this and advise me
thanks
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders