Skip to content

Commit aaa3e3c

Browse files
committed
Merge pull request #506 from cambridgemike/cambridgemike/update-shape-documentation
Copy over information about x-axis data type to shape attributes
2 parents d8e27dd + d7a501d commit aaa3e3c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/shapes/attributes.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)