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

[Solved] Changing colors

1 Answer 101 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.
Thomas
Top achievements
Rank 1
Thomas asked on 09 Nov 2012, 03:23 PM
Hi - which elements do I need to change when I change the background color from black to White? When I change the background color to White all the lines becomes invisible since the lines seems to be White per default. I have tried to change foregound, background and borderbrush anywhere I can think - but the lines still remains White.

Thanks
Thomas

1 Answer, 1 is accepted

Sort by
0
Ivaylo Gergov
Telerik team
answered on 12 Nov 2012, 04:05 PM
Hi, Thomas

Thank you for using our RadControls for Windows 8!

If I understand you correctly you are talking about the Chart axes. In order to change their color you can set their style using the LineStyle property. Here's an example of setting the color of a linear axis:

<Chart:LinearAxis.LineStyle>
    <Style TargetType="Line">
        <Setter Property="Stroke" Value="Green">
        </Setter>
    </Style>
</Chart:LinearAxis.LineStyle>

More information can be found in our online documentation - http://www.telerik.com/help/windows-8-xaml/radchart-axes-axis.html.

I hope this information is useful. Let me know if I can assist you any further.

 

Greetings,
Ivaylo Gergov
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
Chart for XAML
Asked by
Thomas
Top achievements
Rank 1
Answers by
Ivaylo Gergov
Telerik team
Share this question
or