<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Creating a custom label function on a Flex LineChart control&#8217;s linear axis</title>
	<link>http://blog.flexexamples.com/2007/11/15/creating-a-custom-label-function-on-a-flex-linechart-controls-linear-axis/</link>
	<description>A bunch of examples for Adobe Flex and ActionScript</description>
	<pubDate>Tue, 06 Jan 2009 02:50:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: ajay kumar yadav</title>
		<link>http://blog.flexexamples.com/2007/11/15/creating-a-custom-label-function-on-a-flex-linechart-controls-linear-axis/#comment-16782</link>
		<author>ajay kumar yadav</author>
		<pubDate>Tue, 18 Nov 2008 22:22:27 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/11/15/creating-a-custom-label-function-on-a-flex-linechart-controls-linear-axis/#comment-16782</guid>
		<description>HI, this is very nice and useful in charting but i have need of make crass at the xAxix and yAxis intersecting point if any one have any things about  it please tell me on my mail.
                     thanks!</description>
		<content:encoded><![CDATA[<p>HI, this is very nice and useful in charting but i have need of make crass at the xAxix and yAxis intersecting point if any one have any things about  it please tell me on my mail.<br />
                     thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/11/15/creating-a-custom-label-function-on-a-flex-linechart-controls-linear-axis/#comment-12548</link>
		<author>peterd</author>
		<pubDate>Thu, 08 May 2008 00:08:03 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/11/15/creating-a-custom-label-function-on-a-flex-linechart-controls-linear-axis/#comment-12548</guid>
		<description>&lt;a href="http://blog.flexexamples.com/2007/11/15/creating-a-custom-label-function-on-a-flex-linechart-controls-linear-axis/#comment-12546" rel="nofollow"&gt;Suhas&lt;/a&gt;,

Which &lt;code&gt;labelFunction&lt;/code&gt; property were you looking at?

According to the &lt;a href="http://livedocs.adobe.com/flex/3/langref/mx/charts/LinearAxis.html" rel="nofollow"&gt;&lt;u&gt;Flex 3 LinearAxis documentation&lt;/u&gt;&lt;/a&gt;, the LinearAxis class inherits the &lt;code&gt;labelFunction&lt;/code&gt; property from the NumericAxis class.

The NumericAxis class says the &lt;code&gt;labelFunction&lt;/code&gt; property uses the following signature, which only takes three parameters:
&lt;pre class="code"&gt;
function function_name(labelValue:Object, previousValue:Object, axis:IAxis):String { ... }
&lt;/pre&gt;

Peter</description>
		<content:encoded><![CDATA[<p><a href="http://blog.flexexamples.com/2007/11/15/creating-a-custom-label-function-on-a-flex-linechart-controls-linear-axis/#comment-12546" rel="nofollow">Suhas</a>,</p>
<p>Which <code>labelFunction</code> property were you looking at?</p>
<p>According to the <a href="http://livedocs.adobe.com/flex/3/langref/mx/charts/LinearAxis.html" rel="nofollow"><u>Flex 3 LinearAxis documentation</u></a>, the LinearAxis class inherits the <code>labelFunction</code> property from the NumericAxis class.</p>
<p>The NumericAxis class says the <code>labelFunction</code> property uses the following signature, which only takes three parameters:</p>
<pre class="code">
function function_name(labelValue:Object, previousValue:Object, axis:IAxis):String { ... }
</pre>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suhas</title>
		<link>http://blog.flexexamples.com/2007/11/15/creating-a-custom-label-function-on-a-flex-linechart-controls-linear-axis/#comment-12546</link>
		<author>Suhas</author>
		<pubDate>Wed, 07 May 2008 20:48:41 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/11/15/creating-a-custom-label-function-on-a-flex-linechart-controls-linear-axis/#comment-12546</guid>
		<description>Hi,

I have been trying to do exactly the same thing. But i cannot get it to work for me. I dont understand how to determine the parameters for the labelFunction that actually has calls to format the data.

The documentation for labelFunction shows it accepts 4 parameters, while your function linearAxis_labelFunc accepts only 3. Also, what is passed to the arguments of a function like linearAxis_labelFunc, beacuse we never explicitly pass the values to this function. I am totally lost in using this function and understand how it works.

Thanks,
Suhas.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have been trying to do exactly the same thing. But i cannot get it to work for me. I dont understand how to determine the parameters for the labelFunction that actually has calls to format the data.</p>
<p>The documentation for labelFunction shows it accepts 4 parameters, while your function linearAxis_labelFunc accepts only 3. Also, what is passed to the arguments of a function like linearAxis_labelFunc, beacuse we never explicitly pass the values to this function. I am totally lost in using this function and understand how it works.</p>
<p>Thanks,<br />
Suhas.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
