Page 1 of 1
Legend symbol pen doesn't work
Posted: Thu May 16, 2013 7:08 am
by 15664365
It appears that the legend symbol pen doesn't work. I don't think the shadow pen works either.
Using the TccChart for .Net Examples application
go to: Welcome !\Chart styles\Standard\Bar
Click Edit button to bring up the Teechart Editor.
Goto Legend --> Symbols and click Border... Change any of the attributes and nothing happens... same with Shadow.
Re: Legend symbol pen doesn't work
Posted: Thu May 16, 2013 2:36 pm
by 10050769
Hello Adrian,
It appears that the legend symbol pen doesn't work...
We have found a problem in Default Border checkbox, that doesn't allow change the Pen of Legend symbol in the editor. We have added this problem in bug list repot with number [TF02016573] and I inform you it is already fixed for next maintenance release of TeeChartFor.Net. On the other hand, you must know that is possible change the pen of legend Symbol, working in run time as do in next lines of code and I suggest you at the moment use this, as a workaround:
Code: Select all
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
Steema.TeeChart.Styles.Points points = new Steema.TeeChart.Styles.Points(tChart1.Chart);
points.FillSampleValues(5);
tChart1.Legend.Symbol.DefaultPen = false;
}
Same with Shadow.
This is a different bug that isn't related with the previous defect. We have added it in bug list report with number [TF02016574] and we ill try to fix it to upcoming versions of TeeChartFor.Net.
Thanks,