NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: BradT 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?
-
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
-
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.