mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-07 04:39:06 +02:00
Merge pull request #2629 from nvdh/master
Fix for documentation issue #2628
This commit is contained in:
commit
6a70f96d12
@ -128,10 +128,12 @@ new Chart(ctx, {
|
||||
type: 'line',
|
||||
data: data,
|
||||
options: {
|
||||
scales: {
|
||||
xAxes: [{
|
||||
display: false
|
||||
}]
|
||||
}
|
||||
}
|
||||
});
|
||||
// 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.
|
||||
|
Loading…
Reference in New Issue
Block a user