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

Skip to content

Commit 2744e5e

Browse files
committed
Copy over information about x-axis data type to shape attributes
1 parent d8e27dd commit 2744e5e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/components/shapes/attributes.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module.exports = {
3434
'If *rect*, a rectangle is drawn linking',
3535
'(`x0`,`y0`), (`x1`,`y0`), (`x1`,`y1`), (`x0`,`y1`), (`x0`,`y0`)',
3636

37-
'If *path*, draw a custom SVG path using `path`.'
37+
'If *path*, draw a custom SVG path using `path`.',
3838
].join(' ')
3939
},
4040

@@ -53,7 +53,11 @@ module.exports = {
5353
'refers to an x coordinate',
5454
'If set to *paper*, the `x` position refers to the distance from',
5555
'the left side of the plotting area in normalized coordinates',
56-
'where *0* (*1*) corresponds to the left (right) side.'
56+
'where *0* (*1*) corresponds to the left (right) side.',
57+
'If the axis `type` is *log*, then you must take the',
58+
'log of your desired range.',
59+
'If the axis `type` is *date*, then you must convert',
60+
'the date to unix time in milliseconds.'
5761
].join(' ')
5862
}),
5963
x0: {

0 commit comments

Comments
 (0)