Time metrics solver generates metrics through timing models according to the range projection which is usually a timing projection.
Timing projection derives from linear projection and is defined by constructor date arguments instead of classic decimal range.
Model determines whether metrics is supposed to be displayed in term of models that represent time. Are we building millisecond, minutes, hours, days or decade ?
Use JenScript.TimeXProjection
for view projection and register an instance of JenScript.AxisMetricsTiming
as metrics plugin for a given axis, a set of time model and physical properties.
Resource : sample source code
Learn : javascript metrics plugin source