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] Pie Chart Colors

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Pie Chart Colors
 Login/Join
 
Silver Member
posted
I'm having an issue getting more then 6 colors to show up on a html document in both a pie chart and a line graph. I've got the below code for the pie chart. When I look at it in developer studio it show up fine and it shows up fine in developer studio on the html document but when you go to the webpage it only shows 6 colors and then starts repeating. Is there anything I'm doing wrong here?

-*IA_GRAPH_BEGIN
-*Do not delete or modify the comments below
*-INTERNAL_COMMENT LINE#0$PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8IS0tMS4wLS0+PFJvb3QgdmVyc2lvbj0iMS4wIj4NCiAgICA8T2JqZWN0IG9iamVjdElkPSJDaGFydF8xIj4NCiAgICAgICAgPFByb3BlcnR5IG5hbWU9IkxpbmtlZFNvcnRzIiB0eXBlPSJqYXZhLmxhbmcuU3RyaW5nIi8+DQogICAgPC9PYmplY3Q+DQogICAgPE9iamVjdCBvYmplY3RJZD0iR0xPQkFMIj4NCiAgICAgICAgPFByb3BlcnR5IG5hbWU9IlNhbXBsZURhdGEiIHR5cGU9ImphdmEubGFu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QogICAgICAgIDxQcm9wZXJ0eSBuYW1lPSJTTElDRVJfSU5GT1JNQVRJT04iIHR5cGU9ImphdmEubGFuZy5TdHJpbmciPlBEOTRiV3dnZG1WeWMybHZiajBpTVM0d0lpQmxibU52WkdsdVp6MGlWVlJHTFRnaUlITjBZVzVrWVd4dmJtVTlJbTV2SWo4K1BDRXRMVU5QVFZCTVJWUkZYMU5NU1VORlVsOUhVazlWVUMwdFBqeFRURWxEUlZKZlIxSlBWVkErUEVkU1QxVlFJR2R5YjNWd1RuVnRZbVZ5UFNJd0lpQnpiR2xqWlhKSGNtOTFjRXhoWW1Wc1BTSkhjbTkxY0NBeElpQnpiR2xqWlhKSGNtOTFjRTl5WkdWeVBTSXdJaUJ6YkdsalpYSkhjbTkxY0ZOcGVtVTlJakFpSUhOc2FXTmxja2R5YjNWd2FHbGtaVDBpWm1Gc2MyVWlMejQ4TDFOTVNVTkZVbDlIVWs5VlVEND08L1Byb3BlcnR5Pg0KICAgICAgICA8UHJvcGVydHkgbmFtZT0iQ2hhcnRBdXRvZml0U2l6ZSIgdHlwZT0iamF2YS5sYW5nLkJvb2xlYW4iPnRydWU8L1Byb3BlcnR5Pg0KICAgICAgICA8UHJvcGVydHkgbmFtZT0iZW5hYmxlUHJldmlldyIgdHlwZT0iamF2YS5sYW5nLkJvb2xlYW4iPnRydWU8L1Byb3BlcnR5Pg0KICAgIDwvT2JqZWN0Pg0KPC9Sb290Pg0K
-*Do not delete or modify the comments above
ENGINE INT CACHE SET ON
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';
GRAPH FILE AEPCT
-* Created by Info Assist for Graph
SUM AEPCT.SEG01.PCT
BY AEPCT.SEG01.Brand
HEADING
"% of AEs by Brand"
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET EMBEDHEAD ON
ON GRAPH SET UNITS &WF_STYLE_UNITS
ON GRAPH SET HAXIS &WF_STYLE_WIDTH
ON GRAPH SET VAXIS &WF_STYLE_HEIGHT
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 1
ON GRAPH SET GRXAXIS 0
ON GRAPH SET LOOKGRAPH PIESINGL
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
setPieFeelerTextDisplay(1);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=REPORT, TITLETEXT='WebFOCUS Report', LEFTMARGIN=0.05, TOPMARGIN=0.1, BOTTOMMARGIN=0.05, $
TYPE=HEADING, JUSTIFY=CENTER, FONT='CALIBRI', SIZE=14, COLOR=RGB(66 70 73), STYLE=BOLD, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setDisplay(getAnnotation(0),true);
setTextWrap(getAnnotation(0),true);
setRect(getAnnotation(0),new Rectangle(-4529.0,13629.0,4155.0,1580.0));
setTextString(getAnnotation(0),"");
-*setFillColor(getChartBackground(),new Color(255,255,255));
setDisplay(getPieLabel(),false);
setPieTilt(0);
setPieDepth(0);5
setDepthRadius(0);
setDepthAngle(0);
setPieSliceDetach(getSeries(*), 0);
setDisplay(getLegendArea(),false);
setFontSizeAbsolute(getLegendText(),true);
setAutofit(getLegendText(),false);
setFontSizeInPoints(getLegendText(),8);
setPlaceResize(getLegendText(),0);
setFontStyle(getLegendText(),2);
setFontName(getLegendText(),"CALIBRI");
setFillMissingData(1);
setTextFormatPreset(getPieSliceLabel(),2);
setPieFeelerTextDisplay(1);
setPieLabelDisplay(3);
setFillColor(getSeries(0),new Color(31,120,180));
setFillColor(getSeries(1),new Color(51,160,44));
setFillColor(getSeries(2),new Color(227,26,28));
setFillColor(getSeries(3),new Color(255,127,0));
setFillColor(getSeries(4),new Color(106,61,154));
setFillColor(getSeries(5),new Color(166,206,227));
setFillColor(getSeries(6),new Color(178,223,138));
setFillColor(getSeries(7),new Color(251,154,153));
setFillColor(getSeries(8),new Color(253,127,0));
setFillColor(getSeries(9),new Color(202,178,214));
*END
ENDSTYLE
END
-*IA_GRAPH_FINISH

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 8104, Windows, All Outputs
 
Posts: 43 | Registered: March 26, 2014Report This Post
<Kathryn Henning>
posted
Hi Rev1,

Welcome to Focal Point!

quote:
ON GRAPH PCHOLD FORMAT JSCHART


Even though your profile states that you're running WebFOCUS 7.6, HTML5 charts are only available starting in WebFOCUS 8.0.0x. Would you please verify the release of WebFOCUS that you're running?

quote:
but when you go to the webpage it only shows 6 colors


Are you running this through the Portal or some other way?

Thanks and regards,

Kathryn
 
Report 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] Pie Chart Colors

Copyright © 1996-2020 Information Builders