Jump to content
Software FX Community

Size of plot area in pixels


User (Legacy)
 Share

Recommended Posts

I want to change only the background of the plot area of a line (x,y) chart.

I use the pre-paint event which gives me access to the height, width and

left/right/top/bottom gaps. However, subtracting these still wont give the

right area, I suspect one must also make an allowance for fonts. Does anyone

know how to exactly calculate the size of the plot area?

Thanks for your help.

Henk Borsje

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...