Pre loader

Different style for horizontal and vertical gridlines.

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

Hi,
Is it possible to set different styles (color, thickness, strokeDashArray) for horizontal and vertical major grid lines?
Xaml preferably.

  • You must to post comments
0
0

Yes, to get a different Horizontal / Vertical gridline style, you need to set AxisBase.MajorGridLineStyle to a different style on the XAxis and YAxis.

Please find our XamlStyling example below which demonstrates how to set MajorGridLineStyle:

// Styling a WPF Chart in XAML Example

Best regards,
Andrew

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.