SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Answered
0
0

Hello,

I’m struggling to remove the default chess-like background pattern of the surface to have a completely white panel with grid lines.

GridLinePanelStyle doesn’t seem to do the trick since it’s background property only changes the color but not the pattern.
I know there are many good SciChart tutorials but in this one particular matter they don’t seem to help me.

The funny thing is I already customized so many styles and templates, extended modifiers and annotations and now I’m failing at changing two colors.

Thanks in advance.

Version
4.2.5.10489
  • You must to post comments
Best Answer
0
0

AxisBase has a property called “DrawMajorBands”. Setting the bool to false removes the filling between grid lines. I still don’t know how to style them, but deactivating them for now is enough.

  • You must to post comments
0
0

Try setting band style instead of grid line style (don’t remember the exact property name).

  • Sven A.
    I haven’t found a style property for that. However I noticed there is a bool “DrawMajorBands” in AxisBase which disables the grid filling. Still can’t style them, but at least they’re not visible anymore.
  • Andrew
    AxisBase.AxisBandsFill also styles the colour of the grid. See https://www.scichart.com/example/wpf-chart-example-xaml-styling/ for details on all syllable properties in SciChart
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.