PDA

Click to See Complete Forum and Search --> : asp & chart


toraj
Aug 27th, 2000, 08:42 AM
Hi,

Is there anyway to draw dynamic chart
with asp ?

Can i add visual basic chart component
to my asp code and draw chart ?


thank you

asabi
Aug 27th, 2000, 10:31 AM
You can use ActiveX controll but than as far as I know it would work only on IE.

what you can do though is make a DLL in VB, that you can call from your ASP page (with dynamic parameters), and this dll can make a BMP/JPG file that can be loaded up by the ASP page.

I don't think it is easy, but it can be done.

toraj
Aug 27th, 2000, 11:02 AM
Thanks,
But I think activex is better,
cause I want to use this for my own use
and I will run it under IE
but you mean i can insert for example
mschart component to my activeX ?

thanks again

asabi
Aug 27th, 2000, 11:14 AM
Well, the chart control is single threaded , so you will have to change the properties of your activeX to be single threaded, I guess that if you will be the only one to use it, than it is o.k, but keep in mind that you can have only one of those opened at a time.

I don't have too much expirience with active X but I guess it should work.

Clunietp
Aug 27th, 2000, 12:42 PM
This might help....

http://www.asptoday.com/articles/20000303.htm