1. Edinson Nongrados
  2. PowerBuilder
  3. Tuesday, 1 March 2022 10:10 AM UTC

I want take out the scrollbars which are on the picture.

I'm using the Powerbuilder-Graph-Example to reproduce it on my app.

Mark Lee @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 2 March 2022 06:45 AM UTC
  2. PowerBuilder
  3. # 1

Hi Edinson,

 

When we manually reduce the window size enough, we can use the Powerbuilder-Graph-Example to reproduce the issue. But when the application window is maximized by default, there is no such issue. As the WebBrowser control size is less than the loaded web content, users cannot see the full content without using the scrollbars.

And the current WebBrowser control does not support setting the scrollbars property.

It is recommended that you increase the size of the WebBrowser control or use its Zoom method to narrow the actual page display ratio to work it around.

 

Regards,

 

Comment
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Tuesday, 1 March 2022 14:31 PM UTC
  2. PowerBuilder
  3. # 2

Hi, Edinson - 

I've only played with the ECharts sample program a little, but I believe this is related to the "width" and "height" attributes specified in the "Division" tag:

Others are welcome (please!) to chime in with more complete and/or better information, but I believe this relates to the display area in the web browser control. In the above example, I've specified the height to be 800%... 800% of what, I've not a clue, but this value affects the height of the displayed chart in the browser.

I suggest you experiment with the width/height percentages to see if you can determine the values that give you the behavior you are looking for.

Best regards, John

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.