Re: [PHP] Making graphics

2002-04-11 Thread Justin French

H, I didn;t know you wanted to animate anything... but this could be
achieved through CSS/DHMTL.  And if you're going that way, the images
themselves could be replaced with dynamically sized DIVs.

DHTML isn't my thing though... check out some CSS newsgroups, and of course
be prepared for lack of browser support of DHTML :)


Justin French

Creative Director
http://Indent.com.au




on 12/04/02 12:54 PM, Ian ([EMAIL PROTECTED]) wrote:

> how do you then animate that?
> - Original Message -
> From: "Justin French" <[EMAIL PROTECTED]>
> To: "Ian" <[EMAIL PROTECTED]>
> Sent: Thursday, April 11, 2002 7:29 PM
> Subject: Re: [PHP] Making graphics
> 
> 
>> If you take a single coloured pixle (1x1), you can stretch it to any size
>> via 's height and width attributes.  No GC, no PHP, no JavaScript!!
>> 
>> > $bar1height = 80;
>> $bar2height = 25;
>> $bar3height = 49;
>> ?>
>> 
>> 
>> 
>> 
>> 
>> This would produce a three bar graph, and with the use of align and
> perhaps
>> tables, they could be arranged into a reasonable graph representation
> using
>> tiny images, and virtualy no server-side programming.
>> 
>> The height vars could be established via PHP calculations, values for a
>> table, etc etc.
>> 
>> 
>> Justin French
>> 
>> Creative Director
>> http://Indent.com.au
>> 
>> 
>> 
>> 
>> 
>> on 12/04/02 3:56 AM, Ian ([EMAIL PROTECTED]) wrote:
>> 
>>> modifying the width or height of an image in javascript works well
> alsoi
>>> cant imagine why youd want to do this serverside
>>> 
>>> 
>>> "Christoph Starkmann" <[EMAIL PROTECTED]> wrote in message
>>> B120D7EC8868D411A63D0050040EDA77111BEE@XCHANGE">news:B120D7EC8868D411A63D0050040EDA77111BEE@XCHANGE...
>>>> Hi Ron!
>>>> 
>>>>> Here is what I want to do.
>>>>> 
>>>>> I am taking a poll and I would like to display the results in
>>>>> a bar graph
>>>>> format.  What is the best way to do this.hopefully you
>>>>> will not say GD
>>>>> library!
>>>> 
>>>> If you don't like GD, why not try Flash instead? ;))
>>>> 
>>> 
>>> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Making graphics

2002-04-11 Thread Ian

modifying the width or height of an image in javascript works well alsoi
cant imagine why youd want to do this serverside


"Christoph Starkmann" <[EMAIL PROTECTED]> wrote in message
B120D7EC8868D411A63D0050040EDA77111BEE@XCHANGE">news:B120D7EC8868D411A63D0050040EDA77111BEE@XCHANGE...
> Hi Ron!
>
> > Here is what I want to do.
> >
> > I am taking a poll and I would like to display the results in
> > a bar graph
> > format.  What is the best way to do this.hopefully you
> > will not say GD
> > library!
>
> If you don't like GD, why not try Flash instead? ;))
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Making graphics

2002-04-11 Thread Martin Cabrera Diaubalick

How about using regular HTML, and images and playing with their width 
property?

AFAIK, it's the simplest way!


HTH

Regards
El Jue 11 Abr 2002 16:00, Ron Allen escribió:
>Here is what I want to do.
>
>I am taking a poll and I would like to display the results in a bar graph
>format.  What is the best way to do this.hopefully you will not say GD
>library!

-- 
Martin Cabrera Diaubalick
Director Técnico Notodo.com
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Making graphics

2002-04-11 Thread Christoph Starkmann

Hi Ron!

> Here is what I want to do.
> 
> I am taking a poll and I would like to display the results in 
> a bar graph
> format.  What is the best way to do this.hopefully you 
> will not say GD
> library!

If you don't like GD, why not try Flash instead? ;))


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php