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.
Hi there, I'm trying to set the label format pattern for the X axis, but without sucess. I already try: setX1LabelFormat(-1); setX1LabelFormatPattern("###(s)");
The values in the X axis are in seconds. For the Y axis works fine. My graph is of the type Line.
My code:
GRAPH FILE DTGRAPH
-* Created by Advanced Graph Assistant
SUM DTGRAPH.SEG01.PCT-V1 AS 'V1'
DTGRAPH.SEG01.PCT-V2 AS 'V2'
BY DTGRAPH.SEG01.KPI
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
-* Displays missing values as zero.
ON GRAPH SET VZERO ON
ON GRAPH SET HAXIS 770
ON GRAPH SET VAXIS 405
ON GRAPH SET UNITS PIXELS
-*ON GRAPH SET LOOKGRAPH VLNSTKPC
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
Thanks in advanced,This message has been edited. Last edited by: Kerry,
WebFOCUS version: 7.6 Linux/Windows HTML, Excel
Posts: 127 | Location: Aveiro, Portugal | Registered: February 04, 2011
I already search for the property in the pdf document (it's really huge) but without success. I already try to use properties like "setO1...". My full code:
GRAPH FILE DTGRAPH
SUM DTGRAPH.SEG01.PCT-V1 AS 'V1'
DTGRAPH.SEG01.PCT-V2 AS 'V2'
BY DTGRAPH.SEG01.KPI
ON GRAPH SET GRAPHEDIT OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO ON
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET GRAPHSTYLE *
-*setTemplateFile("/images/tdg/template/IBIRIABlue.txt");
setTemplateFile("/images/tdg/template/IBISouthWestern.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setSelectionEnable(5);
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);
setTransparentBorderColor(getChartBackground(),true);
setO1LabelDisplay(true);
setO1AxisSide(0);
setO1LabelRotate(0);
setO1LabelFormat(28);
setFillColor(getSeries(0),new Color(125,166,205));
setFillColor(getSeries(1),new Color(245,23,67));
setMarkerShape(getSeries(0),0);
setMarkerShape(getSeries(1),0);
setFontSizeAbsolute(getO1Label(),true);
setFontSizeInPoints(getO1Label(),8);
setPlaceResize(getO1Label(),0);
setTextString(getY1Title(),"Taxa de Incidência (%)");
setDisplay(getY1Title(),true);setTickStyle(getO1MajorTick(),2);
setDisplay(getO1MajorTick(),false);
setSmoothLines(false);
setFontName(getDataText(),"Verdana");
setDisplay(getTitle(),true);
setFontName(getTitle(),"Verdana");
setFillColor(getTitle(),new Color(0,0,0));
setFontSizeAbsolute(getTitle(),true);
setFontSizeInPoints(getTitle(),10);
setPlaceResize(getTitle(),0);
setFontStyle(getTitle(),0);
setFillColor(getO1Title(),new Color(0,0,0));
setFontName(getO1Title(),"Verdana");
setFontSizeAbsolute(getO1Title(),true);
setFontSizeInPoints(getO1Title(),8);
setPlaceResize(getO1Title(),0);
setFontStyle(getO1Title(),0);
setTextString(getO1Title(),"Tempo (s)");
setDisplay(getO1Title(),true);
setFillColor(getO1Label(),new Color(0,0,0));
setFontName(getO1Label(),"Verdana");
setFillColor(getY1Label(),new Color(0,0,0));
setFontName(getY1Label(),"Verdana");
setFontSizeAbsolute(getY1Label(),true);
setFontSizeInPoints(getY1Label(),8);
setPlaceResize(getY1Label(),0);
setFillColor(getY1Title(),new Color(0,0,0));
setFontName(getY1Title(),"Verdana");
setFontSizeAbsolute(getY1Title(),true);
setFontSizeInPoints(getY1Title(),8);
setPlaceResize(getY1Title(),0);
setFontStyle(getY1Title(),0);
setBorderColor(getO1AxisLine(),new Color(0,0,0));
setBorderColor(getY1AxisLine(),new Color(0,0,0));
setFillColor(getLegendText(),new Color(0,0,0));
setDepthRadius(0);
setTransparentBorderColor(getChartBackground(),true);
setPlace(true);
setGridStyle(getY1MajorGrid(),0);
setLineBasicStrokeType(getY1MajorGrid(),12);
setDataTextPosition(4);
setDisplay(getDataText(),false);
setToolTipBackgroundColor(new Color (222,236,255));
setToolTipColor(new Color(0,0,0));
setToolTipBackdropSize(2);
setToolTipFontName("Verdana");
setToolTipFontStyle(4);
setUserToolTip("Value for [SL] is [YV]%");
Thanks in advanced, Carlos Dias
WebFOCUS version: 7.6 Linux/Windows HTML, Excel
Posts: 127 | Location: Aveiro, Portugal | Registered: February 04, 2011
WebFOCUS Server 8.1.05 Windows 2008 Server WebFOCUS AppStudio 8.1.05 Windows 7 Professional IE 11 and Chrome Version 43.0.2357.124 m. Mostly HTML, PDF, Excel, and AHTML