Point Series appear behind axes

TeeChart for ActiveX, COM and ASP
Post Reply
Simon
Newbie
Newbie
Posts: 9
Joined: Thu Nov 27, 2003 5:00 am
Location: UK
Contact:

Point Series appear behind axes

Post by Simon » Tue Mar 30, 2004 3:52 pm

How can you get the plots for the point series to be displayed on top of the axes?

They are always clipped by the axes unless you set the gradient of the series to radial - but I don't always want them to have a gradient.

Also, how do you set the end colour for the gradient? I can only see how to set the start and middle colours

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Tue Mar 30, 2004 9:54 pm

Hi Simon,
How can you get the plots for the point series to be displayed on top of the axes?
Using the ClipPoints property as in the example below.
Also, how do you set the end colour for the gradient? I can only see how to set the start and middle colours
You should be able to set it as in the following example :

Code: Select all

Private Sub Form_Load()
With TChart1
    .AddSeries scPoint
    .Series(0).FillSampleValues (5)
    .ClipPoints = False
    .Series(0).asPoint.Pointer.Gradient.StartColor = vbBlue
    .Series(0).asPoint.Pointer.Gradient.MidColor = vbYellow
    .Series(0).asPoint.Pointer.Gradient.EndColor = vbRed
    .Series(0).asPoint.Pointer.Gradient.Visible = True
End With
End Sub

Post Reply