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

LineSerie penStyle to be used in Legend

3 Answers 64 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Hin
Top achievements
Rank 1
Hin asked on 10 Apr 2008, 02:52 PM
Hello,

I'm using the Chart control in Telerik Reporting.
I have a chart, that contains a line serie and an area serie.
By default, the legend Item Marker takes the color of the
serie, which is what I want for the area serie.
But for the line serie, can I set the Item Marker to show
the penStyle pattern (i.e. Dash, Dot ..) instead of the
associated color ?

Is there a way to accomplish this ?
Would it be possible to set a custom image to the Item Marker?
if so, I could make an image of the pattern and set it to the Marker.

Thanks,

3 Answers, 1 is accepted

Sort by
0
Chavdar
Telerik team
answered on 14 Apr 2008, 07:24 AM
Hi Hin,

Thank you for contacting Telerik support.

At this moment there is no way to accomplish your task. We will log your inquiry as a feature request and will do our best to include this feature in one of the next releases.

Let us know if you have other questions.

 
Best wishes,
Chavdar
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Darin
Top achievements
Rank 1
answered on 13 Mar 2009, 06:07 PM
I have the exact same scenario; Has this feature been implemented yet?
0
Steve
Telerik team
answered on 17 Mar 2009, 07:58 AM
Hi Darin,

Here is the code you can use, or of course set this directly from the properties of the chart report item in design time:

chart1.Series[0].Appearance.LineSeriesAppearance.PenStyle = System.Drawing.Drawing2D.DashStyle.Dash;

Regards,
Steve
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Hin
Top achievements
Rank 1
Answers by
Chavdar
Telerik team
Darin
Top achievements
Rank 1
Steve
Telerik team
Share this question
or