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]Bidirectional bar/line chart - Hover text and value for line chart

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]Bidirectional bar/line chart - Hover text and value for line chart
 Login/Join
 
Gold member
posted
Hi,
I am not getting the correct hovering text and value for line chart in a bidirectional bar/line combined chart (WF 7.7.05 Version).

Below is the sample code:
  
DEFINE FILE CAR
N_DEALER/D12.2=DEALER_COST * - 1;
END

GRAPH FILE CAR
SUM
RETAIL_COST AS 'Retail Cost'
N_DEALER AS 'Dealer Cost Negative'
SALES AS 'Sales Amount'
BY COUNTRY AS ''

ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET EMBEDHEADING ON
ON GRAPH SET UNITS PIXELS
ON GRAPH SET HAXIS 770.0
ON GRAPH SET VAXIS 400.0
ON GRAPH SET GRMERGE ON
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 2
ON GRAPH SET LOOKGRAPH VBRSTK1
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *

*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
setUseSeriesShapes(true);
setMarkerSizeDefault(50);

setTextFormatPreset(getY1Label(),6);
setReportParsingErrors(false);
setSelectionEnableMove(false);
setMarkerShape(getAllSeries(),2);
setFillColor(getFrame(),new Color(255,255,255));
setDisplay(getO1MajorGrid(),false);
setFrameAutoShade(false);
setBorderColor(getFrameSide(),new Color(255,255,255));
setBorderColor(getFrameBottom(),new Color(255,255,255));
setFillColor(getFrameBottom(),new Color(32,0,32));

-* Trend line and Transparent Border to right
setCurveFitType(3,8);
setTransparentBorderColor(getFrame(),true);
setSeriesType(2,2);
setLineWidth(getSeries(2),1);
setFillColor(getSeries(0),new Color(0,153,0));
setFillColor(getSeries(1),new Color(50,101,176));
setFillColor(getSeries(2),new Color(0,0,0));

setAltFmtFrameNumColors(getY1AltFmtFrame(),5);
setGridStyle(getY1MajorGrid(),3);
setBorderColor(getY1MajorGrid(),new Color(192,192,192));
setBorderColor(getY1MajorTick(),new Color(192,192,192));
setTransparentBorderColor(getChartBackground(),true);
setTextFormatPattern(getDataText(),"###,###,###.##");
setUserToolTip("[SL] for [GL]  $[YV]");
setFillColor(getY1MajorGridColorBand1(),new Color(255,255,255));
setBorderColor(getY1MajorGridColorBand1(),new Color(255,255,255));
setDisplay(getY1MajorGridColorBand2(),true);
setFillColor(getY1MajorGridColorBand2(),new Color(255,255,255));
setBorderColor(getY1MajorGridColorBand2(),new Color(255,255,255));
setBorderColor(getY1MajorTick(),new Color(192,192,192));
-* Font for the Bottom labels
setFontStyle(getO1Label(),0);
setFontSizeAbsolute(getO1Label(), true);
setFontName(getO1Label(),"ARIAL");
setFontSizeInPoints(getO1Label(),9);
setPlaceResize(getO1Label(), 0);
setFillColor(getO1Label(),new Color(20,20,20));
-* Font for the Left Side labels
setFontStyle(getY1Label(),0);
setFontSizeAbsolute(getY1Label(), true);
setFontName(getY1Label(),"ARIAL");
setFontSizeInPoints(getY1Label(),9);
setPlaceResize(getY1Label(), 0);
setFillColor(getY1Label(),new Color(20,20,20));
setTextFormatPreset(getY1Label(),6);
-* Font for the Right Side labels
setFontStyle(getY2Label(),0);
setFontSizeAbsolute(getY2Label(), true);
setFontName(getY1Label(),"ARIAL");
setFontSizeInPoints(getY2Label(),9);
setPlaceResize(getY2Label(), 0);
setFillColor(getY2Label(),new Color(20,20,20));
setTextFormatPreset(getY2Label(),6);

setUseSeriesShapes(false);
setMarkerShape(getAllSeries(),0);
setLineBasicStrokeType(getSeries(1),14);
setDisplay(getLegendArea(),false);
setAxisAssignment( $0, 0);
setAxisAssignment( $1, 1);
setTextFormatPreset(getY1Label(),6);
setTextFormatPreset(getY2Label(),1);
setForceSeriesAbsolute(getSeries(0),true);
setForceSeriesAbsolute(getSeries(1),true);
setForceSeriesAbsolute(getSeries(2),true);
setDisplay(getY2MajorGrid(),false);
setTextFormatPreset(getY2Label(),16);

*END
TYPE=REPORT, TITLETEXT='WebFOCUS Report', LEFTMARGIN=36.81, RIGHTMARGIN=36.81, $$
TYPE=HEADING, JUSTIFY=LEFT, FONT='ARIAL', SIZE=12, COLOR=RGB(66 70 73), STYLE=BOLD, $

*GRAPH_JS

 blaProperties: {lineConnection:'linear',
comboCharts: {
 barSeriesLayout: 'stacked',
 lineSeriesLayout:'absolute'}
},

 "introAnimation": {
  "enabled": true,
  "duration": 1400
 },

 "xaxisOrdinal": {
  "bodyLineStyle": {
      "width": 1,
      "color": "grey"
},

  "majorGrid": {
   "visible": false,
   "ticks": {"length": 5, "style": 'outer',  "lineStyle": {width: 1, color:'grey'}
}
}
}
*END

ENDSTYLE
END

Below is the result for the code


Hovering text and values looks correct for bar chart. But hovering text and values remains same for all the country in the line chart which is incorrect.

How do i get the right values and text for line chart also.

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


WebFocus Version 7.7.05
Windows, HTML/PDF/EXL2K/AHTML
 
Posts: 63 | Registered: January 12, 2011Report This Post
Master
posted Hide Post
Hi SriAravind,

We inquired with the Product Manager regarding this issue. Since you are running version 7.7.05, please open up a case by contacting Technical Support.

This issue has also been addressed in newer releases of the software. I'm not sure if you're in a situation to upgrade, but upgrading would definitely resolve your issue as well as offer many new features.

Sincerely,
Kathleen Butler
Information Builders
 
Posts: 391 | Location: New York | Registered: September 20, 2006Report 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]Bidirectional bar/line chart - Hover text and value for line chart

Copyright © 1996-2020 Information Builders