Add method for obtaining UTC TimeScale

This commit is contained in:
Tom Crockett
2013-11-21 01:03:55 -08:00
parent e5ef1afbee
commit 2c47116ce6
Vendored
+12 -1
View File
@@ -944,7 +944,18 @@ declare module D3 {
iso: TimeFormat;
};
scale(): Scale.TimeScale;
scale: {
/**
* Constructs a new time scale with the default domain and range;
* the ticks and tick format are configured for local time.
*/
(): Scale.TimeScale;
/**
* Constructs a new time scale with the default domain and range;
* the ticks and tick format are configured for UTC time.
*/
utc(): Scale.TimeScale;
};
}
export interface Range {