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
ilgizar
0e159dada1
Allocated to a separate alignment block. Replaced the attribute of the second axis by the attribute of the axes.
2018-03-20 22:44:48 +05:00
ilgizar
e015047ed1
Fixed unit test.
2018-03-20 16:09:52 +05:00
ilgizar
1588295375
Changed the way this feature was activated. And changed tolltip.
2018-03-20 15:38:48 +05:00
ilgizar
230f018c78
Added validation of input parameters.
2018-03-20 15:37:18 +05:00
ilgizar
bd3d17ab8c
Merge remote-tracking branch 'upstream/master' into 1271_share_zero
2018-03-14 23:42:58 +05:00
ilgizar
9d7ab78d9f
Resolved conflict
2018-03-14 23:39:05 +05:00
Alexander Zobnin
30d077d1d1
graph: minor refactor of histogram mode PR #8613
2018-03-13 15:25:28 +03:00
Alexander Zobnin
38a19f7c90
Merge branch 'histogram_multi' of https://github.com/mtanda/grafana into mtanda-histogram_multi
2018-03-13 13:18:55 +03:00
ilgizar
7dd66450ad
Corrected work for graphs created before this feature.
2018-03-12 23:43:13 +05:00
ilgizar
8c82e5701c
Replaced array values to variables yLeft and yRight for easy reading code.
2018-03-12 23:12:45 +05:00
ilgizar
11ae926388
Rename test file according module name.
2018-03-12 23:11:11 +05:00
ilgizar
8152b9d6fe
Refactoring
2018-03-12 10:54:03 +05:00
ilgizar
916539fad9
Append test to check not zero level.
2018-03-07 14:21:10 +05:00
ilgizar
7cddc54306
Add bs-tooltip to Y-Align element.
2018-03-07 12:12:39 +05:00
Carl Bergquist
08f587a0ef
Merge pull request #10838 from ilgizar/7107_right_y_axis
...
Thresholds for Right Y axis
2018-03-06 15:18:24 +01:00
ilgizar
66590042a6
Add unit tests.
2018-02-22 15:41:11 +05:00