I am trying to change the 8 provided themes for example change the color and tick mark lengths. The link below shows how but my problem is I have no idea where to put the provided code. Do you have a complete example showing how to change the themes where to put the code and how to connect it all together?
https://www.scichart.com/questions/wpf/tick-line-style?tab=answers#sabai-questions-7753-add-answer
- Brad Turner asked 4 years ago
- You must login to post comments
Hi Brad,
Please take a look at our documentation regarding Axis Styling:
https://www.scichart.com/documentation/win/current/webframe.html#Axis%20Styling%20-%20Styling%20Gridlines,%20Tick%20Lines%20and%20Labels.html
The code sample provided here shows how to apply Styles for Axis GridLines and TickLines. Is this what you are looking for?
With best regards,
Oleksandr
- Oleksandr Shvets answered 4 years ago
-
I have seen that link before but I still need a complete example. Where does the code go? In a new file or modify a file provided by SciChart? How do I connected it together? Do you have a complete example which shows how this is all put together? I am new to WPF so I just don’t have any idea where to put it.
-
Hi Brad, this example shows how to do it -> https://www.scichart.com/example/wpf-chart-example-xaml-styling. its part of our WPF Chart Examples Suite titled ‘Xaml STyling’. There is also a documentation link here. https://www.scichart.com/documentation/win/current/webframe.html#Templating%20and%20Styling%20Chart%20Parts.html
-
Does that help?
-
Thanks I am almost there. I am now able to create line styles in XAML and use them for MajorTickLineStyle and MinorTickLineStyle. My problem is I can’t hard code the color (Stroke) of the ticks. I am trying to bind to the color of the BorderBrush without success.
-
Care to post a code sample of what you have + result so far?
- You must login to post comments
Please login first to submit.