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.
Unfortunately, activation email could not send to your email. Please try again.

Chart Host Control splitter bar and visible data

Thread ID:

Created:

Updated:

Platform:

Replies:

57563 Mar 6,2007 01:31 PM Mar 13,2007 09:23 PM Windows Forms 5
loading
Tags: Chart
Administrator [Syncfusion]
Asked On March 6, 2007 01:31 PM

Hi,
V4.4.0.51 & VS2003

In your Syncfusion sample:
C:\Program Files\Syncfusion\Essential Studio\4.4.0.51\windows\Chart.Windows\Samples\Chart Host Controls\ChartTableSample\cs

It demos adding a grid control to the chartcontrol. That is great. I need to add two functions to it:

1. How can I add a spliter bar between the grid control and chart area so that I can change the grid size by drag the spliter bar? Is there any built-in spliter bar for that?
2. The grid has scrollbar to let you view all data. but when you 'Export Image' or 'Print', it only got the visible rows in the grid. How can I export or print all grid rows? any built-in function for that?

Lan





Administrator [Syncfusion]
Replied On March 7, 2007 05:07 PM

Hi Lan,

There is no build-in splitter bar in chart control. However I have found the alternate workaround for this issue. Please have a look at this sample attached below.

http://websamples.syncfusion.com/samples/Chart.Windows/F57563/main.htm

In my sample, I have resized the grid control at run time using the mouse move event of the grid control.

Please look at our sample and let me know if this helps you.

Regards,
Rajesh

Administrator [Syncfusion]
Replied On March 8, 2007 02:57 PM

Hi Rajesh,
Your sample is great.

I got one more question for you.
In your sample, when you click the grid border to resize it, it easily happens to drag the grid into 'Floating' position. I want to the grid always to stay at top, don't allow to drag it the floating or borrom. How can I do it? Is there built-in property in the this.chartControl1.DockingManager?

Thanks for help.

Lan

Administrator [Syncfusion]
Replied On March 10, 2007 01:40 AM

Hi Lan,

Please try to set DockingFree property as false. Please refer to the following code snippet.

[C#]
this.chartDockControl1.DockingFree = false;
this.chartDockControl1.Dock = DockStyle.None;

Please let me know if this code snippet helps you.

Regards,
Rajesh

Administrator [Syncfusion]
Replied On March 12, 2007 10:29 AM

Hi,
V4.4.0.51 & VS2003
I tried your code, got compile error:
C:\PMA\STN.PMA.UL\frmGraph.cs(102): 'Syncfusion.Windows.Forms.Chart.ChartControl' does not contain a definition for 'DockingFree'.


Lan

Administrator [Syncfusion]
Replied On March 13, 2007 09:23 PM

Hi Lan,

Thanks for your update.

We are working on this and will let you know the alternative approach for doing this in two days.

Thank you for your patience.

Regards,
Rajesh

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.

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.

;