Options
name | type | description | default | |
---|---|---|---|---|
time | animate | number | The line animation time when either window resize event be fired or user playing with drag&drop. | 300 |
time | frame | number | The dash line's dash moving total seconds. | 3000 |
time | highlight | number | Highlight holding time. The line will be disappeared when time be ended. | 3000 |
grad | number | The gradient of line 0.1(curve), 10(straight) | 1.75 | |
strokeSpeed | number | How many dash line moves one second. | 500 | |
strokeColor | string | Default line color (rgba, rgb, hash color). | rgba(192, 192, 192, .6) | |
strokeDashColor | string | Dash line color (rgba, rgb, hash color). | rgba(192, 192, 192, .95) | |
strokeHighlightColor | string | Highlighted line color. | rgba(200, 206, 255, .6) | |
strokeHighlightDashColor | string | Highlighted dash line color. | rgba(178, 192, 255, 1) | |
strokeWidth | number | Default line thickness (px). | 1 | |
strokeDashWidth | number | Dash line thickness (px). | 1 | |
strokeHighlightWidth | number | Highlighted line thickness (px). | 1 | |
strokeDashWeight | number | Each of dash dottes's length (px). | 8 | |
strokeDashMargin | number | Gap about each of dash line's dottes (px). | 6 | |
update | function | If you change grid or property position by drag and drop, This callback will be fired. | null |