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     Scattergraph using diamond markers in PDF or PPT

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Scattergraph using diamond markers in PDF or PPT
 Login/Join
 
Member
posted
I've created a basic scattergraph in Advanced Graph Editor. I need to have the markers for Series 0, the only series, to be diamonds. I can set setMarkerShape with a value of 3 and it works for PNG or JPEG format but when I change to PDF or PPT it ignores whatever I say and always uses square markers.

I have some line graphs that use diamond markers for every series in format PPT and those work fine.

Anyone know a secret to get the scattergraph in PPT format to listen to me?

Thanks,

Emma


WebFOCUS 7.6.11
Windows
Excel, PDF, HTML, csv
 
Posts: 17 | Registered: September 17, 2009Report This Post
Expert
posted Hide Post
Can you post your code ?


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
Member
posted Hide Post
Here's the code dummied up to use the CAR view. If I just change the ON GRAPH PCHOLD FORMAT PPT statement to a different format like JPEG then I get the diamonds. I have other graph types like line graphs that display diamonds in PPT format.

TABLE FILE CAR
PRINT *
BY CAR
BY MODEL
ON TABLE HOLD AS CARDATA
END

DEFINE FILE CARDATA
_COUNTER/I3 = _COUNTER + 1;
_PERCENT/I11% = (MPG / 30) * 100;
END

TABLE FILE CARDATA
SUM
CAR
MODEL
BY _PERCENT
BY _COUNTER
ON TABLE HOLD AS GRAPHDATA
END

-*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 GRAPHDATA
-* Created by Advanced Graph Assistant
SUM GRAPHDATA.GRAPHDAT._PERCENT
BY GRAPHDATA.GRAPHDAT._COUNTER
ON GRAPH PCHOLD FORMAT PPT
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET HAXIS 970
ON GRAPH SET VAXIS 405
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH SCATTERS
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET GRAPHSTYLE *
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);
setUseSeriesShapes(true);
setScaleMustIncludeZero(getX1Axis(),false);
setScaleMustIncludeZero(getY1Axis(),false);
setScaleMustIncludeZero(getY2Axis(),false);
setTransparentBorderColor(getChartBackground(),true);
setPlace(true);
setTransparentFillColor(getFrame(),true);
setTransparentBorderColor(getFrame(),true);
setTextString(getX1Title(),"");
setDisplay(getX1MajorGrid(),false);
setReverseGroups(false);
setScaleMaxAuto(getX1Axis(),false);
setScaleMax(getX1Axis(),150.0);
setTextFormatPattern(getY1Label(),"###%");
setTextFormatPreset(getY1Label(),-2);
setGridStyle(getY1MajorGrid(),1);
setGridStepAuto(getY1MajorGrid(),false);
setGridStep(getY1MajorGrid(),10.0);
setTextString(getY1Title(),"");
setScaleMinAuto(getY1Axis(),false);
setScaleMaxAuto(getY1Axis(),false);
setScaleMax(getY1Axis(),100.0);
setFillColor(getSeries(0),new Color(0,95,134));
setDisplay(getX1Label(),false);
setDepthRadius(0);
setDepthAngle(0);
setMarkerSizeUnit(900);
setMarkerSizeDefault(60);
setLogScale(getSeries(0),false);
setMarkerShape(getSeries(0),3);
setSquareMarkers(true);
setMarkerShape(getLegendLabelMarker(0),3);
setMarkerSize(getSeries(0),50);
ENDSTYLE
END
-EXIT


WebFOCUS 7.6.11
Windows
Excel, PDF, HTML, csv
 
Posts: 17 | Registered: September 17, 2009Report This Post
Expert
posted Hide Post
This worked in my Dev Studio 7.6.9 version.

Could there be an issue in 7.6.8 ?


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
Member
posted Hide Post
Oh wow. I need to update my profile. We have upgraded to 7.6.11. there were lots of pdf changes. I wonder if somehow the scattergraph is broken after 7.6.9?


WebFOCUS 7.6.11
Windows
Excel, PDF, HTML, csv
 
Posts: 17 | Registered: September 17, 2009Report 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     Scattergraph using diamond markers in PDF or PPT

Copyright © 1996-2020 Information Builders