We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d79d00a commit 14a14d8Copy full SHA for 14a14d8
src/plots/plots.js
@@ -251,6 +251,16 @@ plots.sendDataToCloud = function(gd) {
251
return false;
252
};
253
254
+var d3FormatKeys = [
255
+ 'days', 'shortDays', 'months', 'shortMonths', 'periods',
256
+ 'dateTime', 'date', 'time',
257
+ 'decimal', 'thousands', 'grouping', 'currency'
258
+];
259
+
260
+var extraFormatKeys = [
261
+ 'year', 'month', 'dayMonth', 'dayMonthYear'
262
263
264
// Fill in default values:
265
//
266
// gd.data, gd.layout:
@@ -482,16 +492,6 @@ function remapTransformedArrays(cd0, newTrace) {
482
492
}
483
493
484
494
485
-var d3FormatKeys = [
486
- 'days', 'shortDays', 'months', 'shortMonths', 'periods',
487
- 'dateTime', 'date', 'time',
488
- 'decimal', 'thousands', 'grouping', 'currency'
489
-];
490
-
491
-var extraFormatKeys = [
- 'year', 'month', 'dayMonth', 'dayMonthYear'
495
/**
496
* getFormatObj: use _context to get the format object from locale.
497
* Used to get d3.locale argument object and extraFormat argument object
0 commit comments