Area Series, Border not displaying for large datasets

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
paligap
Newbie
Newbie
Posts: 1
Joined: Mon Jan 30, 2012 12:00 am

Area Series, Border not displaying for large datasets

Post by paligap » Thu Aug 09, 2012 10:30 pm

We are populating an area series and discovering that in some instances the border is not being displayed. The seems to appear with large datasets (>500 items) however this isn't really a large number of items.

If we activate the editor we cannot change any settings to display the border. i.e. setting colour, width, toggling display has no effect when this issue occurs. Is this a known issue with the area series and/or is there anything we can do to ensure that the border is displayed irrespective of the number of items being plotted?

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

Re: Area Series, Border not displaying for large datasets

Post by Sandra » Fri Aug 10, 2012 10:17 am

Hello paligap,

I have made a simple code, where I have populated the series using a simple For and it works fine for me:

Code: Select all

  public Form1()
        {
            InitializeComponent();
            InitializeChart();
        }
        Steema.TeeChart.Styles.Area area1;
        private void InitializeChart()
        {
            tChart1.Aspect.View3D = false;
            area1 = new Steema.TeeChart.Styles.Area(tChart1.Chart);
            Random rnd = new Random();
            for (int i = 0; i < 7000; i  )
            {
                area1.Add(i, rnd.Next(1000));
            }

            area1.LinePen.Color = Color.Red;
            area1.AreaLines.Color = Color.Green;
        }
        private void button1_Click(object sender, EventArgs e)
        {
            tChart1.ShowEditor();
        }
Could you please, check if previous code works as you expect? If it doesn't work as you want, can you please tell us which version of TeeChartFor.Net are you using now? On the other hand, if using my code you can not reproduce your problem, please try to arrange a simple project that we can run as-is to try to find a good solution for you.

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

Post Reply