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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Toolbar position

Thread ID:

Created:

Updated:

Platform:

Replies:

96472 Sep 15,2010 02:46 PM UTC Sep 20,2010 06:29 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: Chart
Steve Montgomery
Asked On September 15, 2010 02:46 PM UTC

Is there a way to control the initial position of the toolbar. I have tried all of the properties that make sense, but the toolbar starts in the upper left corner. I want to be able to put it in the lower right corner.


Abdul Rahman A.H [Syncfusion]
Replied On September 20, 2010 06:29 AM UTC

Hi Steve,

You can make use of the following code to position Chart toolbar.


//To set Toolbar postion.
Point point = new Point(200, 200);
Chart.SetDock(MyChart.ToolBar, ChartDock.Floating);

MyChart.ToolBar.Arrange(new Rect(point.X, point.Y, MyChart.Areas[0].Legend.DesiredSize.Width, MyChart.Areas[0].Legend.DesiredSize.Height));


Please refer the sample attached herewith.


Regards,
Abdul Rahman




ChartSample_c4061dbd.zip

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;