NetTalk Central

Author Topic: Restricting Size of Insight Graph displayed in NetWebForm  (Read 2956 times)

BradT

  • Newbie
  • *
  • Posts: 37
    • View Profile
    • Email
Restricting Size of Insight Graph displayed in NetWebForm
« on: April 15, 2014, 07:11:53 AM »
I have a bar graph in a standard window and then I have it displaying in a NetWebForm. 

My issue is as follows:

1. Display data with several point names, which makes the graph wide.
2. Then clear the data and reload it with a few point names.
3. The graph stays huge instead of resizing.

I have WorkspaceWidth set at 800 pix and WorkspaceHeight set at 300 pix.  The button that clears and replaces the data resets the graph control.

Any ideas? 

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Restricting Size of Insight Graph displayed in NetWebForm
« Reply #1 on: April 15, 2014, 11:28:24 PM »
I'm not 100% sure what you are asking Brad. Are you wanting the graph image itself to be a different size? Or it is a different size, and you want it to be the same size?

maybe a screenshot or two will help to explain it?

cheers
Bruce

BradT

  • Newbie
  • *
  • Posts: 37
    • View Profile
    • Email
Re: Restricting Size of Insight Graph displayed in NetWebForm
« Reply #2 on: April 16, 2014, 12:17:54 PM »
Bruce,

The graph was resizing when I didn't want it to.

For example, With a small set of point names it was fine, but when you loaded a large set of names, cleared the data, then loaded a small set, the graph was huge.

I figured out how to stop it.  The FrameType in the standard window where the graph is located was set to Resizeable.  Changing that to Double fixed the issue.  I just wasn't aware of the standard window settings having any effect on the graph.

Now the graph stays the same overall size no matter how many point names.

Thanks Bruce.