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] Line Graph with Advanced Graph Assistent

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Closed] Line Graph with Advanced Graph Assistent
 Login/Join
 
Gold member
posted
Is there a posibility to set the point of origin from (0,0) to (1,0) in Advanced Graph Assistent?

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


WebFOCUS 7.6, 7.7
Windows, All Output formats
 
Posts: 90 | Location: Stuttgart | Registered: October 20, 2010Report This Post
Expert
posted Hide Post
Hi Michael,

Just check with our product manager: Yes this is possible, you can turn “automatic Scaling” off and manually set the minimum value on the X-Axis. This is possible on the Y-Axis as well. Please check this online manual on:

setScaleMinAuto();
setScaleMin();

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Gold member
posted Hide Post
I found this functions - but they don't work

I tried it with
- first parameter: getO1Axis() and getX1Axis()
- second parameter: 1.0
but it doesn't work.

Here the corresponding fex:
-* start fex
-*File test_prognoseAdvancedGraph.fex
-*
-*TABLE FILE PROGNOSETEST
-*PRINT *
-*END
-*--EXIT
DEFINE FILE PROGNOSETEST
-* Umwandlung I11 nach String fuer EDIT-Funktion:
JAHR4MONAT_STRING/A6 = EDIT(JAHR4MONAT, '$$$$$999999');
JAHR4MONAT_YYYYMMDD/A10 = EDIT(JAHR4MONAT_STRING, '9999/99/01');
JAHR4MONAT_YYMD/I8YYMD = EDIT(JAHR4MONAT_YYYYMMDD);
-*
-* Selektion Monat aus String der Form YYYYMM
JAHR4MONAT_MONTH/A2 = EDIT(JAHR4MONAT_STRING, '$$$$99');
-* Umwandlung Monat-String in Monat-Zahl
JAHR4MONAT_MONTH_INT/I2 = EDIT(JAHR4MONAT_MONTH);
-*
-* Selektion Jahr aus String der Form YYYYMM
JAHR4MONAT_YEAR/A4 = EDIT(JAHR4MONAT_STRING, '9999$$');
-* Umwandlung Jahr-String in Jahr-Zahl
JAHR4MONAT_YEAR_INT/I4 = EDIT(JAHR4MONAT_YEAR);
-* Zusammensetzen Jahr und Monat in das Format YYYYMM:
JAHR4MONAT_YYYYMM_INT/I6 = JAHR4MONAT_YEAR_INT * 100 + JAHR4MONAT_MONTH_INT;
-*
-* Ermittlung des heutigen Datums - Format MM/DD/YYYY:
HEUTE/A10 = TODAY(HEUTE);
HEUTE_MONAT/A2 = EDIT(HEUTE, '99$$$$$$$$');
HEUTE_MONAT_INT/I2 = EDIT(HEUTE_MONAT);
HEUTE_JAHR/A4 = EDIT(HEUTE, '$$$$$$9999');
HEUTE_JAHR_INT/I4 = EDIT(HEUTE_JAHR);
HEUTE_YYYYMM_INT/I6 = HEUTE_JAHR_INT * 100 + HEUTE_MONAT_INT;
-*
-* Ermittlung der Rueckdatierung z. B. Heute minus 6 Monate:
RUCKDAT_YYYY00_INT/I6 = HEUTE_JAHR_INT * 100;
RUECKDAT_YYYYMM/I6 =
IF HEUTE_MONAT_INT GT 6 THEN HEUTE_YYYYMM_INT - 6
ELSE RUCKDAT_YYYY00_INT + HEUTE_MONAT_INT - 100 + 6;
-*
-* Ermittlung der Vordatierung z. B. Heute plus 6 Monate:
VORDAT_YYYY00_INT/I6 = HEUTE_JAHR_INT * 100;
VORDAT_YYYYMM/I6 =
IF HEUTE_MONAT_INT LE 6 THEN VORDAT_YYYY00_INT + HEUTE_MONAT_INT + 6
ELSE VORDAT_YYYY00_INT + 100 + HEUTE_MONAT_INT - 6;
-*
MONAT_ALPHA/A3 =
IF JAHR4MONAT_MONTH_INT EQ 1 THEN 'Jan'
ELSE
IF JAHR4MONAT_MONTH_INT EQ 2 THEN 'Feb'
ELSE
IF JAHR4MONAT_MONTH_INT EQ 3 THEN 'Mar'
ELSE
IF JAHR4MONAT_MONTH_INT EQ 4 THEN 'Apr'
ELSE
IF JAHR4MONAT_MONTH_INT EQ 5 THEN 'May'
ELSE
IF JAHR4MONAT_MONTH_INT EQ 6 THEN 'Jun'
ELSE
IF JAHR4MONAT_MONTH_INT EQ 7 THEN 'Jul'
ELSE
IF JAHR4MONAT_MONTH_INT EQ 8 THEN 'Aug'
ELSE
IF JAHR4MONAT_MONTH_INT EQ 9 THEN 'Sep'
ELSE
IF JAHR4MONAT_MONTH_INT EQ 10 THEN 'Oct'
ELSE
IF JAHR4MONAT_MONTH_INT EQ 11 THEN 'Nov'
ELSE
IF JAHR4MONAT_MONTH_INT EQ 12 THEN 'Dec'
ELSE 'UNK';
END
-*
GRAPH FILE PROGNOSETEST
-* Created by Advanced Graph Assistant
SUM
PROGNOSETEST.PROGNOSETEST.SOLL
PROGNOSETEST.PROGNOSETEST.IST
PROGNOSETEST.PROGNOSETEST.PROGNOSE
-* Loesung fuer Problem Monatsname statt Ziffern - Teil 1 / 2:
BY PROGNOSETEST.PROGNOSETEST.JAHR4MONAT NOPRINT
BY PROGNOSETEST.PROGNOSETEST.MONAT_ALPHA
-*'
WHERE JAHR4MONAT_YYYYMM_INT LE VORDAT_YYYYMM
AND JAHR4MONAT_YYYYMM_INT GE RUECKDAT_YYYYMM
-*
ON GRAPH PCHOLD AS HOLD FORMAT PNG
ON GRAPH SET VZERO OFF
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
-* Loesung fuer Problem Monatsname statt Ziffern - Teil 2 / 2:
ON GRAPH SET GRXAXIS 2
ON GRAPH SET HAXIS 770
ON GRAPH SET VAXIS 405
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET GRAPHSTYLE *
-*
setReportParsingErrors(false);
-*setReportParsingErrors(true);
-*
-*
setSelectionEnableMove(false);
setPlace(true);
setDepthRadius(0);
setUseSeriesShapes(true);
setMarkerSizeDefault(50);
-*
-* Kein Titel für die Ordinate (x-Achse):
setO1TitleDisplay(false);
-*
-* Linien-Markierungen werden nicht angezeigt:
setMarkerDisplay(false);
-* Linienfarben festlegen
setFillColor(getSeries(0),new Color(255,0,0));
setFillColor(getSeries(1),new Color(0,0,255));
setFillColor(getSeries(2),new Color(0,0,255));
-*
setLineBasicStrokeType(getSeries(2),14);
setAxisSide(getY1Axis(),0);
-*
-* Legende darstellen / nicht darstellen
setLegendDisplay(false);
setScaleMin(getY1Axis(), 1.0);
-* Labels in Legende setzen
-* macht fuer setLegendDisplay(false); keinen Sinn
-*setSeriesLabel(0, "Soll");
-*setSeriesLabel(1, "Ist");
-* hier wird der Marker noch im Label angezeigt:
-*setSeriesLabel(2, "Prognose");
-* Setzen desselben Labels für alle Kurven
setMarkerShape(getSeries(0), getMarkerShape(getSeries(1)));
setMarkerShape(getSeries(2), getMarkerShape(getSeries(1)));
-* Titel setzen und darstellen
setTitleDisplay(true);
setTitleString("New Orders");
-*
ENDSTYLE
END
-* end fex


WebFOCUS 7.6, 7.7
Windows, All Output formats
 
Posts: 90 | Location: Stuttgart | Registered: October 20, 2010Report This Post
Expert
posted Hide Post
Hi Michael,

Has this issue been resolved? If not, it may be better to open a case with Customer Support Services for additional assistance. To open a case, you may either call at 1-800-736-6130, or access online at InfoResponse.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report 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] Line Graph with Advanced Graph Assistent

Copyright © 1996-2020 Information Builders