<?xml version="1.0"?><phpdoc><class name="Bs_Chart" extends="Bs_Object" undoc="false" access="public" package="gfx/chart"><file>C:/usr/local/lib/php/blueshoes-4.2/core/gfx/chart/Bs_Chart.class.php</file><doc><author>andrej arn &amp;lt;andrej at blueshoes dot org&amp;gt;</author><inherited src="Array"/><description>A gui and wapper for jpGraph.functionality:-missing:-dependencies: jpGraph</description><shortdescription>Chart Class.</shortdescription><version>4.0.$id$</version><copyright>blueshoes.org</copyright></doc><function name="Bs_Chart" undoc="false" access="public"><doc><return type="void"/><description/><shortdescription>constructor</shortdescription></doc></function><function name="prepareData" undoc="false" access="public"><doc><return name="" type="bool"> (TRUE on success, FALSE on failure.)</return><description/><shortdescription/></doc></function><function name="isFirstRowTitle" undoc="false" access="public"><doc><see type="var">$firstRowTitle</see><return name="" type="bool"/><description/><shortdescription>tells if the first row is a title row.</shortdescription></doc></function><function name="isFirstColLegend" undoc="false" access="public"><doc><see type="var">$firstColLegend</see><return name="" type="bool"/><description/><shortdescription>tells if the first col is for the legend.</shortdescription></doc></function><function name="getLegendCaption" undoc="false" access="public"><doc><parameter name="$row" default="null" type="string">(starting at 1 not 0)</parameter><return name="" type="mixed"> (string or array)</return><description>if the param $row is not specified or null then all legend captions will bereturned as a vector.</description><shortdescription>returns the legend caption for the row specified.</shortdescription></doc></function><function name="_getNextColor" undoc="false" access="private"><doc><return name="" type="string"/><description>this is done cause themes are not supported yet. themes will bemuch more fun.</description><shortdescription>returns a new color that has not been used before.</shortdescription></doc></function><function name="_loadForm" undoc="false" access="private"><doc><return type="void"/><description/><shortdescription>loads the bs form with all form elements.</shortdescription></doc></function><function name="setData" undoc="true" access="private"><doc><parameter name="$data" undoc="true"/><return type="void"/></doc></function><function name="draw" undoc="true" access="private"><doc><return type="void"/></doc></function><function name="treatForm" undoc="true" access="private"><doc><return type="void"/></doc></function><function name="_workOnSubmittedData" undoc="true" access="private"><doc><return type="void"/></doc></function><function name="bs_ss_edit" undoc="true" access="private"><doc><return type="void"/></doc></function><function name="bs_ss_callback" undoc="true" access="private"><doc><return type="void"/></doc></function><function name="bs_ss_init" undoc="true" access="private"><doc><return type="void"/></doc></function><variable name="$_jpGraph" access="private" type="object [unknown]"><doc><description/><shortdescription>instance of the jp graph class.</shortdescription></doc></variable><variable name="$_form" access="private" type="object [unknown]"><doc><description/><shortdescription>instance of bs_form used for the wizard.</shortdescription></doc></variable><variable name="$chartName" access="private" type="unknown"><doc><description>dbcsvarray</description><shortdescription>source</shortdescription></doc></variable><variable name="$chartType" access="public" type="string">&amp;apos;bar&amp;apos;<doc><description>- bar- line- pie</description><shortdescription>the type of the chart. default is &amp;apos;bar&amp;apos;. one of:</shortdescription></doc></variable><variable name="$chartSubtype" access="public" type="string"><doc><description>bar:- grouped (default)- stapled</description><shortdescription>for some chart types there are different variants.</shortdescription></doc></variable><variable name="$dataRowIn" access="public" type="string">&amp;apos;row&amp;apos;<doc><description>if this is set to &amp;apos;col&amp;apos; that means we have to flip the data,that&amp;apos;s it.i&amp;apos;d normally define this as  bool $flip but because of thegui i don&amp;apos;t.</description><shortdescription>if the data is aligned in rows (default) or in cols.</shortdescription></doc></variable><variable name="$firstRowTitle" access="public" type="bool"><doc><see type="function">isFirstRowTitle()</see><description>note that &amp;apos;row&amp;apos; refers to the effectual data row and may in fact bea column, check $dataRowIn.if this var is not set by the user then we try to find it out ourself.if the data is numeric then it&amp;apos;s not a title row, otherwise it is.</description><shortdescription>if the first row is a title row. means it&amp;apos;s not numbers to work on.</shortdescription></doc></variable><variable name="$firstColLegend" access="private" type="unknown"><doc><see type="var">$firstRowTitle</see><description/><shortdescription/></doc></variable><variable name="$legendShow" access="public" type="bool"><doc><see type="var">$legendLocationX</see><see type="var">$legendLocationY</see><see type="var">$legendAlign</see><description/><shortdescription>tells if the legend is desired.</shortdescription></doc></variable><variable name="$legendLocationX" access="public" type="string"><doc><see type="var">$legendShow</see><see type="var">$legendLocationY</see><see type="var">$legendAlign</see><description>possible values are: &amp;apos;left&amp;apos;, &amp;apos;center&amp;apos;, &amp;apos;right&amp;apos;.</description><shortdescription>tells where the legend should be located on the x-row.</shortdescription></doc></variable><variable name="$legendLocationY" access="public" type="string"><doc><see type="var">$legendShow</see><see type="var">$legendLocationX</see><see type="var">$legendAlign</see><description>possible values are: &amp;apos;top&amp;apos;, &amp;apos;center&amp;apos;.note that &amp;apos;bottom&amp;apos; is not [yet] supported by jpGraph. dunno why.</description><shortdescription>tells where the legend should be located on the y-row.</shortdescription></doc></variable><variable name="$legendAlign" access="public" type="string"><doc><see type="var">$legendShow</see><see type="var">$legendLocationX</see><see type="var">$legendLocationY</see><description>examples:this is horizontalthisisvertical</description><shortdescription>tells if the legend should be aligned &amp;apos;hor&amp;apos; or &amp;apos;vert&amp;apos;.</shortdescription></doc></variable><variable name="$gridMainX" access="public" type="string">FALSE<doc><see type="var">$gridHelperX</see><see type="var">$gridMainY</see><see type="var">$gridHelperY</see><description>default is FALSE.</description><shortdescription>tells if major horizontal grid lines should be used.</shortdescription></doc></variable><variable name="$gridHelperX" access="public" type="string">FALSE<doc><see type="var">$gridMainX</see><see type="var">$gridMainY</see><see type="var">$gridHelperY</see><description>default is FALSE.</description><shortdescription>tells if minor (detailed) horizontal grid lines should be used.</shortdescription></doc></variable><variable name="$gridMainY" access="public" type="string">TRUE<doc><see type="var">$gridMainX</see><see type="var">$gridHelperX</see><see type="var">$gridHelperY</see><description>default is TRUE.</description><shortdescription>tells if major vertical grid lines should be used.</shortdescription></doc></variable><variable name="$gridHelperY" access="public" type="string">FALSE<doc><see type="var">$gridMainX</see><see type="var">$gridHelperX</see><see type="var">$gridMainY</see><description>default is FALSE.</description><shortdescription>tells if minor (detailed) vertical grid lines should be used.</shortdescription></doc></variable><variable name="$_data" access="private" type="array"><doc><see type="function">setData()</see><see type="function">prepareData()</see><description/><shortdescription>calculated prepared ready-to-use data for the chart.</shortdescription></doc></variable><variable name="$_titleData" access="private" type="array"><doc><see type="function">prepareData()</see><description/><shortdescription>gets set in prepareData().</shortdescription></doc></variable><variable name="$chartWidth" access="private" type="integer">300<doc></doc></variable><variable name="$chartHeight" access="private" type="integer">200<doc></doc></variable><variable name="$chartTitle" access="private" type="unknown"><doc></doc></variable><variable name="$chartCaptionX" access="private" type="unknown"><doc></doc></variable><variable name="$chartCaptionY" access="private" type="unknown"><doc></doc></variable><variable name="$dataCsv" access="private" type="unknown"><doc></doc></variable><variable name="$_legendData" access="private" type="unknown"><doc></doc></variable><constant name="BS_CHART_VERSION" undoc="true" access="private" case="default: case sensitive">4.0.$x$<doc></doc></constant><inherited src="Bs_Object" type="functions"><element>isex</element><element>isexception</element><element>tostring</element><element>tohtml</element><element>persist</element><element>unpersist</element><element>bs_object</element><element>bbsetoutput</element><element>bbawake</element><element>bbisawake</element><element>bbxmsg</element><element>bbxfunctionstart</element><element>bbxfunctionend</element><element>bbxecho</element><element>bbxvar</element><element>bbxvardump</element><element>bbforcetrace</element><element>bbbufferstart</element><element>bbbufferget</element><element>bbbufferendflush</element><element>bbbufferendclean</element></inherited><inherited src="Bs_Object" type="consts"><element>bs_object_version</element></inherited><path><parent>Bs_Object</parent></path><baseclass>Bs_Object</baseclass></class></phpdoc>