@@ -329,23 +329,29 @@ module.exports = {
329
329
dflt : '' ,
330
330
role : 'style' ,
331
331
description : [
332
- 'Sets the tick label formatting rule using the' ,
333
- 'python/d3 number formatting language.' ,
334
- 'See https://github.com/mbostock/d3/wiki/Formatting#numbers' ,
335
- 'or https://docs.python.org/release/3.1.3/library/string.html#formatspec' ,
336
- 'for more info.'
332
+ 'Sets the tick label formatting rule using d3 formatting mini-languages' ,
333
+ 'which are very similar to those in Python. For numbers, see:' ,
334
+ 'https://github.com/d3/d3-format/blob/master/README.md#locale_format' ,
335
+ 'And for dates see:' ,
336
+ 'https://github.com/d3/d3-time-format/blob/master/README.md#locale_format' ,
337
+ 'We add one item to d3\'s date formatter: *%{n}f* for fractional seconds' ,
338
+ 'with n digits. For example, *2016-10-13 09:15:23.456* with tickformat' ,
339
+ '*%H~%M~%S.%2f* would display *09~15~23.46*'
337
340
] . join ( ' ' )
338
341
} ,
339
342
hoverformat : {
340
343
valType : 'string' ,
341
344
dflt : '' ,
342
345
role : 'style' ,
343
346
description : [
344
- 'Sets the hover text formatting rule for data values on this axis,' ,
345
- 'using the python/d3 number formatting language.' ,
346
- 'See https://github.com/mbostock/d3/wiki/Formatting#numbers' ,
347
- 'or https://docs.python.org/release/3.1.3/library/string.html#formatspec' ,
348
- 'for more info.'
347
+ 'Sets the hover text formatting rule using d3 formatting mini-languages' ,
348
+ 'which are very similar to those in Python. For numbers, see:' ,
349
+ 'https://github.com/d3/d3-format/blob/master/README.md#locale_format' ,
350
+ 'And for dates see:' ,
351
+ 'https://github.com/d3/d3-time-format/blob/master/README.md#locale_format' ,
352
+ 'We add one item to d3\'s date formatter: *%{n}f* for fractional seconds' ,
353
+ 'with n digits. For example, *2016-10-13 09:15:23.456* with tickformat' ,
354
+ '*%H~%M~%S.%2f* would display *09~15~23.46*'
349
355
] . join ( ' ' )
350
356
} ,
351
357
// lines and grids
0 commit comments