Page 1 of 1

OnGetSeriesMark on VBScript

Posted: Wed Dec 27, 2006 3:36 pm
by 9525074
Hi, i have a standart
"Sub Chart1_OnGetSeriesMark(SeriesIndex,ValueIndex, MarkText)"
that is fired after "sub window_onload()" - that fills a chart, located inside HTML tamplate, using "Chart1.Export.asNative.SaveToStream(True)"
on the vb.6 code side (iis app), and "TChart2.Import.LoadFromURL(temp)"
on the HTML side. (sending a sream...).

I can see that the OnGetSeriesMark is beeing fired (when i put a mesgbox then it is shown..) but i can't actually preform the
MarkText = "My value" or at least it does not effect the mark that are beeing shown on the chart.

is there a specific or different way to initalize this event? when working in Script ?, maybe use a stream?

Also - I looked at tutorial 8 so I would like alittle guideness if possible...?

Posted: Thu Dec 28, 2006 9:03 am
by Pep
Hi Emerald,

if you want to do is export an image to the browser from your ASP file then you can use TeeChart events in ASP using VBUserControls. There's an example of how to do this under:
C:\Program Files\TeeChart Pro v7 ActiveX Control\Examples\Internet Explorer\ASPHome.htm -> Why Script in ASP?
The source code for the VBUserControl is under:
C:\Program Files\TeeChart Pro v7 ActiveX Control\Examples\Visual Basic\Visual Basic 5 & 6\ActiveX Control