Focal Point
[SOLVED] Removing Scroll Bars for Report/Chart on Portal

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

August 23, 2017, 12:30 PM
AMC
[SOLVED] Removing Scroll Bars for Report/Chart on Portal
Does anyone have any ideas on removing the scroll bars for reports or charts on a Portal?

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


WF 8.1.05
Windows
SQL Server 2014
HTML, PDF, EXCEL
August 23, 2017, 01:01 PM
FP Mod Chuck
Hi AMC

For charts if you use HTML5 for the output and if you are putting the heading or footing use the embed header and footer in the chart option.

Not sure how to suppress scroll bars on reports.

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


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
August 23, 2017, 01:35 PM
MartinY
quote:
Not sure how to suppress scroll bars on reports.


Normally you need to increase report area and/or the I-frame area that contain the report.


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
August 23, 2017, 03:48 PM
AMC
Hi Chuck W - What if you don't have a heading or footing on the chart? I still selected the option and it's the same results on the portal...the scroll bar exists.

MartinY - I have these in page container or accordion container within the portal designer.


WF 8.1.05
Windows
SQL Server 2014
HTML, PDF, EXCEL
August 23, 2017, 04:01 PM
MartinY
quote:
MartinY - I have these in page container or accordion container within the portal designer.


Should be the same issue : not enough spaces to display the whole report.
But you have to consider that if the user resize its screen, change the resolution or zoom, scrolling bar may appears anyway...


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
August 23, 2017, 04:22 PM
AMC
MartinY - So you probably can't lock it down then?


WF 8.1.05
Windows
SQL Server 2014
HTML, PDF, EXCEL
August 24, 2017, 09:20 AM
Sydney
Hello AMC,

Without seeing what you have, you could try to set the page to 'Dynamic Report Styling' under the 'Content' tab of the portal page within the Portal Designer.

Syd.


WebFOCUS 8.2
Windows, All Outputs
August 24, 2017, 10:43 AM
FP Mod Chuck
AMC

With HTML5 charts I have not seen a scrolling issue. You probably should open a case with techsupport as it is not behaving as it should.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
August 24, 2017, 11:48 AM
AMC
Ghuck W - The issue is that I want to remove the scroll bars from the individual chart or report itself on the portal when creating within the portal designer. Are you saying that there really should not even be scroll bars on the individual charts or reports on the portal when laying them out on the page with the designer?


WF 8.1.05
Windows
SQL Server 2014
HTML, PDF, EXCEL
August 24, 2017, 02:43 PM
FP Mod Chuck
For charts yes, they should resize themselves to fit the container (panel, tab or accordian) you put them in. Reports need to have a container big enough to prevent the scroll bars.

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


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
August 24, 2017, 04:27 PM
AMC
Chuck W - Ok, so my pie charts are consistent with what you are saying here....resizing themselves to fit the container. Also, I have a couple of bar charts that contain multiple bar charts vertically that is...so that's why they are scrolling I believe.

My reports are as you say...not in a big enough space to prevent the scroll bars it appears.


WF 8.1.05
Windows
SQL Server 2014
HTML, PDF, EXCEL
August 25, 2017, 12:24 AM
WF1326
AMC,

For graph, having ON GRAPH SET HTMLENCODE ON, will take care of scrolling issues.

In App Stdio if you have a html with an iframe, then you can remove the scrolling by going to iframe properties and setting 'sizing and scrolling' to 'off'.


WebFOCUS
7703/7705/8105m/8201m/8202m

August 25, 2017, 05:12 PM
AMC
WF1326 - I do have that set.

For some reason now, I can not remove a document that I created and put on the portal. I can highlight it, but it will not let me delete it from the portal now for some reason.


WF 8.1.05
Windows
SQL Server 2014
HTML, PDF, EXCEL
August 28, 2017, 01:03 PM
FP Mod Chuck
AMC

There is a drop down arrow in the top right corner of the portal panel. The option to delete that panel is in the drop down. If you don't see it you may have the Hide Title Bar property set on the panel.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
August 28, 2017, 01:37 PM
AMC
Thanks Chuck W. I did figure that out. Another issue....do you know how to remove the border for the panel that is around the chart?


WF 8.1.05
Windows
SQL Server 2014
HTML, PDF, EXCEL
August 28, 2017, 02:30 PM
FP Mod Chuck
AMC

When editing the portal click on the panel and then the style menu option. Under there you can control the width of the border.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
August 28, 2017, 02:42 PM
AMC
Chuck W - So you're talking about under the Properties section at the bottom, correct? What I see is a Width and Height for the pixels and a Top and Left for the pixels for the whold panel. I don't see where it indicates for the border of the panel.


WF 8.1.05
Windows
SQL Server 2014
HTML, PDF, EXCEL
August 28, 2017, 03:27 PM
FP Mod Chuck
AMC

Once you select the panel or whatever object to work with at the top there is a style menu option. Once that menu option is select you will see options in the top ribbon bar for the border.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
August 28, 2017, 03:54 PM
AMC
Chuck W - Ok, I see that now at the top. However, it will not let me change the width of the border...it's locked at 3 px. Is there another setting to unlock this or something?


WF 8.1.05
Windows
SQL Server 2014
HTML, PDF, EXCEL
August 28, 2017, 04:01 PM
jcannavo
Be sure you are clicking on the object you want borders to be removed from first.




JC
WebFOCUS Dev Studio / App Studio
8.2.01
Windows 7
August 28, 2017, 04:48 PM
AMC
jcannavo - Thanks for your reply. So my object is set to None for the border style. However, there is still like a light dotted line coming out around the chart.


WF 8.1.05
Windows
SQL Server 2014
HTML, PDF, EXCEL
August 28, 2017, 05:39 PM
jcannavo
Interesting...perhaps is there a border set on the chart itself that you may need to try and remove? Any chance you can provide a screen capture? In order to do so on the forum you'll need to upload your image to a site like postimages.org and use the URL given there to post here.


JC
WebFOCUS Dev Studio / App Studio
8.2.01
Windows 7
August 28, 2017, 06:00 PM
AMC
The firewall security policy won't allow me access to that particular site. There is not a border set around the chart itself.


WF 8.1.05
Windows
SQL Server 2014
HTML, PDF, EXCEL
August 28, 2017, 08:11 PM
FP Mod Chuck
Hi AMC

I can't reproduce what you are seeing. When the border is set to 0 I don't see any dotted line. If that is really bothersome then please open a case with techsupport.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
August 29, 2017, 07:27 AM
Sydney
Hello AMC,

In regards to the border around the chart, try clicking the 'reset border' (the icon looks like a pen) where you see the 'width' and 'style' and then save the portal.

Thanks,
Syd.


WebFOCUS 8.2
Windows, All Outputs
August 29, 2017, 10:40 AM
AMC
Hi Chuck W and Sydney - I went back to the border style option this morning and selected another border style other than None....and then re-selected None for the border style for that object , it then removed the line around it for some odd reason. The tool can be temperamental... Smiler .

This particular issue is resolved now. Thanks for your help.


WF 8.1.05
Windows
SQL Server 2014
HTML, PDF, EXCEL
August 30, 2017, 07:55 AM
Sydney
Hello AMC,

Glad you got the issue resolved. Yes, the Portal Designer is clunky to say the least. I noticed that when using any style, whether border, color, font, etc, I have to either clear it, or as you did change it to something else, and then change it back for it to take affect.

Thanks,
Syd.


WebFOCUS 8.2
Windows, All Outputs
August 30, 2017, 09:41 AM
AMC
Sydney - Thanks for that information about the styling overall within the Portal Designer. I will definitely make a mental note of that.


WF 8.1.05
Windows
SQL Server 2014
HTML, PDF, EXCEL
August 31, 2017, 08:48 AM
Sydney
You're Welcome AMC.


WebFOCUS 8.2
Windows, All Outputs
August 31, 2017, 09:14 AM
Mike in DeLand
I'm a day late here, but when I create graphs, it always puts in a line "ON GRAPH SET GRWIDTH 1". If I comment that line out, my graph fits in the frame better.

And when you make a change to your portal, such as the border, and then save it, be sure to right-click on your portal and do "remove customizations". That should help.


Webfocus 8
Windows, Linux