Do not increase ticks > 20 to prevent overlapping, though data points may increase

This commit is contained in:
Atul Pratap Singh 2012-08-07 23:53:26 +05:30
parent 36b16c409c
commit 3751474ca6

View File

@ -397,6 +397,7 @@ $(function() {
// Min X would be decided based on refresh rate and number of data points
var minX = current_time - (refresh_rate * num);
var interval = (((current_time - minX)/num) / 1000);
interval = (num > 20) ? (((current_time - minX)/20) / 1000) : interval;
var settings = {
title: PMA_messages['strChartIssuedQueriesTitle'],
axes: {