Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED]Heat Maps in webFocus 8
Go
New
Search
Notify
Tools
Reply
  
[CLOSED]Heat Maps in webFocus 8
 Login/Join
 
Silver Member
posted
hi,
i want to use heat map graphs in building reports with webFocus.
can we use heat maps in webFocus 8? anything that can help would be much appreciated!

This message has been edited. Last edited by: <Emily McAllister>,


WebFOCUS 7.67 & WebFOCUS 80 windows
 
Posts: 44 | Location: Kabul, Afghanistan | Registered: August 07, 2011Reply With QuoteReport This Post
Expert
posted Hide Post
Once again the online documentation has this information - link

Also, a quick search on the forum will provide you with previous questions and answers.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.06 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5617 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
Master
posted Hide Post
quote:
i want to use heat map graphs in building reports with webFocus.
can we use heat maps in webFocus 8?


Answer is yes.

Simple example.
ENGINE INT CACHE SET ON

-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';
-DEFAULTH &WF_TITLE='WebFOCUS Report';

DEFINE FILE ggsales
MONTHYEAR/MY=GGSALES.SALES01.DATE;
END

GRAPH FILE ggsales
SUM GGSALES.SALES01.DOLLARS
BY GGSALES.SALES01.REGION AS 'Region'
ACROSS MONTHYEAR AS 'Month/Year'
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT 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 GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 2
ON GRAPH SET LOOKGRAPH SPECTRAL
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
setDataTextPosition(4);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
*END
ENDSTYLE
END
-RUN



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Reply With QuoteReport This Post
Silver Member
posted Hide Post
Thank You very much,
i want to change the format to svg in order to include this svg formatted image to multiple
reports (as per my company's request) but when i do the colors get changed (not red and green anymore)
how can i change the colors back to red and green? i mean how to change the colors of heat map graph
by my choice

Thanks,


WebFOCUS 7.67 & WebFOCUS 80 windows
 
Posts: 44 | Location: Kabul, Afghanistan | Registered: August 07, 2011Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Check document and this be found, if just look. Add to Gavin sample and you see -

*GRAPH_JS
yaxis: {mode: 'color',colorScale: {colors: ['teal','cyan']}}
*END


Kofi


Client Server 8.1.05: Apache; Tomcat;Windows Server 2012
Reporting Server 8.1.05; Oracle; MS SQL; Windows Server 2012
 
Posts: 103 | Registered: April 06, 2009Reply With QuoteReport This Post
Expert
posted Hide Post
Kofi beat me to it! If you look at the documentation link that I gave above, and entered "heatmap" in the search box then you would have found what you needed as the first entry is for "colorScale".

Keep the link that I gave above in your browser favorites as it will prove useful many times.


T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.06 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5617 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
Silver Member
posted Hide Post
thank you, now I can change the colors but it doesn't apply to the SVG formatted version it only applies to the JSCHART forma, the question is how to apply this color changes to
ON GRAPH SAVE AS IMAGE1 FORMAT SVG
?
OR how to change JSCHART format to SVG format in order to print the chart in pdf format?

This message has been edited. Last edited by: FRA-Sarwar,


WebFOCUS 7.67 & WebFOCUS 80 windows
 
Posts: 44 | Location: Kabul, Afghanistan | Registered: August 07, 2011Reply With QuoteReport This Post
Master
posted Hide Post
Compound Reports, don't think SVG is required for charts in PDFs.



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Reply With QuoteReport This Post
Silver Member
posted Hide Post
no the requirement is changing the jschart to SVG! is there any way to do that?


WebFOCUS 7.67 & WebFOCUS 80 windows
 
Posts: 44 | Location: Kabul, Afghanistan | Registered: August 07, 2011Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED]Heat Maps in webFocus 8

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.