Focal Point
[Product Division]Add legend to PIE chart

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4107039626

December 07, 2012, 09:47 AM
Kamesh
[Product Division]Add legend to PIE chart
Hi,

I am trying to add the Legend to PIE chart but it's not working when I create the chart using ACTIVE HTML.

Here is my code.

TABLE FILE CAR
SUM
RETAIL_COST
BY CAR
HEADING
"CAR TEST "
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT AHTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT,
FONT='ARIAL',
SIZE=7,
COLOR='BLACK',
BACKCOLOR='NONE',
LINES-PER-PAGE=20,
ARGRAPHENGINE=FUSION,
REPORT-VIEW=CHART,
CHART-TYPE=PIE,
$
TYPE=REPORT,OBJECT=LEGEND,LEGEND-VIEW=DOCKING,POSITION-POINT=BOTTOM-RIGHT,$

TYPE=REPORT,
COLUMN=ROWTOTAL(*),
FONT='ARIAL',
SIZE=7,
COLOR='BLACK',
BACKCOLOR='NONE',
$
ENDSTYLE
END
-RUN

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


WFConsultant

WF 8105M on Win7/Tomcat
December 07, 2012, 09:57 AM
Francis Mariani
Is it possible that the syntax for LEGEND is valid for FLEX and APDF formats only?


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
December 07, 2012, 01:24 PM
Kamesh
If that's the case then how we can get the legend working in AHTML format.


WFConsultant

WF 8105M on Win7/Tomcat
December 07, 2012, 02:21 PM
Francis Mariani
It must be somewhere in here:

Active Technologies User's Guide > Creating Active Technologies Components With WebFOCUS Syntax > Creating an Active Technologies Chart


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
December 07, 2012, 02:42 PM
Kamesh
That's the place I got the syntax but no luck.

Anyway thanks for looking Francis.


WFConsultant

WF 8105M on Win7/Tomcat
December 07, 2012, 02:42 PM
Dan Satchell
quote:

Known Problems

Summary: Pie created from Active report shows no legend or text

Case: 82772545 Product: WebFOCUS Web Components
Status: Submitted to Product Division Date Reported: 10/17/2012

Environment Detail Information

Product Release Gen Level OS
Reported in: WebFOCUS Web Components 7.7.03 SOLX64
Also Occurs in: WebFOCUS Web Components WF_8.0.00 SOLX64
Also Occurs in: WebFOCUS Web Components 7.7.03M SOLX64

Problem Detail Information

Description:
When a user creates a pie graph from AHTML report output, there is no legend or
text on the page.

Workaround:
none



WebFOCUS 7.7.05
December 07, 2012, 04:36 PM
Kamesh
Thanks Dan for the information.


WFConsultant

WF 8105M on Win7/Tomcat