Microsoft YaHei在SciChart 3D WPF中无法正常工作

时间:2019-03-19 02:35:45

标签: scichart

我正在测试wpf的SciChart3d,将X轴上的字体设置为Microsoft YaHei,SciChart3d无法正常工作,并且SciChart3d的版本为5.3.0.11954。

<s3D:SciChart3DSurface x:Name="SciChart" Grid.Column="1" BorderThickness="0" WorldDimensions="200,100,200">
        <s3D:SciChart3DSurface.RenderableSeries>
            <s3D:PointLineRenderableSeries3D x:Name="PointLineSeries3D" IsAntialiased="True" StrokeThickness="1">
                <s3D:PointLineRenderableSeries3D.PointMarker>
                    <s3D:SpherePointMarker3D  Size="5"/>
                </s3D:PointLineRenderableSeries3D.PointMarker>
            </s3D:PointLineRenderableSeries3D>
        </s3D:SciChart3DSurface.RenderableSeries>
        <s3D:SciChart3DSurface.XAxis>
            <s3D:NumericAxis3D GrowBy="0.1,0.1" FontFamily="Microsoft YaHei"/>
        </s3D:SciChart3DSurface.XAxis>
        <s3D:SciChart3DSurface.YAxis>
            <s3D:NumericAxis3D GrowBy="0.1,0.1" FontFamily="Microsoft YaHei"/>
        </s3D:SciChart3DSurface.YAxis>
        <s3D:SciChart3DSurface.ZAxis>
            <s3D:NumericAxis3D GrowBy="0.1,0.1" FontFamily="KaiTi"/>
        </s3D:SciChart3DSurface.ZAxis>
    </s3D:SciChart3DSurface>

enter image description here

0 个答案:

没有答案