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

Unable to hide minor ticks

1 Answer 135 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Wei
Top achievements
Rank 1
Wei asked on 20 Jun 2011, 04:48 PM
I'm trying to show only the major ticks and hide all the minor ticks between them, I have set the following properties in my xaml file:
On the AxisX, I set AutoRange="False", MinorTicksVisibility="Hidden", yet all the minor ticks are still showing up. Suggestions?

<chart:ChartArea Grid.Row="1" x:Name="mainChartArea" LegendName="legend">
    <chart:ChartArea.AxisX >
        <chart:AxisX MajorGridLinesVisibility="Collapsed" IsDateTime="True"  DefaultLabelFormat = "dd-MMM"
        Title="Date" MinorTickPointMultiplier="0" AutoRange="False" MajorTicksVisibility="Visible"
        AxisLabelsVisibility="Visible" MinorTicksVisibility="Hidden" />
    </chart:ChartArea.AxisX>
</chart:ChartArea

1 Answer, 1 is accepted

Sort by
0
Accepted
Yavor
Telerik team
answered on 23 Jun 2011, 09:50 AM
Hello Wei,

As we mentioned in your support ticket, we couldn't reproduce the problem that you are facing in our environment using your sample code. Perhaps the problematic code is elsewhere in your code. I have attached the test application that we used in our environment.

We would like to investigate problem in more details if you would create small solution or update our sample one, which we can use to reproduce the problem.

Greetings,
Yavor Ivanov
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
Wei
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or