Page 1 of 1

Displaying overlapping series

Posted: Tue Oct 26, 2010 8:03 am
by 8741807
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?

Re: Displaying overlapping series

Posted: Tue Oct 26, 2010 10:38 am
by 10050769
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,

Re: Displaying overlapping series

Posted: Tue Oct 26, 2010 3:12 pm
by 8741807
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?

Re: Displaying overlapping series

Posted: Wed Oct 27, 2010 7:22 am
by narcis
Hi ctusch,

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

Code: Select all

            series1.Transparency = 50;

Re: Displaying overlapping series

Posted: Thu Oct 28, 2010 8:00 am
by 8741807
Thanks, I will try that. :)