mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-19 14:46:51 +01:00
Remove global from defaults (#6893)
This commit is contained in:
committed by
Evert Timberg
parent
099e552e6d
commit
f4792306e0
@@ -26,16 +26,14 @@ defaults._set('bar', {
|
||||
}
|
||||
});
|
||||
|
||||
defaults._set('global', {
|
||||
datasets: {
|
||||
bar: {
|
||||
categoryPercentage: 0.8,
|
||||
barPercentage: 0.9,
|
||||
animation: {
|
||||
numbers: {
|
||||
type: 'number',
|
||||
properties: ['x', 'y', 'base', 'width', 'height']
|
||||
}
|
||||
defaults._set('datasets', {
|
||||
bar: {
|
||||
categoryPercentage: 0.8,
|
||||
barPercentage: 0.9,
|
||||
animation: {
|
||||
numbers: {
|
||||
type: 'number',
|
||||
properties: ['x', 'y', 'base', 'width', 'height']
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,12 +36,10 @@ defaults._set('horizontalBar', {
|
||||
}
|
||||
});
|
||||
|
||||
defaults._set('global', {
|
||||
datasets: {
|
||||
horizontalBar: {
|
||||
categoryPercentage: 0.8,
|
||||
barPercentage: 0.9
|
||||
}
|
||||
defaults._set('datasets', {
|
||||
horizontalBar: {
|
||||
categoryPercentage: 0.8,
|
||||
barPercentage: 0.9
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -27,11 +27,9 @@ defaults._set('scatter', {
|
||||
}
|
||||
});
|
||||
|
||||
defaults._set('global', {
|
||||
datasets: {
|
||||
scatter: {
|
||||
showLine: false
|
||||
}
|
||||
defaults._set('datasets', {
|
||||
scatter: {
|
||||
showLine: false
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user