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

Column Series Border

Thread ID:





84630 Jul 1,2009 04:33 PM UTC Jul 2,2009 11:16 AM UTC WinForms 2
Tags: Chart
Administrator [Syncfusion]
Asked On July 1, 2009 04:33 PM UTC

How can I disable the border for a series in a column chart type?

I have tried setting the width to zero, but the border still appears. And there isn't a "None" option for the DashStyle property.


Dave Taylor

Administrator [Syncfusion]
Replied On July 1, 2009 06:07 PM UTC

I have fixed this problem by setting the border color to the same as the interior color. Since I'm using solid colors this method works (gradients would cause a problem however).

Another issue though...I'm using the PrepareStyle event handler to change the color of the columns based on external rules that change based on user input. This works for the initial drawing of the chart, but I cannot get the chart to redraw the series updating the style if the input changes. I have tried ChartControl.Redraw(true), ChartControl.Refresh, ChartControl.Invalidate + ChartControl.Update; nothing seems to generate the PrepareStyle event except immediately after the series is added to the control.
Thanks for any help on this.

Dave Taylor

Manimala S [Syncfusion]
Replied On July 2, 2009 11:16 AM UTC

Hi Dave,

Thanks for using Essential chart.

We have PreChartAreaPaint event of the chart control which will be fired before the chart area paint is called. You can set the color for the series columns within this event.

Please let me know if it helps.



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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