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 :( HEAT MAP

Read-Only Read-Only Topic
Go
Search
Notify
Tools
***CLOSED :( HEAT MAP
 Login/Join
 
Master
posted
Does WebFocus 8 offer what is described to me as a heat chart.

We are open to other formats but the sample shown to us displays the last 6 months by name. Each month appears as a grid showing Sun - Sat and every day of the month. The day has varying colors from green to red representing sales volumes. The 'redder' the 'day' the more the sales for that day. You could see in the sample that Wednesdays were the best days for sales over the past 6 months.

I did see a 'tag clound' chart that illustrates via word size...not really what we want.

Are there 'heat charts' available? What does wf call them? Where are they? If there is doc on this, I can not find it nor did I see any helpfull posts...

as always, Thanks!

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


WebFOCUS 8206.08
Windows, All Outputs
 
Posts: 603 | Registered: June 28, 2013Report This Post
Expert
posted Hide Post
Hi Robert,

It might be "Spectral"?

Go to Format / [Chart Types] Other / Special and the last one is Spectral.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Master
posted Hide Post
I don't see how that chart will work.


WebFOCUS 8206.08
Windows, All Outputs
 
Posts: 603 | Registered: June 28, 2013Report This Post
Expert
posted Hide Post
Is this the sort of chart that you mean? link

If so, the Spectral is what you want.


T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Gold member
posted Hide Post
I think tree map may be what you seek.


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 74 | Registered: December 23, 2013Report This Post
Master
posted Hide Post
Tree Map?

I will look at the Spectral again but I do not see man option in WF for that one. But yes, show heat on the days where activity was high....


WebFOCUS 8206.08
Windows, All Outputs
 
Posts: 603 | Registered: June 28, 2013Report This Post
Gold member
posted Hide Post
This was from someone else's post.

JOIN STCD IN GGSALES TO STORE_CODE IN GGSTORES AS J1
DEFINE FILE GGSALES
PROFIT/D12.2= DOLLARS-BUDDOLLARS ;
END
GRAPH FILE GGSALES
SUM PROFIT UNITS
BY ST
BY PRODUCT
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET LOOKGRAPH TREEMAP
ON GRAPH SET STYLE *
*GRAPH_JS
colorMode:'byInterpolation',
colorModecolors: ['teal','cyan', 'beige', 'burlywood', 'yellow', 'cream']
*END
ENDSTYLE
END


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 74 | Registered: December 23, 2013Report This Post
Master
posted Hide Post
quote:
Are there 'heat charts' available? What does wf call them? Where are they?

In WF 8 Heat Maps are available as an HTML5 chart type.

Another name for 'Heat Maps' is 'Spectral Maps'; WF uses the later name.

If your requirements are something like: "Visualize Sales by week across day of the week; colors should be based upon the value of the cell", then this example might help.

Most of the code creates the test data, and isn't part of the technique. :-)

-* File ExHeatMap.fex
APP PREPENDPATH IBISAMP
SET WEEKFIRST = ISO
-RUN
-*
-* Create a test file, using the GGSALES sample database.
-*
DEFINE FILE GGSALES
SALESDATE_YYMD/YYMD = DECODE PRODUCT ('Biscotti'       '20151005'
                                      'Capuccino'      '20151006'
                                      'Coffee Grinder' '20151007'
                                      'Coffee Pot'     '20151008'
                                      'Croissant'      '20151009'
                                      'Espresso'       '20151012'
                                      'Latte'          '20151013'
				      'Mug'            '20151014'
				      'Scone'          '20151015'
				      'Thermos'        '20151016');
-* Get the day of the week for this Sales Date.
SALESDATE_W/W = SALESDATE_YYMD;
SALESDATE_WR/wr = SALESDATE_YYMD;
-* Get the week number for this Sales Date.
SALESDATE_HYYMDS/HYYMDS= HDTTM(SALESDATE_YYMD, 8, 'HYYMDS');
WEEKNUMBER/I2 = HPART(SALESDATE_HYYMDS,'WEEK','I2');
WEEKNUMBER_YAXIS/A12 = 'Week: ' | EDIT(WEEKNUMBER);
-* Create Sales Dollars with at least some dispersion.
WKDOLLARS/D12.2 = IF ((WEEKNUMBER EQ 41) AND (SALESDATE_W EQ 1)) THEN DOLLARS * 1.1 ELSE
                   IF ((WEEKNUMBER EQ 41) AND (SALESDATE_W EQ 2)) THEN DOLLARS * 1.2 ELSE
				    IF ((WEEKNUMBER EQ 41) AND (SALESDATE_W EQ 3)) THEN DOLLARS * 5.3 ELSE
					 IF ((WEEKNUMBER EQ 41) AND (SALESDATE_W EQ 4)) THEN DOLLARS * 4.3 ELSE
					  IF ((WEEKNUMBER EQ 42) AND (SALESDATE_W EQ 5)) THEN DOLLARS * 1.9 ELSE
					   IF ((WEEKNUMBER EQ 42) AND (SALESDATE_W EQ 4)) THEN DOLLARS * 2.1 ELSE
					    IF ((WEEKNUMBER EQ 42) AND (SALESDATE_W EQ 3)) THEN DOLLARS * 1.7 ELSE
					     DOLLARS;
END
-*
TABLE FILE GGSALES
PRINT WKDOLLARS
      WEEKNUMBER_YAXIS
      SALESDATE_WR
ON TABLE HOLD
END
-RUN
-*
-* Create Heat Map Visualization.
-*
GRAPH FILE HOLD
SUM WKDOLLARS
BY  WEEKNUMBER_YAXIS AS 'Week Number'
ACROSS SALESDATE_WR
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET LOOKGRAPH SPECTRAL
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 2
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
-*
*GRAPH_SCRIPT
  setLegendPosition(2);
  setToolTipStyle('html5');
*END
-*
*GRAPH_JS
  title: {text: 'Sales Heat Map', visible: true},
  subtitle: {text: 'Sales By Week Number Across Day of Week', visible: true},
  yaxis: {title: {visible: true, text:'Sales'}},
  xaxisOrdinal: {title: {visible: true, text:'Day of Week'}}
*END
ENDSTYLE
END

This message has been edited. Last edited by: David Briars,
 
Posts: 822 | Registered: April 23, 2003Report This Post
Master
posted Hide Post
Where do you see TREEMAP in the GUI?


WebFOCUS 8206.08
Windows, All Outputs
 
Posts: 603 | Registered: June 28, 2013Report This Post
Master
posted Hide Post
Well I made some progress ...Question...is there a way to customize the heat..ie the colors shown. I have tried clicking on the colors but it won't let me adjust anything. It seems the software determines not only breaks but the colors assigned to them...


WebFOCUS 8206.08
Windows, All Outputs
 
Posts: 603 | Registered: June 28, 2013Report This Post
Master
posted Hide Post
quote:
...is there a way to customize the heat..ie the colors shown...

Spectral maps will default to green <-> red.

In my example above, if you add the colorScale property you will be able to control the colors WF will use to draw the color scale.

For example: Changing the yaxis to:
yaxis: {title: {visible: true, text:'Sales'}, 
         mode: 'color', colorScale: {colors: ['tan', 'antiquewhite'] }},  

Will give:

This message has been edited. Last edited by: David Briars,
 
Posts: 822 | Registered: April 23, 2003Report This Post
Master
posted Hide Post
we don't use infoassist. I do not even see any y axis code in my heat map's code. I think its time to accept my loss, hope they improve this and move on.

Thanks!


WebFOCUS 8206.08
Windows, All Outputs
 
Posts: 603 | Registered: June 28, 2013Report This Post
Expert
posted Hide Post
quote:
we don't use infoassist.

What are you using tho develop this then? If via App Studio, then creating a Heat Map (aka Spectral) is easy enough.

Example -

Create new Chart using GGSALES
Change format to Spectral by clicking |Format in the top menu followed by the Other icon. Then click Special, Spectral is the last icon that looks like a multi coloured checker board.
Add DOLLARS as the measure
Add REGION as the across (groups)
Add DATE as the by (series)

You can change the styling by choosing any available .sty file via the Home / Theme icon. Just make sure that the style file you select contains the necessary code.

This is the process that David would have followed to create his examples above if he had used the GUI Wink.


T

This message has been edited. Last edited by: Tony A,



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 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     ***CLOSED :( HEAT MAP

Copyright © 1996-2020 Information Builders