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.
If the value for A_GREENBAR or A_BLUEBAR or... is/are equal to 0 then I want to hide this image in the MYBAR using visible=false. I am trying to use the example in Tips and Techniques Graphtype... but I can not hide the colored bars when they are equal to 0.
Any Ideas??
ERINPThis message has been edited. Last edited by: ERINP,
WebFOCUS 7.6.9
Reporting client Windows 2003 Service pack 2 using IIS and TomCat 5.5 Reporting Server OS/400 V5R4M0 Outputs: HTML, Excel, PDF, CSV, and Flat Files
Now, what's the purpose of adding an image to the page if it's not going to be visible?
If you need to go through the trouble of determining visibility based on A_COLORBAR, you could instead determine if the whole IMG tag is needed based on the same.
As a bonus, the web page will render slightly faster!
njsden and Francis, thank you for the insite and the help. Using the Inline Styling did the trick now I just need to make the "style="visibility:hidden;" dynamic based on values within my report.
Thanks again, ERINP
WebFOCUS 7.6.9
Reporting client Windows 2003 Service pack 2 using IIS and TomCat 5.5 Reporting Server OS/400 V5R4M0 Outputs: HTML, Excel, PDF, CSV, and Flat Files
Now, what's the purpose of adding an image to the page if it's not going to be visible?
Based on a sample in the tips and techniques I am using the colorbars to create a horizontal graph for eachrow of data within a report. I have 5 colors, some or all may be blank, based on there percentages I set the width of the image as a representation of the underlying data. which allows for a visualization of the data. Once I get it hooked up I will create a CAR example to better explain.
WebFOCUS 7.6.9
Reporting client Windows 2003 Service pack 2 using IIS and TomCat 5.5 Reporting Server OS/400 V5R4M0 Outputs: HTML, Excel, PDF, CSV, and Flat Files
Oh, I did not see your response before I posted the message above. Anyway, it does not really matter. Hopefully the visibility style will do what you need.
njsden, Thats the type of logic I was looking for... I was wondering how I was going to wiggle thru the combinations and permutations for 5 colored bars... Thank You for shedding light on my clouded thinking.
ERINP
WebFOCUS 7.6.9
Reporting client Windows 2003 Service pack 2 using IIS and TomCat 5.5 Reporting Server OS/400 V5R4M0 Outputs: HTML, Excel, PDF, CSV, and Flat Files
You're welcome! You had most of it there anyway so your thinking was much clearer than you think
If this is now working for you, would you mind editing your post and prefixing its title with [SOLVED]?This message has been edited. Last edited by: njsden,
njsden, I added the [solved] to the header of my original post. I am going to re-create what I was/am attempting to do with the CAR file cuz its sort of neat.
Thanks Again, ERINP
WebFOCUS 7.6.9
Reporting client Windows 2003 Service pack 2 using IIS and TomCat 5.5 Reporting Server OS/400 V5R4M0 Outputs: HTML, Excel, PDF, CSV, and Flat Files
Great! Please do post your sample code once it's ready. As you said, it is a neat technique which either of us here may have a need for in future projects.