Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
1b87ce38
Commit
1b87ce38
authored
Aug 23, 2013
by
Spencer Alger
Committed by
Rashid Khan
Aug 26, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleaned up the documentation a bit
parent
d891d00f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
panels/histogram/module.js
+13
-7
No files found.
panels/histogram/module.js
View file @
1b87ce38
...
@@ -108,11 +108,17 @@ angular.module('kibana.histogram', [])
...
@@ -108,11 +108,17 @@ angular.module('kibana.histogram', [])
$scope
.
panel
.
interval
=
interval
||
'10m'
;
$scope
.
panel
.
interval
=
interval
||
'10m'
;
return
$scope
.
panel
.
interval
;
return
$scope
.
panel
.
interval
;
};
};
/**
/**
* Fetch the data for a chunk of a queries results. Multiple segments occur when several indicies
* Fetch the data for a chunk of a queries results. Multiple segments occur when several indicies
* need to be consulted (like timestamped logstash indicies)
* need to be consulted (like timestamped logstash indicies)
* @param number segment The segment count, (0 based)
*
* @param number query_id The id of the query, generated on the first run and passed back when
* The results of this function are stored on the scope's data property. This property will be an
* array of objects with the properties info, time_series, and hits. These objects are used in the
* render_panel function to create the historgram.
*
* @param {number} segment The segment count, (0 based)
* @param {number} query_id The id of the query, generated on the first run and passed back when
* this call is made recursively for more segments
* this call is made recursively for more segments
*/
*/
$scope
.
get_data
=
function
(
segment
,
query_id
)
{
$scope
.
get_data
=
function
(
segment
,
query_id
)
{
...
@@ -469,16 +475,16 @@ angular.module('kibana.histogram', [])
...
@@ -469,16 +475,16 @@ angular.module('kibana.histogram', [])
* Certain graphs require 0 entries to be specified for them to render
* Certain graphs require 0 entries to be specified for them to render
* properly (like the line graph). So with this we will caluclate all of
* properly (like the line graph). So with this we will caluclate all of
* the expected time measurements, and fill the missing ones in with 0
* the expected time measurements, and fill the missing ones in with 0
* @param
object
opts An object specifying some/all of the options
* @param
{object}
opts An object specifying some/all of the options
*
*
* OPTIONS:
* OPTIONS:
* @opt
string
interval The interval notion describing the expected spacing between
* @opt
{string}
interval The interval notion describing the expected spacing between
* each data point.
* each data point.
* @opt
date
start_date (optional) The start point for the time series, setting this and the
* @opt
{date}
start_date (optional) The start point for the time series, setting this and the
* end_date will ensure that the series streches to resemble the entire
* end_date will ensure that the series streches to resemble the entire
* expected result
* expected result
* @opt
date
end_date (optional) The end point for the time series, see start_date
* @opt
{date}
end_date (optional) The end point for the time series, see start_date
* @opt
string
fill_style Either "minimal", or "all" describing the strategy used to zero-fill
* @opt
{string}
fill_style Either "minimal", or "all" describing the strategy used to zero-fill
* the series.
* the series.
*/
*/
this
.
ZeroFilled
=
function
(
opts
)
{
this
.
ZeroFilled
=
function
(
opts
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment