Jump to content
Software FX Community

Issue with setLeftGap and setBottomGap on a line chart.


appy_base

Recommended Posts

It seems setLeftGap and setBottomGap does not work a line chart. setTopGap and setRightGap works.

This is how I set the gaps:

  chart1.setLeftGap( 1 );   chart1.setRightGap( 1 );   chart1.setTopGap( 1 );   chart1.setBottomGap( 1 );

But there is no effect on the area/gap between the graph image and X or Y axis. Right and Top gap changes according to the gap values. The reason I need to set the gap to a very low number like 1 is so as to accommodate a graph in a small area on the page.

 Any one running  into this scenario? Any suggestions?

 Thanks,

Appy 

 

 

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.

×
×
  • Create New...