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

[Solved] Plot band is not seen

2 Answers 87 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Achilles
Top achievements
Rank 1
Achilles asked on 26 Jan 2012, 11:25 AM
Hi,
I'm trying to use the new feature for Plot-bands for Charts. Somehow it is not visible. I don't know what I have overlooked. I'm attaching a sample project

Thanks & Regards

Achilles

2 Answers, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 26 Jan 2012, 12:52 PM
Hello Raja Debbarman,

Thank you for contacting us.

Unfortunately I was not able to open your project. Thus, I have attached my test project that shows you how to add plot bands in the Chart.
 
Regards,
Hristo Germanov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
0
Achilles
Top achievements
Rank 1
answered on 26 Jan 2012, 02:06 PM
Dear Hristo,

Thanks a lot for the sample. I found out that in my chart I was setting the attribute

        .PlotArea(area => area
                .Background("#b5ddf2")
                .Border(1, "black", ChartDashType.Solid)

which was causing the problem. So the plot bands can't render themselves over a predetermined background, and I have to colour each band unless the separators are themselves white in colour. But, maybe this may be a good feature to have, later.

Warm Regards

Raja
Tags
Chart
Asked by
Achilles
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Achilles
Top achievements
Rank 1
Share this question
or