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?
Area Series, Border not displaying for large datasets
Re: Area Series, Border not displaying for large datasets
Hello paligap,
I have made a simple code, where I have populated the series using a simple For and it works fine for me:
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,
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();
}
Thanks,
Best Regards,
Sandra Pazos / 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 |