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] Gap between series in dual-axis stacked graph

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Gap between series in dual-axis stacked graph
 Login/Join
 
Platinum Member
posted
Hello,
As you can see in the following image there is a gap between the series of values.



My graph is a dual-axis stacked.
Properties for the first serie:
- setAxisAssignment(0,0); Set to Y1
- setSeriesType(getSeries(0),3); Set style to area

Properties for the other series:
setAxisAssignment(1,1);
...
setAxisAssignment(nvalue,1);

If I have just one Y axis works fine. But with 2 Y-axis there is a gap between series. I already set the property setRiserWidth(100);

Thanks,
Carlos Dias

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, 2011Report This Post
Expert
posted Hide Post
Are you able to post an example using one of the sample files ?


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
Platinum Member
posted Hide Post
I'm trying an example using the sample files, but can't find enough data to show it...

As you can see in the graph there are always a gap between the green series values. But if a remove the red series form the left axis the gap diapered. So the problem is having two Y axis.

Carlos Dias


WebFOCUS version: 7.6
Linux/Windows
HTML, Excel
 
Posts: 127 | Location: Aveiro, Portugal | Registered: February 04, 2011Report This Post
Expert
posted Hide Post
The TRADES FOC file has a lot of data.


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
Platinum Member
posted Hide Post
Here is my case using the TRADES FOC file:



Code:
  
-* File newfex26.fex
 
-DEFAULT &y1title='Amount';
 
GRAPH FILE TRADES
SUM AMOUNT
ACROSS  DATE_OF_TRADE AS ''
BY HIGHEST COUNTRY AS ''
ON GRAPH SET LOOKGRAPH VBRSTK2
ON GRAPH SET HAXIS 1500
ON GRAPH SET VAXIS 500
ON GRAPH SET GRXAXIS 2
ON GRAPH SET GRMERGE ON
ON TABLE PCHOLD FORMAT HTMTABLE
ON GRAPH SET GRAPHSTYLE *
 
-DEFAULT &int=4;
-SET &skip=(&int*6)-1;
-SET &skip2=&skip+1;
 
 
-********
 
 
-* Remove pontos
setMarkerDisplay(false);
 
-* Remove border
setTransparentBorderColor(getChartBackground(),true);
 
-* Full size
setPlace(true);
 
-* Ao colocar a 0 remove a profundidade (efeito 2,5D)
setDepthRadius(0);
 
-* Grid Style
setGridStyle(getY1MajorGrid(),0);
setLineBasicStrokeType(getY1MajorGrid(),12);
-*setGridStyle(getY2MajorGrid(),0);
-*setLineBasicStrokeType(getY2MajorGrid(),13);
-* Remove grid line from Y2
setGridStyle(getY2MajorGrid(),5);
 
-* X (Ordinal Axis) Label
setFontName(getO1Label(),"Verdana");
setFontSizeAbsolute(getO1Label(), true);
setFontSizeInPoints(getO1Label(), 11);
setPlaceResize(getO1Label(), 0);
setTextRotation(getO1Label(),3);
setAutoSkip(getO1Label(),1);
 
-* X (Ordinal Axis) Title
setFontSizeAbsolute(getO1Title(), true);
setFontSizeInPoints(getO1Title(), 11);
setPlaceResize(getO1Title(), 0);
setFontName(getO1Title(),"Verdana");
setFontStyle(getO1Title(),0);
 
-* Y1 Axis Label
setFontName(getY1Label(),"Verdana");
setFontSizeAbsolute(getY1Label(), true);
setFontSizeInPoints(getY1Label(), 11);
setPlaceResize(getY1Label(), 0);
setExcludeMinLabel(getY1Label(),true);
 
-* Y1 Axis Title
setFontSizeAbsolute(getY1Title(), true);
setFontSizeInPoints(getY1Title(), 11);
setPlaceResize(getY1Title(), 0);
setFontName(getY1Title(),"Verdana");
setFontStyle(getY1Title(),0);
setDisplay(getY1Title(),true);
 
-* Y2 Axis Label
setFontName(getY2Label(),"Verdana");
setFontSizeAbsolute(getY2Label(), true);
setFontSizeInPoints(getY2Label(), 11);
setPlaceResize(getY2Label(), 0);
setExcludeMinLabel(getY2Label(),true);
 
-* Y2 Axis Title
setFontSizeAbsolute(getY2Title(), true);
setFontSizeInPoints(getY2Title(), 11);
setPlaceResize(getY2Title(), 0);
setFontName(getY2Title(),"Verdana");
setFontStyle(getY2Title(),0);
setDisplay(getY2Title(),true);
 
-* Legend
setLegendDisplay(false);
 
-* Legend Size
setFontSizeAbsolute(getLegendText(), true);
setFontSizeInPoints(getLegendText(), 11);
setPlaceResize(getLegendText(), 0);
 
-* TransparentBorderColor to all series
setUseSeriesBorderDefaults(true);
setSeriesDefaultTransparentBorderColor(true);
 
-********
setTextRotation(getO1Label(),0);
 
-* Y1 Axis Title
setTextString(getY1Title(),"&y1title");
 
-* Disable label skip
setPlaceSkip(getO1Label(),0);
setO1LabelSkipBegin(0);
setO1LabelSkipCount(&skip);
setO1LabelAutoSkip(2);
setMajorGridDrawEveryCount(getO1MajorGrid(), &skip2);
setO1MajorGridStyle(0);
 
setLegendDisplay(true);
 
-* Y1 Axis Color grid
setDisplay(getY1MajorGrid(),false);
setDisplay(getY1MinorGrid(),true);
setLineBasicStrokeType(getY1MinorGrid(),12);
setBorderColor(getY1MinorGrid(),new Color(192,192,192));
 
-* X Ordinal Axis Color grid
setBorderColor(getO1MajorGrid(),new Color(150,150,150));
 
-* Default series color
setFillColor(getSeries(0),new Color(0,88,132));
setFillColor(getSeries(1),new Color(67,157,42));
 
-* Assigns equal line widths for all series in a graph
setLineWidthAllSeries(2);
 
-* Wrap Label
setO1LabelWrap(true);
 
setFillColor(getSeries(0),new Color(225,0,0,200));
setRiserWidth(100);
setAxisAssignment(0,0);
setAxisAssignment(1,1);
setAxisAssignment(2,1);
setSeriesType(getSeries(0),3);
 
ENDSTYLE
ON GRAPH SET STYLE *
INCLUDE = altaia_graph,
$
END
-RUN



As you can see there is always a gap between values.

Thanks,
Carlos Dias


WebFOCUS version: 7.6
Linux/Windows
HTML, Excel
 
Posts: 127 | Location: Aveiro, Portugal | Registered: February 04, 2011Report This Post
Expert
posted Hide Post
I suspect that this may be a bug in the software, as you have changed one of the series to an area serie type, but the graph engine has not removed the expected bar.

I would suggest that you put in a case with Techsupport.


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
Platinum Member
posted Hide Post
You're right... if I don't change the series type works fine.

I will open a case.

Thanks,
Carlos Dias


WebFOCUS version: 7.6
Linux/Windows
HTML, Excel
 
Posts: 127 | Location: Aveiro, Portugal | Registered: February 04, 2011Report 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] Gap between series in dual-axis stacked graph

Copyright © 1996-2020 Information Builders