]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Update docs 2276/head
authorEvert Timberg <evert.timberg+github@gmail.com>
Sun, 17 Apr 2016 01:50:45 +0000 (21:50 -0400)
committerEvert Timberg <evert.timberg+github@gmail.com>
Sun, 17 Apr 2016 01:50:45 +0000 (21:50 -0400)
docs/01-Scales.md
test/core.helpers.tests.js

index e7a84ddab956c4531ed0b1baef57c837a90f21e2..68737b6e041d2fa42670ba73f643cf1bf6b4f667 100644 (file)
@@ -35,6 +35,7 @@ afterUpdate | Function | undefined | Callback that runs at the end of the update
 *gridLines*.lineWidth | Number | 1 | Stroke width of grid lines
 *gridLines*.drawOnChartArea | Boolean | true | If true, draw lines on the chart area inside the axis lines. This is useful when there are multiple axes and you need to control which grid lines are drawn
 *gridLines*.drawTicks | Boolean | true |  If true, draw lines beside the ticks in the axis area beside the chart.
+*gridLines*.tickMarkLength | Number | 10 | Length in pixels that the grid lines will draw into the axis area.
 *gridLines*.zeroLineWidth | Number | 1 | Stroke width of the grid line for the first index (index 0).
 *gridLines*.zeroLineColor | Color | "rgba(0, 0, 0, 0.25)" | Stroke color of the grid line for the first index (index 0).
 *gridLines*.offsetGridLines | Boolean | false | If true, offset labels from grid lines.
index 7bc5dc3c7fca4f5a13358023542ca1794ecdff43..9638a373a052aa1a9374cc4d1afa66ed87e1c761 100644 (file)
@@ -248,7 +248,7 @@ describe('Core helper tests', function() {
                                                color: "rgba(0, 0, 0, 0.1)",
                                                drawOnChartArea: true,
                                                drawTicks: true, // draw ticks extending towards the label,
-                                               tickMarkLength: 10
+                                               tickMarkLength: 10,
                                                lineWidth: 1,
                                                offsetGridLines: false,
                                                display: true,