sooprise
sooprise

Reputation: 23187

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!

Upvotes: 0

Views: 1116

Answers (1)

KrisTrip
KrisTrip

Reputation: 5043

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

Upvotes: 1

Related Questions