Page 1 of 1

SImple Question - No answer

Posted: Fri Nov 16, 2007 4:02 pm
by 6922017
I create new series using ASP script: Chart.AddSeries(4) How can I make the size of the points smaller than the default block? I want like a 4 pixel size dot or atleast somewhat smaller than the defaut size.. Running TeeChart Active x ver 6

Documentation is very very hard to follow of course I could be just an idiot but here is what I have so far I have two series and I simply want to make the points smaller:

Chart.AddSeries(1)
Chart.AddSeries(4)

Chart.Series(0).Marks.Visible=False
Chart.Series(0).Color=vbYellow
Chart.Series(0).VerticalAxis=1
Chart.Series(0).Name="Level"
Chart.Series(0).XValues.DateTime = True

Chart.Series(1).Marks.Visible=False
Chart.Series(1).Marks.Visible=False
Chart.Series(1).Color=vbBlue
Chart.Series(1).Name="Parameter"



Thanks!!

Posted: Fri Nov 16, 2007 4:56 pm
by narcis
Hi MCD,

Yes, you can do this:

Code: Select all

    TChart1.Series(0).asPoint.Pointer.VerticalSize = 4
    TChart1.Series(0).asPoint.Pointer.HorizontalSize = 4

Posted: Fri Nov 16, 2007 5:40 pm
by 6922017
THanks that worked.. can you show me where I can find where this example is in the documentation? I have been searching and reading for nearly 3 hours with no help... I only do ASP code so the other examples look like Greek to me.

Thanks
Jason

Posted: Mon Nov 19, 2007 8:49 am
by yeray
There is a demo called "Reducing Number of Points" where is used this and there is the "Pointer" demo where does something similar for a Point Series. (Use search option to fins the demos).

Also you can take a look at the help file and look for IPointer property.