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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Column Selection

Thread ID:

Created:

Updated:

Platform:

Replies:

58291 Mar 21,2007 05:46 PM UTC Mar 26,2007 12:53 PM UTC WinForms 4
loading
Tags: Chart
Martin Bonneville
Asked On March 21, 2007 05:46 PM UTC

Hi,

I use the event "ChartRegionMouseDown" to know the column index, but I don't know how to highlight this column.

Best regards,

Martin

Ramya R [Syncfusion]
Replied On March 22, 2007 03:44 AM UTC

Hi Martin,

Thanks for your interest in Syncfusion Products.

If your intention is to highlight a specific column when the mouse is over that column then it can be done by setting the AutoHighlight property as shown in the code snippet below,

this.chartControl1.AutoHighlight = true;

or if you want highlight the Column with the color of your wish then it can done as shown in the code snippet below,

this.chartControl1.AutoHighlight = true;
this.chartControl1.Series[0].Style.HighlightInterior = new BrushInfo(GradientStyle.ForwardDiagonal,Color.Blue,Color.White);

Also kindly take a look at the ChartAutoHighLightSample ( Syncfusion\Essential Studio\4.4.0.51\Windows\Chart.Windows\Samples\User Interaction\ChartAutoHighLightSample ) which ships with our Essential Chart ProductPackage.

In this sample, the point(column) of series over which the mouse is placed gets highlighted.

Let me know if you have any queries.

Thanks & Regards,
Ramya.

Martin Bonneville
Replied On March 22, 2007 12:37 PM UTC

Hi,

I need to highlight a column on a MouseClick event and the column needs to stay highlighted until the next MouseClick.

Best regards,

Martin

Administrator [Syncfusion]
Replied On March 23, 2007 03:19 AM UTC

Hi Martin,

Thank you for the update.

I have created a sample with your requirement. In this sample, I am getting current style of the series point by using GetOfflineStyle() method. Please have a look at this sample and let me know if this helps you.
http://www.syncfusion.com/Support/user/uploads/ChartHighlight_68b42643.zip

Regards,
Rajesh

Martin Bonneville
Replied On March 26, 2007 12:53 PM UTC

Hi,

Problem solved ! :-)

Thanks you

Best regards,

Martin

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

;