Widget:PlaceNamesCharts: Difference between revisions

From International Robin Hood Bibliography
mNo edit summary
mNo edit summary
Line 297: Line 297:
} else if (maxBar < 101) {
} else if (maxBar < 101) {
step = 10;
step = 10;
} else if (maxBar < 501) {
step = 25;
} else {
} else {
step = 25;
step = 50;
}
}
chrt.options.scales.yAxes[0].ticks.stepSize = step;
chrt.options.scales.yAxes[0].ticks.stepSize = step;

Revision as of 00:52, 13 April 2019

This widget generates charts on landing pages. It takes no parameters.