简体   繁体   中英

Always Display Date In ZedGraph Axis?

var p = zgc.GraphPane;
p.XAxis.Type = AxisType.Date;

My date values are in a PointPairList in XDate 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!

您是否尝试过调整XAxis.Scale.MajorUnit或XAxis.Scale.MinorUnit值?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM