Page 1 of 1

changing the line 'pen' to dash or dot

Posted: Fri Sep 30, 2005 5:17 am
by 9637610
Dear Supporter,
I'm using Build 2.0.2040.15119 and found the following problem: changing the pen to draw a (for instance) dotted line, changes the line in the legend but not the line on the graph.

Code snippet:
Dim lineseries As Steema.TeeChart.Styles.Line
lineseries = serie
lineseries.LinePen.Style = Drawing2D.DashStyle.Dot

As I understood it, this problem was solved in this version (see release specs).
If this is a known bug, could this be prioritised for repair as it is a very basic function in plotting multiple series in black and white (for reports and publications).

Cheers
Francis

Posted: Fri Sep 30, 2005 8:12 am
by narcis
Hi Francis,

It works fine for me using the same version as you and the code below. Can you please test if this works for you?

Code: Select all

        Dim lineseries As New Steema.TeeChart.Styles.Line
        TChart1.Series.Add(lineseries)
        lineseries.FillSampleValues()
        lineseries.LinePen.Style = Drawing2D.DashStyle.Dot
BTW: Please notice that this forum is for VCL TeeChart version. We would appreciate that when you post a message related to .NET version you posted it at the TeeChart for .NET forum.

Posted: Fri Sep 30, 2005 10:35 pm
by 9637610
Hi Narcis,
Sorry, my mistake :oops: , it should have gone to the .Net forum (can you move it?).

My problem has been resolved :D and I think there were two issues:
1: during compilation I got a warning that the new TeeChart file (library I think) could not override the old one. Manually removing the dll's solved that one.
2: there are a lot of data points in the series which seem to 'fuse' the dots into a solid line (would that make sense?).

Thanks for your help,
Cheers
Francis

Posted: Mon Oct 03, 2005 7:27 am
by narcis
Hi Francis,
Sorry, my mistake , it should have gone to the .Net forum (can you move it?).
Don't worry, just post next messages on the .NET forum.
My problem has been resolved and I think there were two issues:
1: during compilation I got a warning that the new TeeChart file (library I think) could not override the old one. Manually removing the dll's solved that one.
Yes, this needs to be done in some cases.
2: there are a lot of data points in the series which seem to 'fuse' the dots into a solid line (would that make sense?).
Yes, this would also make sense.