Displaying overlapping series

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
ctusch
Newbie
Newbie
Posts: 11
Joined: Tue Sep 25, 2007 12:00 am
Contact:

Displaying overlapping series

Post by ctusch » Tue Oct 26, 2010 8:03 am

Hello,

is there a way to display two series which are overlapping? Let's say there are two horizontal series at the same y value. In this case I don't see one of the series. Is there a way (a flag or something) to display that there are in fact two series on screen?

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Displaying overlapping series

Post by Sandra » Tue Oct 26, 2010 10:38 am

Hello ctusch,

I couldn't reproduce your problem with last version of TeeChart.Net and next code where values of series1 are same of series2:

Code: Select all

    public Form1()
        {
            InitializeComponent();
            InitializeChart();
        }
        Steema.TeeChart.Styles.HorizBar series1,series2;
        private void InitializeChart()
        {
            tChart1.Aspect.View3D = true;
            series1 = new Steema.TeeChart.Styles.HorizBar(tChart1.Chart);
            series1.FillSampleValues();
            series2 = new Steema.TeeChart.Styles.HorizBar(tChart1.Chart);
            series2.DataSource = series1;      
        }
Can you reproduce your problem with this code? On the other hand, could you say us what version of TeeChart.Net are you using?

Thanks,
Best Regards,
Sandra Pazos / 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

ctusch
Newbie
Newbie
Posts: 11
Joined: Tue Sep 25, 2007 12:00 am
Contact:

Re: Displaying overlapping series

Post by ctusch » Tue Oct 26, 2010 3:12 pm

Oh, I probably should have mentioned that I'm not using the 3D functionality. So my question was referring to a 2D chart.

Any ideas?

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

Re: Displaying overlapping series

Post by Narcís » Wed Oct 27, 2010 7:22 am

Hi ctusch,

What about setting a little bit of transparency for the series? For example:

Code: Select all

            series1.Transparency = 50;
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

ctusch
Newbie
Newbie
Posts: 11
Joined: Tue Sep 25, 2007 12:00 am
Contact:

Re: Displaying overlapping series

Post by ctusch » Thu Oct 28, 2010 8:00 am

Thanks, I will try that. :)

Post Reply