Coloring point symbols on a line series.

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
BenW
Advanced
Posts: 119
Joined: Wed Aug 10, 2005 4:00 am

Post by BenW » Mon Sep 17, 2007 4:30 pm

Hi Narcís.

Thank you for your quick response. I can always rely on you for a quick response turnaround, for which I'm very appreciative!

Are you able to supply me with an ETA for the next release, that will include this bug fix?

Kind Regards,
Ben.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Sep 18, 2007 7:34 am

Hi Ben,

I'm afraid I can't give you a date estimation for now. Please be aware at this forum for new release announcements and what's being implemented/fixed on them.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

BenW
Advanced
Posts: 119
Joined: Wed Aug 10, 2005 4:00 am

Post by BenW » Tue Sep 18, 2007 4:39 pm

Narcís, where specifically do I look for information on new releases and what they contain? Is there a URL you can give me to take me straight there?

thanks,
Ben.

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

Post by Yeray » Wed Sep 19, 2007 8:02 am

Hi Ben,

You can find versions info and release notes here
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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Sep 19, 2007 8:33 am

Hi Ben,

Also please notice that we announcements are posted at this forum for every new release. Links to the release notes are also included in the announcements.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

BenW
Advanced
Posts: 119
Joined: Wed Aug 10, 2005 4:00 am

Post by BenW » Wed Sep 19, 2007 4:04 pm

Yeray, Narcís

Thank you.
Ben.

JimR
Newbie
Newbie
Posts: 46
Joined: Mon Oct 24, 2016 12:00 am

Re: Coloring point symbols on a line series.

Post by JimR » Fri Mar 03, 2017 9:23 pm

Has this been answered somewhere? When I use .SeriesColor it changes the color of both the line and the fill color of points. I want it possible to have different colors.

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: Coloring point symbols on a line series.

Post by Christopher » Mon Mar 06, 2017 9:41 am

JimR wrote:Has this been answered somewhere? When I use .SeriesColor it changes the color of both the line and the fill color of points. I want it possible to have different colors.
If I understand the issues in this thread correctly, possibly the easiest method of working to obtain the desired result would be to use two series, setting them of the same ZOrder if they have to be viewed in 3D e.g.

Code: Select all

    private void InitializeChart()
    {
      Line series1 = new Line(tChart1.Chart);
      Points series2 = new Points(tChart1.Chart);
      //tChart1.Aspect.View3D = true;

      series1.LinePen.Width = 3;
      series1.Add(1, Color.Red);
      series1.Add(2, Color.Orange);
      series1.Add(3, Color.Yellow);
      series1.Add(4, Color.Green);

      series2.Legend.Visible = false;
      series2.Pointer.HorizSize = 7;
      series2.Pointer.VertSize = 7;
      series2.Add(1, Color.Blue);
      series2.Add(2, Color.Indigo);
      series2.Add(3, Color.Violet);
      series2.Add(4, Color.Black);
      series2.ZOrder = series1.ZOrder;

      tChart1.Tools.Add(new Rotate());
    }
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

JimR
Newbie
Newbie
Posts: 46
Joined: Mon Oct 24, 2016 12:00 am

Re: Coloring point symbols on a line series.

Post by JimR » Mon Apr 10, 2017 5:53 pm

Yes, here is how I do it:

As you noted: color the series
series.seriescolor := ColorDialog.Color;

But then color the fill of the marker symbols
series.Pointer.Color := ColorDialog.Color;

and color the line around the edge of the symbol
series.Pointer.Pen.Color := ColorDialog.Color;

(assumes series is a TPointSeries)

I am not sure of setting the color of the line but keeping the color of the markers so I make changes in the order given above.

Jim

Post Reply