mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-22 16:16:51 +01:00
Clean up some unused config options. Renamed 'show' to 'display' for scales since that was clearer and maintains backwards compatibility.
This commit is contained in:
@@ -10,9 +10,8 @@
|
||||
scales: {
|
||||
xAxes: [{
|
||||
scaleType: "dataset", // scatter should not use a dataset axis
|
||||
show: true,
|
||||
display: true,
|
||||
position: "bottom",
|
||||
horizontal: true,
|
||||
id: "x-axis-1", // need an ID so datasets can reference the scale
|
||||
|
||||
// grid line settings
|
||||
@@ -46,7 +45,6 @@
|
||||
scaleType: "linear", // only linear but allow scale type registration. This allows extensions to exist solely for log scale for instance
|
||||
show: true,
|
||||
position: "left",
|
||||
horizontal: false,
|
||||
id: "y-axis-1",
|
||||
|
||||
// grid line settings
|
||||
|
||||
Reference in New Issue
Block a user