Login Register Wishes Forum About
Language Reference » Settings functions » setGraphArea
Help topics
Latest updates
4600d  replaceImageMapTitle
4600d  replaceImageMapValues
4600d  createFunctionSerie
4600d  setAbsicssaPosition
4600d  negateValues
  Download as PDF
  Print this page
  Share this page
  Create an account
  Feed the updates!
Google AdSense
setGraphArea - Define the bounding box of your charts

This function allows you to define the bounding box that will be used for all charting function that will be called. It is mandatory to define the coordinates of this rectangular area before calling any chart drawing component.

This function must be called before drawing any charts.

Calling this function
Where :

X1,Y1 is the top left corner of the bounding box.
X2,Y2 is the borrom right corner of the bounding box.

Sample script

 /* Define the chart area*/

This will define the charting area at position (20,40)-(680,210). Note that this command will not display anything, the transparent box in the sample picture is just here to help you figuring out where will be set the graph area.
Last updated on 10/19/2009 
by Jean-Damien 
Linked resources
  There is no linked topic yet.
Community comments
  No comments have been posted yet.
© Copyrights
Components used on this web site : Famfamfam icons has been made by Mark James, Rounded corners lite has been coded by Cameron Cooke and Tim Hutchison, SyntaxHighlighter has been written by Alex Gorbatchev. pChart and this web site have been created by Jean-Damien POGOLOTTI. This documentation contains 185 pages and 56 comments. 415 users have registered. This page has been rendered in 0,03 seconds. Wiki revision 1.37.