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

[Solved] How to show axis points

1 Answer 68 Views
Chart for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mag
Top achievements
Rank 2
Mag asked on 16 Jan 2014, 10:51 PM
Hello 
i have a bar series and on the y axis i have some balck marks that indicates a value,
on the y axis i have the same mark but in a different color, can you tell me how to change it?
In the attach file, you can see mi problem. i need all the marks with the color black.
Sorry for my basic English

1 Answer, 1 is accepted

Sort by
0
Rosy Topchiyska
Telerik team
answered on 17 Jan 2014, 01:09 PM
Hi Mario,

Thank you for the question.

You can use the MajorTickStyle property of the axis to change the appearance of the ticks, the style should target the Rectangle type. Here is an example:

<telerik:CategoricalAxis>
    <telerik:CategoricalAxis.MajorTickStyle>
        <Style TargetType="Rectangle">
            <Setter Property="Fill" Value="Black"/>
        </Style>
    </telerik:CategoricalAxis.MajorTickStyle>
</telerik:CategoricalAxis>

I hope this helps.

Regards,
Rositsa Topchiyska
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Chart for XAML
Asked by
Mag
Top achievements
Rank 2
Answers by
Rosy Topchiyska
Telerik team
Share this question
or