08-30-2019, 04:22 PM
I don't know if i change right
code:
var maxgrph = Math.ceil(maxnum + (10 * maxnum / 100));
Chart.scaleService.updateScaleDefaults('linear', {
ticks: {
min: 0,
max: maxgrph,
precision: 0
}
and I remove a template_c
rm *Home*
but not changes a graph ...
or
};
var maxnum = Math.max.apply(Math, chartDataObject.datasets[0].data);
var maxgrph = Math.ceil(maxnum + (10 * maxnum / 100));
Chart.scaleService.updateScaleDefaults('linear', {
ticks: {
min: 0,
precision: 0
}
});
=(
code:
var maxgrph = Math.ceil(maxnum + (10 * maxnum / 100));
Chart.scaleService.updateScaleDefaults('linear', {
ticks: {
min: 0,
max: maxgrph,
precision: 0
}
and I remove a template_c
rm *Home*
but not changes a graph ...
or
};
var maxnum = Math.max.apply(Math, chartDataObject.datasets[0].data);
var maxgrph = Math.ceil(maxnum + (10 * maxnum / 100));
Chart.scaleService.updateScaleDefaults('linear', {
ticks: {
min: 0,
precision: 0
}
});
=(
Ranieri
eCRM Web
eCRM Web