Focal Point
[CLOSED] Bar color in a waterfall chart

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/6337077716

March 13, 2012, 06:46 AM
ferran
[CLOSED] Bar color in a waterfall chart
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.
March 22, 2012, 12:26 PM
Kerry
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.
March 23, 2012, 05:47 AM
SriAravind
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
March 30, 2012, 03:29 AM
ferran
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.