Page 1 of 1

Area Series, Border not displaying for large datasets

Posted: Thu Aug 09, 2012 10:30 pm
by 15661425
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?

Re: Area Series, Border not displaying for large datasets

Posted: Fri Aug 10, 2012 10:17 am
by 10050769
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,