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     Graph custome colors repeat - 2 slices same color next to each other

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Graph custome colors repeat - 2 slices same color next to each other
 Login/Join
 
Member
posted
I have the following settings for my pie graph.

ON GRAPH SET GRAPHSTYLE *
setFillColor(getSeries(0), new Color(172,0,62));
setFillColor(getSeries(1), new Color(84,49,35));
setFillColor(getSeries(2), new Color(218,213,204));
setFillColor(getSeries(3), new Color(114,103,82));
setFillColor(getSeries(4), new Color(228,236,202));
setFillColor(getSeries(5), new Color(220,229,242));
setFillColor(getSeries(6), new Color(247,242,187));
setFillColor(getSeries(7), new Color(172,0,62));
setFillColor(getSeries(8), new Color(84,49,35));
setFillColor(getSeries(9), new Color(218,213,204));
setFillColor(getSeries(10), new Color(114,103,82));
setFillColor(getSeries(11), new Color(228,236,202));
setFillColor(getSeries(12), new Color(220,229,242));
setFillColor(getSeries(13), new Color(247,242,187));
setFillColor(getSeries(14), new Color(172,0,62));
setPieSorting(3);
setFontSize(getPieSliceLabel(),14);
setFontStyle(getPieSliceLabel(),2);
setFontSize(getPieLabel(),14);
setFontStyle(getPieLabel(),2);
setFontSize(getDataText(),14);
setMarkerDisplay(true);
setConnectLineMarkers(false);
setConnectScatterMarkers(false);
setO1LabelDisplay(false);
setO1MajorGridDisplay(true);
setO1MajorGridStyle(0);
setO1MinorGridDisplay(false);
setAxisAssignment(0,0);
setY1LabelDisplay(false);
setY1MajorGridDisplay(true);
setY1MajorGridStyle(0);
setY1MinorGridDisplay(false);
setTextFormatPreset(getY1Label(),-1);
setTextFormatPattern(getY1Label(),"#.##");
setPieFeelerTextDisplay(1);
setPieLabelDisplay(3);
setTitleString("Claim Payment Summary");
setTextJustHoriz(getTitle(),1);
setTitleAutofit(true);
setLegendTextAutofit(true);
setTextFormatPreset(getPieSliceLabel(),2);
setRiserBorderMode(1);
setSeriesDefaultTransparentBorderColor(true);
setUseSeriesBorderDefaults(true);
setLegendDisplay(false);
setAutofit(getTitle(),false);
setFontName(getTitle(),"Arial");
setFontName(getPieSliceLabel(),"Arial");
setFontName(getPieLabel(),"Arial");
setFontSize(getTitle(),18);
setFontSizeAbsolute(getTitle(),true);
setFontSizeAbsolute(getPieSliceLabel(),true);
setFontSizeAbsolute(getPieLabel(),true);
setFontStyle(getTitle(),2);
setPlace(false);
ENDSTYLE

I have customized my colors, there are 2 sets of the same 7 colors. Sometimes when creating the graph 2 slices that are next to each other have the same color. Is there a way to prevent this from happening.
 
Posts: 21 | Registered: April 20, 2004Report 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     Graph custome colors repeat - 2 slices same color next to each other

Copyright © 1996-2020 Information Builders