<d3:CursorCoordinateGraph/>:
- CursorCoordinateGraph:十字光标
<d3:AxisCursorGraph/>:
- AxisCursorGraph:十字光标对应的X,Y轴对应点【红线】
UIElement messageGrid = (UIElement)Resources["warningMessage"];
plotter.MainCanvas.Children.Add(messageGrid); //添加警告提示框
<d3:HorizontalLine Value="0.5" StrokeThickness="2" ToolTip="Hamster was here"/>:
- HorizontalLine :水平线(常数线y轴)
- StrokeThickness:频闪厚度
<d3:VerticalLine Value="0.4"/>:
- VerticalLine :垂线(常数线x轴)
<d3:RectangleHighlight Bounds="0.1, 0.6, 0.15, 0.2" StrokeThickness="2" Fill="MidnightBlue"/>:
- RectangleHighlight :矩形高亮显示
- Bounds:界限(x点,y点,x宽,y高)
- Fill:填充【MidnightBlue】午夜蓝
<d3:Segment StartPoint="0.3, 0.45" EndPoint="0.5, 0.65" Stroke="Green" StrokeThickness="2" StrokeDashArray="2"/>:
- Segment :线段
- StartPoint:起始点(x,y)
- EndPoint:结束点(x,y)
<d3:HorizontalRange Value1="0.1" Value2="0.15" Fill="Green"/>:
- HorizontalRange :水平条范围
<d3:VerticalRange Value1="0.1" Value2="0.12" Fill="Fuchsia"/>:
- VerticalRange :垂直条范围
<d3:PositionalViewportUIContainer Position="0.3,0.7"><Button>Hello!</Button></d3:PositionalViewportUIContainer>
- PositionalViewportUIContainer:位置视图保持器
- Position:位置(X,Y)
<d3:NumericSelector Name="doubleSelector"/>
<TextBlock>
<Run>Selected = </Run>
<TextBlock Text="{Binding ElementName=doubleSelector, Path=SelectedValue}"/>
</TextBlock>
- NumericSelector :数字选择器