美文网首页
Visifire charts ToolBar

Visifire charts ToolBar

作者: Lulus | 来源:发表于2017-12-31 18:36 被阅读0次
    <charts:Chart       x:Name="ChartPat"
                        Theme="Theme2"
                        BorderBrush="Gray"
                        Padding="6"
                        View3D="False"
                        ToolBarEnabled="True" ToolTipEnabled="True" IndicatorEnabled="True"  
                        AnimationEnabled="False" ZoomingEnabled="True" Margin="2,2,0,0" BorderThickness="0"  >
    
                <charts:Chart.Series>
            <!--曲线一-->
            <charts:DataSeries
                                RenderAs="Line" x:Name="DataSeriesLow"
                                Cursor="Hand"
                                MarkerEnabled="True"
                                AxisXType="Primary"
                                LineThickness="2"
                                DataSource="{Binding }"
                                ShadowEnabled="True"
                                AutoFitToPlotArea="True"
                                LightingEnabled="false"
                                LabelEnabled="True"
                                Color="#34495e"  LabelFontSize="12" ToolTipText="#AxisXLabel,#LabelText,#YValue">
                                    <charts:DataSeries.DataMappings>
                    <charts:DataMapping MemberName="AxisXLabel" Path="InspectionTime" />
                    <charts:DataMapping MemberName="LabelText" Path="PersonName" />
                    <charts:DataMapping MemberName="YValue" Path="ResultValue" />
                    
                </charts:DataSeries.DataMappings>
    
            </charts:DataSeries>
    
        </charts:Chart.Series>
    </charts:Chart>
    

    效果:

    1

    相关文章

      网友评论

          本文标题:Visifire charts ToolBar

          本文链接:https://www.haomeiwen.com/subject/xuyagxtx.html