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.
How do we overlap the bars, similar to what is shown in the below image which was done in Excel? Ignore the circled percentages for now. I'm sure We can do that in WebFOCUS, right? Of course we can! With a little help from our friends .
Mock-up
Final Result
This message has been edited. Last edited by: Doug,
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, 2005
That should work, Now I need to add in the Percentages, to their specs, that I said to ignore for now. I just used the standard side-by-side bars for the amounts (series 0 and 1) with a line chart, with hidden lines, for the percentages as Axis 2 (series 2). The only thing needed is to set the background color of the series 2 to a light color, silver?, so the values don't get lost in the bars, similar to the above sample.
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005
quote:I do suppose that you use the Data Text Labels for the % ? The % comes from the format of the field: COMPUTE YOY_PCT/I3%S=
What I wanted to say is that you hide the line but you display the data text labels to have the % show. Isn't it ?
As far as I can see in the HTML5 Graph doc (the one that I refer you previously) the backgroundColor option is not available as a property for the data text labels.
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013
Doug - I still don't have my blackpond.com site set up for image so I'll just have to give a reference for changing the background color of the chart - I think this is what you need:
Formatting the Chart Frame Page 229 and 230 (notice the 'fill' color):
Example: Formatting the Chart Frame
The following request generates a chart frame whose fill color is antique white and whose border is a blue dashed line. It also generates a border that is a red dashed line with two different dash sizes that alternate around the border:
GRAPH FILE WF_RETAIL_LITE SUM COGS_US GROSS_PROFIT_US REVENUE_US DISCOUNT_US ACROSS PRODUCT_CATEGORY ON GRAPH PCHOLD FORMAT JSCHART ON GRAPH SET LOOKGRAPH VBAR ON GRAPH SET STYLE * INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$ *GRAPH_JS title: {visible:true, text:"Blue Frame and Red Border", color:'green', font:'bold 14pt Sans-Serif'}, chartFrame: { fill: { color: 'antiquewhite' }, border: { width: 2, color: 'blue', dash: '2 2' } },
While that last image looks really good, imho, there is an issue in the real world as seen below:
Note that the yellow bars are mostly hidden behind the orange bars when the orange value exceeds the yellow values. The gray bar is a sum of the orange and yellow bars, so they will never exceed that gray value (in my case.
So, let's say that the 'internal bars' are 5% narrower than the bars behind them, I need that to be 20% instead of 5%... and what needs to be done to make that happen.
PS: This needs to be maintainable using InfoAssist. But, I have already added code in the "*GRAPH_JS_FINAL" section and it sill opens in IA. So, I'm open to more of that type of reply / code.
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005