How reload Chart Intraweb in Async Event(Ajax)

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
mivchart
Newbie
Newbie
Posts: 31
Joined: Thu Dec 04, 2008 12:00 am

How reload Chart Intraweb in Async Event(Ajax)

Post by mivchart » Wed Feb 06, 2013 1:59 pm

Hi ,

i work with D2007 and Intraweb X11, the install it's ok, i run demo without Pb.

But i have PB for reload image TIWChart after event Async (mode ajax).

Exemple :
Step 1 ) i have create Form intraweb with TIWChart1 and link Chart1 on design time
Step 2 ) if i run, it's Ok, the form Intraweb is create correctly but without Data it's normally for seep loading page.
Step 3) In TimerAsync (mode ajax), i run thread for extract Data in background task (on other server with long time)
Step 4) after load Data, i creta and trace series chart without PB
Step 5) how force reload image Chart1 included TIWChart after load Async Data ??? reloading partial page ? Render ? Update ?

I try many solution without succès.

Yeray
Site Admin
Site Admin
Posts: 9533
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: How reload Chart Intraweb in Async Event(Ajax)

Post by Yeray » Thu Feb 07, 2013 11:43 am

Hi,

Try to use the TIWChart.RenderHTML function.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

mivchart
Newbie
Newbie
Posts: 31
Joined: Thu Dec 04, 2008 12:00 am

Re: How reload Chart Intraweb in Async Event(Ajax)

Post by mivchart » Sun Feb 24, 2013 3:29 pm

Sorry for the late reply,
There's really nothing about the function RenderHTML.

I tried another solution presented byby Stephen10 Jul 2012 6:44 Topic: OnMouseDown event on TIWChart Does not workbut it does not work.

TeeChart charged image in intraweb, it must be simple yet

Yeray
Site Admin
Site Admin
Posts: 9533
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: How reload Chart Intraweb in Async Event(Ajax)

Post by Yeray » Wed Feb 27, 2013 4:23 pm

Hi,

Sorry for the delayed reply here.
mivchart wrote:I tried another solution presented byby Stephen10 Jul 2012 6:44 Topic: OnMouseDown event on TIWChart Does not workbut it does not work.
You mean the code in this post, right?

I'm trying to prepare an environment like yours
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply