本帖最后由 szpzr 于 2024-4-14 14:23 编辑
老师,您好!
chart.View.PlotAreas.Add(new PlotArea()
{
Row =1,
Stroke = new SolidColorBrush(Colors.DarkGray),
StrokeThickness = 0.5,
Background = new SolidColorBrush(Colors.Blue) { Opacity = 0.1 }
});
chart.View.PlotAreas.Add(new PlotArea()
{
Row = 0,
Stroke = new SolidColorBrush(Colors.DarkGray),
StrokeThickness = 0.5,
Background = new SolidColorBrush(Colors.Green) { Opacity = 0.1 }
});
chart的鼠标移动或点击事件中如何判断点击 PlotArea 索引行?
|
|