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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Bar color in a waterfall chart

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Bar color in a waterfall chart
 Login/Join
 
Member
posted
I have a waterfall chart which I have included a total group on it. I have something like that:

GRAPH FILE CAR
SUM SALES
BY COUNTRY
WHERE SALES GT 0
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 VWATERFL
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("/images/tdg/template/IBISouthWestern.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false); 
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);
setDepthRadius(5); 
setTransparentBorderColor(getChartBackground(),true); 
setPlace(true);
setDisplay(getWaterfallLine(),false);
setFillColor(getSeries(0),new Color(64,128,128));
setData(0, 4, 0);
setWaterfallGroupMode(4, 2);
setGroupLabel(4, "TOTAL");
setDataRangeToExtent();
ENDSTYLE
END
 

Now I need to fill the "total" bar with another color, but I don't know how can I do it, it seem's that there is no way to identify (with an getObject API call) this "total" bar. ¿Is there a way to fill de new total bar with another color?.

Thank's to everyone

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


WF 7.7.03,Win XP Pro.
HTML, PDF, EXCEL, AHTML, FLEX, APDF.
SQL Server, MySQL, DB2, FOCUS.
 
Posts: 19 | Registered: February 04, 2011Report This Post
Expert
posted Hide Post
Hi ferran,

I checked with our graph expert and was suggested that, there seems to be no API command that will address your need. For further research, you will need to open a case with Customer Support Services. Please call 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
Gold member
posted Hide Post
U can do your own coloring for each slices in PIE graph...Check d below link for reference, which might give some idea:
http://forums.informationbuild...827022616#2827022616

Don't have idea for BAR...Try to work around as mentioned for PIE graph..


WebFocus Version 7.7.05
Windows, HTML/PDF/EXL2K/AHTML
 
Posts: 63 | Registered: January 12, 2011Report This Post
Member
posted Hide Post
Kerry,

As you said, seems there's no way to fill the "total" extra bar on the waterfall chart. I don't find any getObjectID() method to identify this new bar.

Thank's.


WF 7.7.03,Win XP Pro.
HTML, PDF, EXCEL, AHTML, FLEX, APDF.
SQL Server, MySQL, DB2, FOCUS.
 
Posts: 19 | 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] Bar color in a waterfall chart

Copyright © 1996-2020 Information Builders