@@ -329,23 +329,29 @@ module.exports = {
329329 dflt : '' ,
330330 role : 'style' ,
331331 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*'
337340 ] . join ( ' ' )
338341 } ,
339342 hoverformat : {
340343 valType : 'string' ,
341344 dflt : '' ,
342345 role : 'style' ,
343346 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*'
349355 ] . join ( ' ' )
350356 } ,
351357 // lines and grids
0 commit comments