Setting TickLineStyle makes ticks disappear completely

2 posts, 0 answers
  1. Rav
    Rav avatar
    36 posts
    Member since:
    Nov 2011

    Posted 29 Mar 2010 Link to this post

    Hi Telerik,

    When I set tick line styles as follows:

    <Style x:Key="AxisTickStyle" TargetType="Line">  
            <Setter Property="Stroke">  
                    <SolidColorBrush Color="{DynamicResource ColorDarkGray}" />               
    chart.DefaultView.ChartArea.AxisX.AxisStyles.TickLineStyle = Application.Current.Resources["AxisTickStyle"as Style;  
    chart.DefaultView.ChartArea.AxisX.AxisStyles.MinorTickLineStyle = Application.Current.Resources["AxisTickStyle"as Style; 

    They dissappear completely, looks like the actually width of them decreases to 0 because the ItemLabels come to the edge of the axis

    Any help would be appreciated

  2. Vladimir Milev
    Vladimir Milev avatar
    1061 posts

    Posted 01 Apr 2010 Link to this post

    Hello Rav Panchalingam,

    I have just tried to reproduce this problem, however it seems to work fine. I am attaching my page. Can you please modify the project so that it exhibits the error?

    Sincerely yours,
    Vladimir Milev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top