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.
This shows a value for each X axis value. Instead, I need to show only first and last value. I know it's possible to show/hide data values for individual series, i.e.
setDisplay(gestDataText(0),true
and so on, but I am not able to show only the two values mentioned.
I've tried with
setDisplay(getDataText(0,1),true);
but doesn't work.
Any suggestions?
Thank's in advice.
FerranThis message has been edited. Last edited by: ferran,
The numbers for getDataText are for the series, not the data points.
If you know what the first and last values are of the graph, you could try something like this:
GRAPH FILE CAR
SUM
COMPUTE A/D18.2=IF COUNTRY EQ 'ENGLAND' THEN DEALER_COST ELSE -1 ;
COMPUTE B/D18.2=IF COUNTRY EQ 'W GERMANY' THEN DEALER_COST ELSE -1 ;
DEALER_COST
BY COUNTRY
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HAXIS 770
ON GRAPH SET VAXIS 405
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VLINE
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);
setDepthRadius(0);
setUseSeriesShapes(true);
setMarkerSizeDefault(50);
setTransparentBorderColor(getChartBackground(),true);
setPlace(true);
setDisplay(getDataText(0),true);
setDisplay(getDataText(),true);
setDisplay(getDataText(2),false);
setDisplay(getLegendArea(),false);
setY1ScaleMinAuto(false);
setY1ScaleMin(0.0);
setY1OffScaleDisplay(false);
ENDSTYLE
END
Essentially you can add additional data lines on your graph, and display the data values on those lines. The last 3 graph statements cover up unnecessary data points: