Patrick O'Carroll
552a61b6ae
changed var to let in 50 files ( #13075 )
2018-08-30 09:03:11 +02:00
Patrick O'Carroll
a702603e7b
changed var to const 2 ( #13068 )
...
* changed var to const
* fixed typo created in last commit
* added or empty object to options in prometheus/datasource
2018-08-29 14:27:29 +02:00
Torkel Ödegaard
9b978b7203
tslint: autofix of let -> const ( #13033 )
2018-08-26 17:14:40 +02:00
Mitsuhiro Tanda
04fcd2a054
add series override option to hide tooltip ( #12378 )
...
* add series override option to hide tooltip
* fix test
* invert option
* fix test
* remove initialization
2018-08-02 02:49:40 -07:00
Alexander Zobnin
24f6d34abd
graph: fix legend decimals precision calculation
2018-06-07 16:02:44 +03:00
Chris Rice
10f934d287
Add alpha color channel support for graph bars ( #10956 )
...
* Set fillColor in bars on load and on color change
* Change bar fill color on color override
* Added test for series overrides
* Moved bars fill color setting into time_series. Fixed issue with prev commit where you could not show bars because of series overrides.
2018-05-08 15:18:57 +02:00
Alexander Zobnin
1108101087
Fix tooltip unit when legend isn't shown ( #10348 )
...
* graph: fix tooltip unit when legend isn't shown, #10311
* fix broken tests (updateLegendValues() function)
2017-12-27 09:50:51 +01:00
Torkel Ödegaard
85879a7014
prettier: change to single quoting
2017-12-20 12:33:33 +01:00
Torkel Ödegaard
fadfc665e4
tech: ran pretttier on all typescript files
2017-12-19 16:06:54 +01:00
Torkel Ödegaard
35a7109a6a
refactoring: fixing bug when all values are null
2017-12-08 11:45:44 +01:00
Torkel Ödegaard
c629a58b6d
refactor: removed graph height from legend decimal calc
2017-12-07 18:13:56 +01:00
Alexander Zobnin
3cdf0dce56
graph: move auto decimals calc to ticks.ts and use it for legend values format.
2017-12-07 10:49:00 +03:00
Torkel Ödegaard
b986f744e4
fix: escape series name in graph legend, added aliasEscaped to time series model to reuse escape, fixes #9615
2017-10-23 10:15:58 +02:00
Alexander Zobnin
3184942aeb
Fix NaN handling ( #9469 )
...
* graph: fix NaN formatting, #9012
* singlestat: prevent null value coloring, #9012 , #8404
* timeseries: add tests for #9012 and move test file to TS
2017-10-10 14:25:57 +02:00
Torkel Ödegaard
491fa6cad8
tech: more tslint rules
2017-09-21 17:23:31 +02:00
Alin Sinpalean
5d4b8b5a5c
Have 'Hide series with only zeros' ignore nulls ( #9179 )
...
* Prometheus: Fix actual step computation logic when a min_step is specified and the range is longer than min_step * 11000.
* Have the 'Hide series with only zeros' option also apply to series with some null values.
2017-09-06 16:50:55 +02:00
Daniel Lee
3292a48381
graph: dashes with linewidth fix. Fixes #8469
...
Adds series override options for dash spaces and dash length.
2017-05-26 15:09:05 +02:00
Daniel Lee
6707d77af5
graph: dashes option only used in series overrides
...
Removes dashes option from Display tab so that it is only available
for series overrides. Also removes options for dash space and length
in series overrides and just uses the default values of 10 for both of
them.
2017-04-26 13:19:24 +02:00
smalik
1a3bc60e69
feat(dashed lines): Implementing dashed lines
...
Adding support for dashed lines using jquery.flot.dashes.js
2017-04-26 13:19:24 +02:00
Torkel Ödegaard
f1276774a0
typescript: updated tslint and fixed new warnings
2017-04-20 11:16:37 +02:00
Daniel Lee
28cf229707
Merge branch 'autologscale' of git://github.com/bigbenhur/grafana into bigbenhur-autologscale
2017-03-10 11:57:00 +01:00
oliverpool
2b932492c2
Add a diff
aggregate
...
`diff = current - first` (when available)
2017-01-12 16:19:18 +01:00
Dirk le Roux
49dda7e5c1
first, delta, range passing unit tests
...
Signed-off-by: Dirk le Roux <dirk.leroux@gmail.com>
2016-11-29 08:26:31 +02:00
Torkel Ödegaard
71eb0f3278
fix(graph): fixed issue with bar width when used in series override, fixes #6528
2016-11-10 10:50:48 +01:00
Ben RUBSON
6495ba155a
Correct timeStep in case of missing values ( #6526 )
...
* Correct timeStep in case of missing values
* Comment
2016-11-10 10:20:27 +01:00
Torkel Ödegaard
34f15d92d0
feat(testdata): worked on testdata app
2016-09-27 14:39:51 +02:00
bigbenhur
29b9d17faa
fix crash due to zero or negative data values in graph with log scale
2016-06-03 22:30:38 +02:00
Utkarsh Bhatnagar
8a0d5aa38d
[Bug Fix] #5136 ( #5142 )
2016-05-23 20:58:21 +02:00
Torkel Ödegaard
ad0794cc59
ux(): updated light theme
2016-04-12 14:26:55 -04:00
Torkel Ödegaard
44cf66d7ff
refactoring(): fixing event things
2016-04-07 19:23:20 -04:00
Torkel Ödegaard
4b08f3909d
fix(graph): legend height calculation now takes into account series hidden from legend, fixes #4245
2016-03-04 11:16:31 +01:00
bergquist
98e756e278
fix(tooltip): msdetection can now handle null data points
2016-03-01 14:10:09 +01:00
utkarshcmu
75541b9cf0
Optimized msResolution func performation
2016-03-01 01:27:14 -08:00
utkarshcmu
8bc63e9029
Added spec tests for millisecond resolution
2016-03-01 01:09:14 -08:00
utkarshcmu
77f6449db9
Added millisecond detection in series
2016-03-01 00:20:34 -08:00
bergquist
42802ac710
tech(singlestat): convert singlestat panel to typescript
2016-01-24 18:56:10 +01:00
Torkel Ödegaard
59c928acc2
feat(tslint): added more tslint rules
2016-01-13 21:07:57 +01:00
Torkel Ödegaard
f074c1eaff
refactor(lodash): changed how lodash is referenced from typescript
2015-12-22 13:59:11 +01:00
Torkel Ödegaard
0dd7fb7361
tech(systemjs): most things work
2015-12-18 10:28:00 +01:00