No information for TickMajorStyle property in XYDoubleAxis

Charts for WPF Forum

Posted 9 years ago by Eusebio
Version: 14.2.0611
Platform: .NET 4.5
Environment: Windows 8 (64-bit)

Hi all,

I am trying to modify the color of the Axis lines in my chart because always appears as "grey" color. I think the name is Tick marks, I mean:



 Y   |-

a    |-

x    |-

e    |-


                  X axe

I think is the propertyTickMajorStyle in XYDoubleAxis node but I do not how to set it

<charts:XYDoubleAxis AreLabelsVisible="True" AreMajorTicksVisible="True" AreMinorTicksVisible="False" 
     TickMajorInterval="{Binding GainInterval, Mode=OneWay}" 
     TickMinorInterval="0.1" Minimum="{Binding MinGain, Mode=OneWay}"       
     Maximum="{Binding MaxGain, Mode=OneWay}" x:Name="Gain" Title="Gain (dB)"Focusable="False"

 Could you tell me how to change this color? I can not updgrade the ActiproSoftware version.

Thanks a lot,


Comments (3)

Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA


You can set the color by this sort of XAML:

	<Style TargetType="Shape">
		<Setter Property="Stroke" Value="Red" />

Actipro Software Support

Posted 9 years ago by Eusebio

It works!

Thanks a lot.

Are there any "guide" to know how to use each librar yelements?

Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA

That's great to hear.  If you mean, how to custom style things, the documentation that comes with the product has some info but you can also get our default styles and see what we do there.  Your company is licensed for WPF Studio, so whoever has access to your company's account is able to download the default styles/templates for you.

Actipro Software Support

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.