Legend Position in Silverlight application

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Amol
Advanced
Posts: 176
Joined: Mon May 29, 2006 12:00 am

Legend Position in Silverlight application

Post by Amol » Thu Sep 27, 2012 10:39 am

Hello Steema Support,

I am using tee chart in Silverlight Application .I am facing problem regarding the legend of the tee chart .I have set the legend's Alignment as bottom but when first time page is loading then Legend is coming on the extreme left corner on the bottom of chart and as I move mouse on chart then it would come on center on the bottom position of the chart .I have only set tee chart Legend's property in terms of Visibility and Alignment.
I want that Legend should come on the center on the bottom of the chart.

Any suggestion will be highly appreciated.

Thanks & Regards

Planoresearch

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

Re: Legend Position in Silverlight application

Post by Sandra » Fri Sep 28, 2012 10:36 am

Hello Amol,

I can not reproduce your problem using last version of TeeChart Silverlight and next code:

Code: Select all

        public MainPage()
        {
            InitializeComponent();
            InitializeChart();
        }
        private void InitializeChart()
        {
            tChart1.Aspect.View3D = false;
            tChart1.Legend.Alignment = LegendAlignments.Bottom;

            for (int i = 0; i < 8; i++)
            {
                new Steema.TeeChart.Silverlight.Styles.Line(tChart1.Chart);
                tChart1[i].FillSampleValues();
            }
        }
Can you please tell us which version are you using?

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