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

Setting TickLineStyle makes ticks disappear completely

1 Answer 38 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Rav
Top achievements
Rank 2
Rav asked on 30 Mar 2010, 03:21 AM
Hi Telerik,

When I set tick line styles as follows:

<Style x:Key="AxisTickStyle" TargetType="Line">  
        <Setter Property="Stroke">  
            <Setter.Value> 
                <SolidColorBrush Color="{DynamicResource ColorDarkGray}" />               
            </Setter.Value>           
        </Setter> 
    </Style> 
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

Rav

1 Answer, 1 is accepted

Sort by
0
Vladimir Milev
Telerik team
answered on 01 Apr 2010, 03:39 PM
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.
Tags
Chart
Asked by
Rav
Top achievements
Rank 2
Answers by
Vladimir Milev
Telerik team
Share this question
or