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.
我正在构建并在 WinForm 中显示 ZedGraph。当我右键单击图表时,有一个“显示点值”选项。启用后,将鼠标悬停在一个点上会给出该点的 X/Y 值。
初始化表单后,请执行以下操作:
var zgc = msGraphControl1.zedGraphControl1; zgc.IsShowPointValues = true; zgc.PointValueFormat = "0.000"; zgc.PointDateFormat = "d";
那应该这样做。