Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有使用 WPF Toolkit DataVisualisation Chart 的简单 (x,y) 图表。
这是面积图,但可以是折线图或方框图。
我需要在图表上显示 - 最后更新了哪个数据点。我想为该数据点画一条线或显示一条粗网格线。
可以做些什么来实现它?
我不得不更改工具包类中的代码。OrientedAxisGridLines在经历了 4 个小时后,我终于通过将一些代码添加到:(画线),LinearAxis(计算线的像素位置),DataPointSeriesWithAxes(让 dep 道具绑定到用户数据)中完成了继承的 khaos 。
OrientedAxisGridLines
LinearAxis
DataPointSeriesWithAxes
代码很尴尬,是为了完成工作而编写的,所以我不分享它。
如果有想看的人-留下评论我可能会稍后再做...