Mailing List Archive



Back to the month index Back to the list index

Mitch Shields (mshields@intellops.com)
Fri, 12 Mar 1999 11:28:51 -0600


Message-ID: <002f01be6cad$cc97b930$0101010a@200mmx>
From: "Mitch Shields" <mshields@intellops.com>
Subject: Re: mod_graph
Date: Fri, 12 Mar 1999 11:28:51 -0600

I have had luck with a construct like:

$data1[4] = "$c5";

when assigning values to an array. Dunno if you can make use of that info
or not.

Mitch

-----Original Message-----
From: Darrell Schulte <dschulte@facstaff.wisc.edu>
To: Multiple recipients of list <msql-list@services.bunyip.com>
Date: Friday, March 12, 1999 10:23 AM
Subject: Re: mod_graph

>I've got another mod_graph question.
>
>$c5 = 40;
>$data1 = [ "15","9","3","41","$c5" ];
>htgAddBarGraphData($graph,"Choice - $c5", $data1, $c5,0,0,30);
>
>which changes to
>
>$data1 = [ "15","9","3","41","$c5" ];
>htgAddBarGraphData($graph,"Choice - 40", $data1, 40,0,0,30);
>
>It displays 40 in the legend and makes the bars black in color. It doesn't
>change the array values to:
>
>$data1 = [ "15","9","3","41","40" ];
>
>if it changes the variable into the value in htgAddBarGraphData() why
>wouldn't it change in the array? I must be doing something illegal. Any
>help?
>
>Darrell
>_____________________________________________________________________
> Darrell A. Schulte - dschulte@facstaff.wisc.edu
> University of Wisconsin-Madison - Office of News and Public Affairs
> The Why Files http://whyfiles.news.wisc.edu - The Graduate School
>102A Bascom Hall, 500 Lincoln Drive - Madison WI 53706 (608) 265-8551