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] Making the bar width uniform and changing the gap between bars.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Making the bar width uniform and changing the gap between bars.
 Login/Join
 
Member
posted
Hello.

I have some bullet charts that I need to make a few more changes on.

First, I wanted to make the width of the bars on every bullet charts uniform. I found out that I can do so using "groupFit" and setting the "rule":"exactSize".

However, when I put this line of code in, the gap between the bars went away and they all clumped up right next to each other. Then I found out about "barGroupGapWidth".

Once I put in the "barGroupGapWidth" setting in, I could control the gap between the bars, but the width of the bars were getting reduced instead of them just moving away from each other.

Is there a way for me to change the width of the bars and change the gaps without affecting one another?

Here is the code below the *GRAPH_JS line:
*GRAPH_JS
"border": {"width":0},
"xaxis": {
"title": {"groupFit": {"rule": "exactSize", "value": 20},
"font": "9pt SANS-SERIF"
}
},
"blaProperties":{
"barGroupGapWidth": 0.5,
"orientation": "horizontal",
"lineConnectoin": "curved",
"comboCharts": {"barSeriesLayout": "stacked",
"lineSeriesLayout": "absolute",
"areaSerieslayout": "undefined"}},

"series": [
{"series": 1, "color": "rgb(110,110,110)", "riserShape": "line", "tooltip": "{{series_label}}
{{value|formatNumber('$#,###')}}", "border":
{"width": 0}, "marker": {"shape": "rectangleThin", "size": 20, "position": "top", "rotation": 90, "visible": true}},
{"series": 0, "color": "rgb(118,197,228)", "riserShape": "bar", "tooltip": "{{series_label}}
{{value|formatNumber('$#,###')}}"}],
"dataLabels": {"visible": false, "numberFormat": {"mode": "currency", "decimalPlaces": 1, "grouping": "B"}, "useNegativeColor": false, "font": "9pt Sans-Serif"}

*END
ENDSTYLE
END

This message has been edited. Last edited by: FP Mod Chuck,


8.2.05, Microsoft Windows, Internet Explorer, HTML/PDF/Excel/PowerPoint
 
Posts: 3 | Registered: August 06, 2019Report This Post
Expert
posted Hide Post
I, personally, like the Bullet Charts when used properly, as I'm such you're doing. So, please let me see what's going on here.

Would you please duplicate your issue using one of IB's sample sources, CAR or GGSALES. Paste your code within the </> brackets?




   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, 2005Report 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] Making the bar width uniform and changing the gap between bars.

Copyright © 1996-2020 Information Builders