A little more sleuthing revealed the answer. ColumnSet has a method
called formatDataTip (an override) where the percentage is calculated
as follows:

                        percent = Number(item.yValue) - Number(item.minValue);
                        percent = Math.round(percent * 10) / 10;

Since I have access to the same minValue in my dataTipFunction, I can
do the same.

On Fri, Jun 27, 2008 at 4:07 PM, Richard Rodseth <[EMAIL PROTECTED]> wrote:
> This one's got me stumped. I have a ColumnSet of type="100%", and I
> need to provide a custom data tip function. The default provides a
> percentage value and a total. I just need the percentage in my custom
> version.
>
> I haven't been able to find how to retrieve the percentage value
> starting from the HitData. Can anyone help, or point me at the source
> code for the standard data tip function?
>
> Thanks.
>

Reply via email to