This is a migrated thread and some comments may be shown as answers.
RadChart Custom property of Dashstyle
3 Answers 33 Views
This is a migrated thread and some comments may be shown as answers.
sharanya
Top achievements
Rank 1
sharanya asked on 16 Feb 2011, 03:04 AM
Hi all,

I am using radcharts. I want to use custom Dashstyle. I need (long dash and a dot). I looked into dashdot of Dshstyle but i need a longer dash.

Any ideas?

Thanks,
Sharanya

3 Answers, 1 is accepted

Sort by
0
Sia
Telerik team
answered on 18 Feb 2011, 06:09 PM
Hi sharanya,

Please try this approach:
<telerik:RadChart ID="RadChart1" runat="server" AutoLayout="True" DefaultType="Line">
    <Series>
        <telerik:ChartSeries Type="Line">
            <Appearance>
                <LineSeriesAppearance PenStyle="DashDot" />
            </Appearance>
            <Items>
                <telerik:ChartSeriesItem YValue="33" />
                <telerik:ChartSeriesItem YValue="43" />
                <telerik:ChartSeriesItem YValue="27" />
            </Items>
        </telerik:ChartSeries>
    </Series>
</telerik:RadChart>


All the best,
Sia
the Telerik team
0
sharanya
Top achievements
Rank 1
answered on 21 Feb 2011, 04:21 AM
Hi Sia,

thanks for your quick response.

I am not sure if you understood my question.

I basically want to use

Drawing.Drawing2D.DashStyle.custom property. How do i do it?

The Drawing.Drawing2D.DashStyle.dashdot that exists is not clear enough. I need the dash to be longer than what it appears.

Hope its clear now.

Thanks & Regards,
Sharanya

0
Sia
Telerik team
answered on 23 Feb 2011, 01:05 PM
Hi sharanya,

Unfortunately the desired appearance cannot be achieved. Please excuse me for my misunderstanding.

All the best,
Sia
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Asked by
sharanya
Top achievements
Rank 1
Answers by
Sia
Telerik team
sharanya
Top achievements
Rank 1
Share this question
or