RadChart Custom property of Dashstyle

Thread is closed for posting
4 posts, 0 answers
  1. sharanya
    sharanya avatar
    13 posts
    Member since:
    Jun 2010

    Posted 15 Feb 2011 Link to this post

    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
  2. Sia
    Admin
    Sia avatar
    745 posts

    Posted 18 Feb 2011 Link to this post

    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
  3. sharanya
    sharanya avatar
    13 posts
    Member since:
    Jun 2010

    Posted 20 Feb 2011 Link to this post

    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

  4. Sia
    Admin
    Sia avatar
    745 posts

    Posted 23 Feb 2011 Link to this post

    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!
Back to Top