Patrick O'Carroll
abbb6f933c
added jsdoc-format rule and fixed files that didn't follow new rule ( #13107 )
2018-08-31 16:40:43 +02:00
Torkel Ödegaard
36bc8b77fb
Merge branch 'tsconfig-no-implicit-this'
2018-08-30 11:46:13 +02:00
Patrick O'Carroll
552a61b6ae
changed var to let in 50 files ( #13075 )
2018-08-30 09:03:11 +02:00
Patrick O'Carroll
b494a29e02
changed var to let in last files ( #13087 )
2018-08-30 08:58:43 +02:00
Torkel Ödegaard
80d6ef535d
tsconfig: started on setting noImplicitThis to true
2018-08-30 08:53:13 +02:00
Torkel Ödegaard
272c09513f
tslint: added a new tslint rule
2018-08-30 07:34:17 +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
314b645857
tslint: changing vars -> const ( #13034 )
2018-08-26 18:43:07 +02:00
Torkel Ödegaard
9b978b7203
tslint: autofix of let -> const ( #13033 )
2018-08-26 17:14:40 +02:00
Tobias Skarhed
a65589a5fb
Rename test files
2018-08-14 10:52:41 +02:00
Tobias Skarhed
739bee0207
Karma to Jest: graph (refactor) ( #12860 )
...
* Begin conversion
* Test setup started
* Begin rewrite of graph
* Rewrite as class
* Some tests passing
* Fix binding errors
* Half tests passing
* Call buildFlotPairs. More tests passing
* All tests passing
* Remove test test
* Remove Karma test
* Make methods out of event functions
* Rename GraphElement
2018-08-13 16:08:01 +02:00
Marcus Efraimsson
1bb3cf1c31
keep legend scroll position when series are toggled ( #12845 )
2018-08-09 16:04:56 +03: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
Tobias Skarhed
766c23a1eb
Fix emit errors
2018-07-27 15:16:19 +02:00
Tobias Skarhed
47bec0fd91
Fix requested changes
2018-07-23 15:42:47 +02:00
Tobias Skarhed
529883b61d
Change to arrow functions
2018-07-23 13:39:32 +02:00
Tobias Skarhed
ed8568f0df
Add graph_ctrl jest
2018-07-23 13:38:16 +02:00
Tobias Skarhed
ae935bf08b
Add jest test file
2018-07-23 11:31:04 +02:00
Marcus Efraimsson
608303f4ce
Merge branch 'master' into jquery-flot-events-to-ts
2018-07-23 10:59:25 +02:00
Tobias Skarhed
af0a4a6039
Karma to Jest: 3 test files ( #12414 )
...
* Karma to Jest: viewstate_srv
* Karma to Jest: annotations_srv
* Remove comments
* Karma to Jest: series_override_ctrl
* Remove unnecessary code
* Class to function and fix lint error
* Fix ngInject
2018-06-28 04:43:23 -07:00
Marcus Efraimsson
296a841685
Merge pull request #12123 from alexanderzobnin/fix-11792
...
graph: fix legend decimals precision calculation
2018-06-20 13:08:17 +02:00
Tobias Skarhed
155ff06cbe
Karma to Jest: threshold_manager
2018-06-14 13:22:17 +02:00
Tobias Skarhed
da9a28f37d
Karma to Jest: graph-tooltip
2018-06-11 15:59:20 +02:00
Alexander Zobnin
24f6d34abd
graph: fix legend decimals precision calculation
2018-06-07 16:02:44 +03:00
Daniel Lee
b086981e15
Merge pull request #11954 from grafana/11830-firefox-legend
...
legend: fixes Firefox/baron scroll bug
2018-05-16 16:49:42 +02:00
Daniel Lee
50026fad2e
legend: fixes Firefox/baron scroll bug
...
Compensates for Firefox scrollbar calculation error in the baron framework.
Offsetwidth and clientwidth are used to find the width of the scrollbar. In
the legend these differ by 9px and cause the scroll div to grow by 9px for
every refresh. This fix compensates with a negative margin-right in that
case.
Fixes #11830
2018-05-16 15:08:22 +02:00
Patrick O'Carroll
b2027af4cb
wrote classes
2018-05-16 13:37:26 +02:00
Patrick O'Carroll
d83f886519
migrated jquery.flot.events to ts
2018-05-16 13:37:26 +02:00
Mitsuhiro Tanda
87c9c47579
use canMakeEditable
2018-05-16 11:58:51 +09:00
Mitsuhiro Tanda
fe301142ba
allow to add annotation for non editable dashboard
2018-05-16 11:51:28 +09: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
b16626c3b5
graph histogram: fix invisible highest value bucket
2018-04-30 16:12:31 +02:00
Marcus Efraimsson
138c8c348e
revert renaming of unit key ppm
...
#11211 removed the unit key ppm in favor of conppm. A change which is not forward compatible.
This commit revert the unit key back to ppm.
Also adds some better error description if trying to use a unit which don't exists.
Fixes #11743
2018-04-27 13:41:20 +02:00
Mario Trangoni
e5e6bc56c8
public: fix codespell issues
2018-04-13 20:31:29 +02:00
Alexander Zobnin
74c10515ad
fix right side legend rendering in phantomjs
2018-04-12 14:22:19 +03:00
Alexander Zobnin
d3d64337b4
scrollbar: styles cleanup
2018-04-06 20:00:03 +03:00
Alexander Zobnin
d6233714d2
Merge remote-tracking branch 'upstream/master' into fix-11053
2018-04-05 16:30:46 +03:00
Alexander Zobnin
fa43782299
scrollbar: fix graph legend height
2018-04-05 16:28:12 +03:00
Daniel Lee
2d1f2f3636
Merge pull request #11480 from grafana/graph_tooltip_to_ts
...
Graph tooltip to ts
2018-04-04 23:03:31 +02:00
Alexander Zobnin
6b598f34cd
scrollbar: fix 'legendScrollbar.destroy is not a function' error
2018-04-04 19:00:28 +03:00
Alexander Zobnin
efaf267deb
scrollbar: fix legend rendering issues
2018-04-02 20:47:09 +03:00
Alexander Zobnin
77d2ee9add
Initially move to baron scrollbar
2018-04-02 14:59:49 +03:00
Patrick O'Carroll
7b9b34c6e1
migrated graph_tooltip to ts
2018-03-29 11:51:34 +02:00
Patrick O'Carroll
65f7c5f08f
started migration to ts
2018-03-29 10:40:45 +02:00
Patrick O'Carroll
a3f15ced68
fixed graphpanel editmode and custom width for right side legend for IE11
2018-03-28 14:19:17 +02:00
Daniel Lee
78d314a9c1
Merge pull request #11140 from grafana/11131_right_legend_responsive
...
added media breakpoint to legend-right
2018-03-23 12:49:35 +01:00
Daniel Lee
4f38d237cb
legend: small refactoring
2018-03-23 11:08:24 +01:00
Marcus Efraimsson
c672e44d35
graph: minor fixes to y-axes alignment feature
2018-03-22 18:30:23 +01:00
Patrick O'Carroll
4916826364
small screen legend right also work like legend under in render + set scrollbar to undefined in destroyScrollbar so it doesnt become disabled when toggeling between right and under
2018-03-22 14:39:13 +01:00
Patrick O'Carroll
f2f709989f
fixed so legend right works like legend under on small screens
2018-03-22 09:41:05 +01:00