Commit be418be6 by Valera Rozuvan Committed by Alexander Kryklia

Added default number of points to be width / 5.

parent 0eeabc68
......@@ -303,10 +303,12 @@ define('Graph', ['logme'], function (logme) {
tempNum = parseInt(config.plot.num_points, 10);
if (isFinite(tempNum) === false) {
logme('ERROR: Expected config.plot.num_points to be a a valid integer. It is not.');
logme('config.plot.num_points = ', config.plot.num_points);
// logme('ERROR: Expected config.plot.num_points to be a a valid integer. It is not.');
// logme('config.plot.num_points = ', config.plot.num_points);
return false;
// return false;
tempNum = plotDiv.width() / 5.0;
}
if (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment