]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Update the docs
authorJannis Achstetter <jannis.achstetter@schneider-electric.com>
Thu, 21 Apr 2016 07:23:48 +0000 (09:23 +0200)
committerJannis Achstetter <jannis.achstetter@schneider-electric.com>
Thu, 21 Apr 2016 07:41:28 +0000 (09:41 +0200)
docs/02-Line-Chart.md

index 2202fcb671c91fb9a520bb3982a881946d8a8e73..82d2f71f046ea6d9c767e0b607f8a7476087f422 100644 (file)
@@ -80,8 +80,9 @@ var data = {
                        // Number or array - border width of point when hovered
                        pointHoverBorderWidth: 2,
 
-                       // Tension - bezier curve tension of the line. Set to 0 to draw straight Wlines connecting points
-                       tension: 0.1,
+                       // Tension - bezier curve tension of the line. Set to 0 to draw straight lines connecting points
+                       // Used to be called "tension" but was renamed for consistency. The old option name continues to work for compatibility.
+                       lineTension: 0.1,
 
                        // Number - the pixel size of the point shape. Can be set to 0 to not render a circle over the point
                        radius: 1,