We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How can i change the position of my legend?

Hi,

how can i change the position of my not floating legend?

Best regards

Ralf

3 Replies

RF Rashidha F Syncfusion Team July 11, 2007 08:16 AM UTC

Hi Ralf,

Thanks for using Syncfusion Products.

If your intention is to locate a legend at particular position means, please use Legend.Location property in ChartWebControl.

The following code which illustrates how to set the location of the Legend in ChartwebControl.

this.ChartWebControl1.Legend.FloatingAutoSize = true;
this.ChartWebControl1.Legend.Position = ChartDock.Floating;
this.ChartWebControl1.Legend.Location = new Point(50, 30);

Please let me know if this helps.

Thanks and Regards,
Rashdiha.


RA Ralf Anacker July 11, 2007 08:31 AM UTC

Hi Rashidha,

i have test this. If i use the floating auf legend, i became a java-script error on my Page. I wan't use the floating modus for the legend.

Regards
Ralf

Error_Floating_Legend.zip


RF Rashidha F Syncfusion Team July 12, 2007 04:19 AM UTC

Hi Ralf,

Sorry for the inconvenience caused.

I am afraid that I was not able to reproduce the issue. Also I have created a simple sample to test this issue and it is available in the following link.

http://websamples.syncfusion.com/samples/Chart.Web/5.1.0.51/F63804/main.htm

Please have a look at the above sample and if still the issue exists could you please try reproducing it in the above sample or send us the reproducing steps so that we could sort out the cause of the issue and provide you a solution?

Regards,
Rashidha.

Loader.
Live Chat Icon For mobile
Up arrow icon