Merge pull request #2629 from nvdh/master

Fix for documentation issue #2628
This commit is contained in:
Evert Timberg 2016-05-25 09:03:14 -04:00
commit 6a70f96d12

View File

@ -128,10 +128,12 @@ new Chart(ctx, {
type: 'line', type: 'line',
data: data, data: data,
options: { options: {
scales: {
xAxes: [{ xAxes: [{
display: false display: false
}] }]
} }
}
}); });
// This will create a chart with all of the default options, merged from the global config, // This will create a chart with all of the default options, merged from the global config,
// and the Line chart defaults, but this particular instance will have the x axis not displaying. // and the Line chart defaults, but this particular instance will have the x axis not displaying.