Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Oct 6, 2022. It is now read-only.

Commit 6042b0f

Browse files
committed
More detailed description for exponentbase
1 parent 8197ea0 commit 6042b0f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/plots/cartesian/layout_attributes.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,13 @@ module.exports = {
294294
dflt: 10,
295295
role: 'style',
296296
description: [
297-
'Determines the base for axes and exponent labels.'
297+
'Determines the base for axes and exponent labels.',
298+
'\"SI\" exponent formatting is available for bases of 2 and 10,',
299+
'but otherwise, the exponent format will be overridden',
300+
'and forced to use \"power\". This attribute will also affect',
301+
'gridline spacing - placing them in accordance with their logical',
302+
'base increments. E.g. if exponentbase is set to 2, a gridline',
303+
'may be set at 1024 instead of 1000.'
298304
].join(' ')
299305
},
300306
tickformat: {

0 commit comments

Comments
 (0)