开发者

Always Display Date In ZedGraph Axis?

开发者 https://www.devze.com 2023-02-15 20:36 出处:网络
var p = zgc.GraphPane; p.XAxis.Type = AxisType.Date; My date values are in a PointPairList in XD开发者_如何转开发ate format.
var p = zgc.GraphPane;
p.XAxis.Type = AxisType.Date;

My date values are in a PointPairList in XD开发者_如何转开发ate format.

When I zoom in my graph, the tick labels only show time values and not date values. I want to be able to always show a date and time so I know what date I am looking at.

If you could help me solve this simple problem, I would appreciate it, Thanks!


Have you tried adjusting the XAxis.Scale.MajorUnit or XAxis.Scale.MinorUnit values?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号