|
12 | 12 | module.exports = { |
13 | 13 | axisRefDescription: function(axisname, lower, upper) { |
14 | 14 | return [ |
15 | | - 'If set to a ', axisname, ' axis id (e.g. *', axisname, '* or', |
16 | | - '*', axisname, '2*), the `', axisname, '` position refers to a', |
17 | | - '', axisname, ' coordinate. If set to *paper*, the `', axisname, '`', |
18 | | - 'position refers to the distance from the ', lower, ' of the plotting', |
| 15 | + 'If set to a', axisname, 'axis id (e.g. *' + axisname + '* or', |
| 16 | + '*' + axisname + '2*), the `' + axisname + '` position refers to a', |
| 17 | + axisname, 'coordinate. If set to *paper*, the `' + axisname + '`', |
| 18 | + 'position refers to the distance from the', lower, 'of the plotting', |
19 | 19 | 'area in normalized coordinates where *0* (*1*) corresponds to the', |
20 | | - '', lower, ' (', upper, '). If set to a ', axisname, ' axis ID followed by', |
| 20 | + lower, '(' + upper + '). If set to a', axisname, 'axis ID followed by', |
21 | 21 | '*domain* (separated by a space), the position behaves like for', |
22 | 22 | '*paper*, but refers to the distance in fractions of the domain', |
23 | | - 'length from the ', lower, ' of the domain of that axis: e.g.,', |
24 | | - '*', axisname, '2 domain* refers to the domain of the second', |
25 | | - '', axisname, ' axis and a ', axisname, ' position of 0.5 refers to the', |
26 | | - 'point between the ', lower, ' and the ', upper, ' of the domain of the', |
27 | | - 'second ', axisname, ' axis.', |
| 23 | + 'length from the', lower, 'of the domain of that axis: e.g.,', |
| 24 | + '*' + axisname + '2 domain* refers to the domain of the second', |
| 25 | + axisname, ' axis and a', axisname, 'position of 0.5 refers to the', |
| 26 | + 'point between the', lower, 'and the', upper, 'of the domain of the', |
| 27 | + 'second', axisname, 'axis.', |
28 | 28 | ].join(' '); |
29 | 29 | } |
30 | 30 | }; |
0 commit comments