Make default data points as 12, i.e. 2nd on the index list
This commit is contained in:
parent
cdbadbe761
commit
94d03f6130
@ -116,7 +116,7 @@ $(function() {
|
||||
var chart_replot_timer = null;
|
||||
var is_timer_on = 0;
|
||||
var refresh_rate = 5000;
|
||||
var data_points = 10;
|
||||
var data_points = 12;
|
||||
|
||||
/* Chart configuration */
|
||||
// Defines what the tabs are currently displaying (realtime or data)
|
||||
|
||||
@ -1802,7 +1802,7 @@ function refreshList($name, $defaultRate=5, $refreshRates=Array(1, 2, 5, 10, 20,
|
||||
}
|
||||
|
||||
/* Builds a <select> list for number of data points to be displayed */
|
||||
function getDataPointsNumberList($name, $defaultValue=10, $values=Array(10, 15, 20, 25, 30, 35, 40))
|
||||
function getDataPointsNumberList($name, $defaultValue=12, $values=Array(8, 10, 12, 15, 20, 25, 30, 40))
|
||||
{
|
||||
$html_output = '<select name="' . $name . '" id="id_' . $name . '" class="dataPointsNumber">';
|
||||
foreach ($values as $number) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user