]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Hover missing in parameter name 1278/head
authorGuy <guy@tuttnauer-hq.com>
Sun, 5 Jul 2015 09:32:03 +0000 (12:32 +0300)
committerGuy <guy@tuttnauer-hq.com>
Sun, 5 Jul 2015 09:32:03 +0000 (12:32 +0300)
In the 1st dataset, the second time "pointBorderWidth" appeared it was under a comment referring to hover so I corrected it to be "pointHoverBorderWidth".  Also in the 2nd dataset. Needs to be tested.

docs/01-Line-Chart.md

index 840f6cb34739fd36573bc8100c081e6f040b5275..53c31a3aec59e67a6e9cd532974417d004710d5d 100644 (file)
@@ -78,7 +78,7 @@ var data = {
                        pointHoverBorderColor: "rgba(220,220,220,1)",
 
                        // Number or array - border width of point when hovered
-                       pointBorderWidth: 2,
+                       pointHoverBorderWidth: 2,
 
                        // The actual data
                        data: [65, 59, 80, 81, 56, 55, 40],
@@ -97,7 +97,7 @@ var data = {
                        pointHoverRadius: 5,
                        pointHoverBackgroundColor: "rgba(220,220,220,1)",
                        pointHoverBorderColor: "rgba(220,220,220,1)",
-                       pointBorderWidth: 2,
+                       pointHoverBorderWidth: 2,
                        data: [28, 48, 40, 19, 86, 27, 90]
                }
        ]