更新到最新版本后,SciChart 变为 Maximum Plaid

SciChart went Maximum Plaid after updating to latest version

我已将 SciChart 从版本 3.31 更新到最新版本 (4.2.2.9777),由于某种原因,它导致我的应用程序中的每个 SciChart 表面实例都有这种奇怪的格子背景(见附图)。 虽然是节日,但我认为客户不会同意。 我不知道是什么原因造成的。这就是我们在样式方面使用的所有内容: 1.背景:

 Background="{DynamicResource {x:Static theme:Brushes.BackgroundBrushKey}}"
  1. GridLinesPanelStyle:

       <Style x:Key="GridLinesPanelStyle"
            TargetType="{x:Type sci:GridLinesPanel}">
            <Setter Property="Background" Value="{DynamicResource {x:Static theme:Brushes.BackgroundBrushKey}}" />
            <Setter Property="BorderThickness" Value="2" />
        </Style>
    

这些都不应导致此行为。知道我该如何解决这个问题吗?

编辑:我不得不删除图像,因为我意识到它们可能包含我们客户的一些专有信息。

非常哈哈。 >_<

请设置AxisBase.DrawMajorBands 属性关闭最大格子效果 e.g.

<s:NumericAxis DrawMajorBands="False"/>

另请注意,您可以使用 AxisBase.AxisBandsFill 更改图表背景上的交叉影线/格子/格子呢/条纹效果的颜色,例如

<s:NumericAxis AxisBandsFill="0x33DDDDDD"/>

这应该会产生更令人愉悦/微妙的效果,就像这样