This is a migrated thread and some comments may be shown as answers.

Stacked Bar guide lines with different fill colour

1 Answer 52 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Carl
Top achievements
Rank 1
Carl asked on 22 Oct 2009, 03:11 PM
I am using the StackedBar chart... when the fill colour of the plot area is the default, the report is generated with guide lines from the y-axis making it easy for the user to marry up bars with their values. I want this fill colour to be white/transparent, however when I select this I lose the guidelines. Is there a way to retain these when the fill colour is changed?

Thanks, Carl

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 23 Oct 2009, 12:12 PM
Hi Carl,

You can change the color of the "guide lines" to your liking through the following line of code or corresponding property setting from the designer:

chart1.PlotArea.YAxis.Appearance.MajorGridLines.Color = Color.ColorOfMyChoice;

Sincerely yours,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Carl
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or