Wpf/MultipleSeriesTest/MultipleSeriesView.xaml
(完整代码) 1KB<UserControl x:Class="Geared.Wpf.MultipleSeriesTest.MultipleSeriesView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:lvc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf"
xmlns:multipleSeriesTest="clr-namespace:Geared.Wpf.MultipleSeriesTest"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300">
<UserControl.DataContext>
<multipleSeriesTest:MultipleSeriesVm></multipleSeriesTest:MultipleSeriesVm>
</UserControl.DataContext>
<Grid>
<Grid.Resources>
<Style TargetType="lvc:Separator">
<Setter Property="Stroke" Value="#69000000"></Setter>
<Setter Property="StrokeThickness" Value=".8"></Setter>
<Setter Property="StrokeDashArray" Value="2"></Setter>
</Style>
</Grid.Resources>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions>
<TextBlock TextWrapping="Wrap">
In this case we have 30 series, with 10,000 points each,
even the quality is set to low, once you zoom in the library is smart
enough to draw the lines without any error, use your mouse wheel to zoom in/out,
click hold and drag for panning.
</TextBlock>
<lvc:CartesianChart Grid.Row="1"
DisableAnimations="True"
Series="{Binding Series}"
DataTooltip="{x:Null}"
Zoom="Xy"/>
</Grid>
</UserControl>
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
