因为项目需要用到 DynamicDataDisplay,但第一次用,居然度娘能交我的只有那些,只好靠自己~!
=========================================================
XAML:
<d3:ChartPlotter Name="plotter" Margin="10" >
<d3:VerticalAxisTitle FontFamily="Arial" Content="10 mm Absorbance" />
<d3:HorizontalAxisTitle FontFamily="Arial" Content="Wavelength nm" /> </d3:ChartPlotter>
CS:
//取消表内鼠标和键盘的缩放功能
plotter.Children.Remove(plotter.MouseNavigation);
plotter.Children.Remove(plotter.KeyboardNav

本文记录了作者初次使用DynamicDataDisplay库在C# WPF项目中的学习心得,包括如何在XAML中设置图表元素以及在CS代码中禁用图表的某些功能,如鼠标和键盘缩放、网格显示及Y坐标轴导航。
4074

被折叠的 条评论
为什么被折叠?



