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.

New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.

What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.

During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Change series Colors on Chart.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Change series Colors on Chart.
 Login/Join
 
Platinum Member
posted
We are using the Chord Chart HTML chart extension and not able to change the default colors on the chart. Here is the code we are using on car file.
Any suggestions?

 

ENGINE INT CACHE SET ON
SET PAGE-NUM=NOLEAD
SET ARGRAPHENGINE=JSCHART
SET EMBEDHEADING=ON
SET GRAPHDEFAULT=OFF
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';
-DEFAULTH &WF_TITLE='WebFOCUS Report';
GRAPH FILE car
-* Created by Info Assist for Graph
SUM CAR.CAR.DEALER_COST
BY CAR.CAR.COUNTRY
BY CAR.CAR.CAR
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET GRWIDTH 1
ON GRAPH SET UNITS &WF_STYLE_UNITS
ON GRAPH SET HAXIS &WF_STYLE_WIDTH
ON GRAPH SET VAXIS &WF_STYLE_HEIGHT
ON GRAPH SET LOOKGRAPH EXTENSION
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setPlace(true);
setCurveFitEquationDisplay(false);
setReportParsingErrors(false);
setSelectionEnableMove(false);
setFillColor(getSeries(0),new Color(#0A1C26));
setFillColor(getSeries(1),new Color(#13394D));
setFillColor(getSeries(2),new Color(#206080));
setFillColor(getSeries(4),new Color(#3399CC));
setFillColor(getSeries(3),new Color(#79CAF2));
setFillColor(getSeries(6),new Color(#A2D8F2));
setFillColor(getSeries(5),new Color(#C4ECFF));
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/ibi_themes/Flat.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
TYPE=DATA, COLUMN=N1, BUCKET= >source, $
TYPE=DATA, COLUMN=N2, BUCKET= >target, $
TYPE=DATA, COLUMN=N3, BUCKET= >value, $
*GRAPH_JS_FINAL
"pieProperties": {
    "holeSize": "0%"
},
"chartType": "com.ibi.chord",
"agnosticSettings": {
    "chartTypeFullName": "com.ibi.chord"
}
*END
ENDSTYLE
END
-RUN


 

This message has been edited. Last edited by: FP Mod Chuck,


App Studio Version 8202
windows Platform
SQL Server 2008/2012
 
Posts: 183 | Location: TX | Registered: January 22, 2007Report This Post
Member
posted Hide Post
Hi getit,

Did you check the 'properties.json' file of the chord chart? , there you might find the option to change colors.
 
Posts: 3 | Registered: January 16, 2019Report This Post
Platinum Member
posted Hide Post
Yes I checked it. There is no option for changing series colors.


App Studio Version 8202
windows Platform
SQL Server 2008/2012
 
Posts: 183 | Location: TX | Registered: January 22, 2007Report This Post
Expert
posted Hide Post
Can you edit this in TEXT and change these as you see fit?
quote:
setFillColor(getSeries(0),new Color(#0A1C26));
setFillColor(getSeries(1),new Color(#13394D));
setFillColor(getSeries(2),new Color(#206080));
setFillColor(getSeries(4),new Color(#3399CC));
setFillColor(getSeries(3),new Color(#79CAF2));
setFillColor(getSeries(6),new Color(#A2D8F2));
setFillColor(getSeries(5),new Color(#C4ECFF));




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Expert
posted Hide Post
By The way, You may get more answers from MyIBI.




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report 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] Change series Colors on Chart.

Copyright © 1996-2020 Information Builders