I would use a js plotting library, like http://code.google.com/p/flot/
On 8 mayo, 06:26, koranthala wrote:
> Hi,
> I am doing web development using Django. I need to create an image
> (chart) and show it to the users - based on some data which user
> selects.
> My question is - how do I cre
Hi Diez,
I think I understood your point now.
Is it ?
(1) Have a separate URL for the image - update urls.py for that
(2) Pass all the GET parameters to that URL again.
(3) Recalculate the fields again in that URL
(4) Create the image and send back as image/png based on the
rece
>
>
> Thank you Diez.
> I would like to go ahead with the cleanest solution indeed.
> I am creating the image on the fly. But I could not understand what
> you meant by render to memory as a string.
> How do we send the image to the browser?
>
> Were you mentioning about having the image as a strin
On May 8, 5:22 pm, koranthala wrote:
> On May 8, 2:49 pm, "Diez B. Roggisch" wrote:
>
>
>
> > koranthala wrote:
> > > Hi,
> > > I am doing web development using Django. I need to create an image
> > > (chart) and show it to the users - based on some data which user
> > > selects.
> > > My q
On May 8, 2:49 pm, "Diez B. Roggisch" wrote:
> koranthala wrote:
> > Hi,
> > I am doing web development using Django. I need to create an image
> > (chart) and show it to the users - based on some data which user
> > selects.
> > My question is - how do I create a temporary image for the use
koranthala wrote:
> Hi,
>I am doing web development using Django. I need to create an image
> (chart) and show it to the users - based on some data which user
> selects.
>My question is - how do I create a temporary image for the user? I
> thought of tempfile, but I think it will be delete