IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    svg, 3d and 1 solid color
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Platinum Member
Posted
I've been trying to recreate my problem using the car file but for some reason my svg graphs only appear as a placeholder on my desktop developer so I can't show you what is happening to me.

I am creating a svg graph that is 3d. If I have only 1 color (one item appearing that is 100%), the 3d function goes funky (nice technical word). IBI's solution a few years back was to remove the 3d option. The business really wants 3D. Does anyone have a work around? I'll put my code that it's happening on since I can't recreate with the car file:

SET LOOKGRAPH=PIE
SET 3D=ON

GRAPH FILE HOLD340
SUM XPCT_OF_PORTFOLIO AS ' '
ACROSS XCATEGORY
WHERE ( XCATEGORYID NE 'ZTOTAL');
ON GRAPH SET STYLE *
UNITS=IN,
PAGESIZE='Letter',
LEFTMARGIN=0.250000,
RIGHTMARGIN=0.250000,
TOPMARGIN=0.250000,
BOTTOMMARGIN=0.250000,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
FONT='TIMES NEW ROMAN',
SIZE=10,
BACKCOLOR=NONE,
STYLE=NORMAL,
$
ENDSTYLE
ON GRAPH SET LOOKGRAPH PIESINGL
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET GRAPHSTYLE *
setPieRotate(45);
setLabelStagger(getO1Label(),true);
setLabelStagger(getPieSliceLabel(),true);
setO1LabelStagger(true);
setPieFeelerTextDisplay(2);
setPieLabelDisplay(1);
setFillColor(getSeries(0),new Color(255,0,0));
setFillColor(getSeries(1),new Color(0,0,255));
setFillColor(getSeries(2),new Color(255,255,0));
setFillColor(getSeries(3),new Color(50,205,50));
setRiserBorderMode(1);
setSeriesDefaultTransparentBorderColor(false);
setUseSeriesBorderDefaults(true);
setFillMissingData(0);
setLegendPosition(2);
setPlace(true);
setTextJustHoriz(getLegendText(),0);
setAutofit(getLegendText(),true);
setFontSizeVC(getLegendText(),1800);
setLegendMarkerPosition(0);
ENDSTYLE
ON GRAPH SAVE AS HOLD800 FORMAT SVG
END

Thanks.


webfocus 5.3.3; os: unix; solaris 2.8; pdf, html, exl2k, csv
 
Posts: 156 | Registered: November 10, 2004Reply With QuoteEdit or Delete MessageReport This Post
Virtuoso
Posted Hide Post
Pam,

Graphs have come a long long way since 5.3.3...I hope you are planning an upgrade.
I have a graph that I think was created in 5.3 and I have some coloring done in the Stylesheet and it is 3D...I don't remember why it was done this way.
TYPE=DATA,
ACROSSCOLUMN=N1,
COLOR=RGB(51 102 255),
$
TYPE=DATA,
ACROSSCOLUMN=N2,
COLOR='RED',
$
TYPE=DATA,
ACROSSCOLUMN=N3,
COLOR='YELLOW',


WebFOCUS 7.6.1 Win 2003 Test -7.6.5
 
Posts: 1096 | Location: San Antonio | Registered: February 28, 2005Reply With QuoteEdit or Delete MessageReport This Post
Platinum Member
Posted Hide Post
we were planning on starting our upgrade last month but some additional costs were thrown out there from IBI which forced the project into next year. I will let management know about the improvements and perhaps that will help them in their case to their mgmt to get the new release going! Thanks for the info.


webfocus 5.3.3; os: unix; solaris 2.8; pdf, html, exl2k, csv
 
Posts: 156 | Registered: November 10, 2004Reply With QuoteEdit or Delete MessageReport This Post
Platinum Member
Posted Hide Post
problem solved ... we changed the degrees (setPieRotate) to 90 and it looks good!


webfocus 5.3.3; os: unix; solaris 2.8; pdf, html, exl2k, csv
 
Posts: 156 | Registered: November 10, 2004Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    svg, 3d and 1 solid color

Copyright © 1996-2008 Information Builders, leaders in enterprise business intelligence.