Torkel Ödegaard
491fa6cad8
tech: more tslint rules
2017-09-21 17:23:31 +02:00
Torkel Ödegaard
b8d9722b4f
tech: removing unused variables from typescript files, and making tslint rules more strict
2017-09-21 16:40:18 +02:00
deep-42-thought
5749489e7e
public/app/plugins/panel/graph/specs/graph_specs.ts: relax tests to be "within" instead of "equal", so they won't fail on i686 ( #9286 )
2017-09-18 14:03:54 +02:00
Torkel Ödegaard
85bd1861d6
fix: improve behavior when switching back and forth between x-axis modes, fixes #9229
2017-09-13 14:38:22 +02:00
Torkel Ödegaard
17cb3f6e6a
fix: graph fix for decimals, bug introduced by #61313478063b0e0721f204847f3c0298ea8f593f
2017-08-11 16:20:36 +02:00
Daniel Lee
6131347806
graph: adds decimals option for y-axis
...
Fixes #8187
2017-08-03 17:57:04 +02:00
Daniel Lee
ef0c90b9ca
graph: change tick decimal calculation for y-axis
...
Fixes #8872 . Use the automatic calculation by Flot to get the
number of decimal places for ticks on the y-axis rather than
the number of decimal places for the min value.
2017-08-03 16:58:31 +02:00
Mitsuhiro Tanda
32f9a42d5e
Fix performance degradation by always setting fill = 0.001 ( #8868 )
...
* add benchmark
* fix, prevent plotLineArea() call if fill == 0
* remove benchmark
2017-07-17 20:50:58 +02:00
Alexander Zobnin
934c0fea6f
histogram: improved ticks rendering
2017-07-04 21:49:57 +02:00
Alexander Zobnin
c1c1bcb874
histogram: don't cut negative values, issue #8628
2017-07-04 21:49:09 +02:00
Daniel Lee
1da98f5e1e
Revert "Histogram fix ( #8727 )"
...
This reverts commit 8634c9d457
.
2017-07-04 21:48:39 +02:00
Alexander Zobnin
8634c9d457
Histogram fix ( #8727 )
...
* histogram: don't cut negative values, issue #8628
* histogram: add percent/count option
* histogram: add tests for values normalizing
* histogram: improved ticks rendering
* histogram: fix default value in axes editor
2017-06-28 17:12:55 +02:00
Denis Doria
e8d01218d8
Fix label showing up when Axes are configured to not be displayed ( #8697 )
...
This should close the issue #8695
2017-06-25 14:23:37 +02:00
Daniel Lee
1b79e17970
graph: better generation of y-axis ticks for log-scale
...
If there are too many ticks generated for the y-axis (which can occur
for log scale 2, with a small y-min and a large max), then the ticks
will be regenerated using larger jumps between the ticks.
This also handles the case when y-min is set to 0. Previously, y-min of
0 was ignored as zero is not a valid value for log scale. Now the tick
generator approximates zero by setting min to 0.1.
Ref #8244
Ref #8516
2017-06-05 15:06:22 +02:00
Torkel Ödegaard
f16e3e38ee
Merge branch 'v4.3.x'
2017-05-29 12:20:34 +02:00
Daniel Lee
d318c9093f
graph: Handle data with zeroes for log scale
...
fixes #8446 . Data with all values equal to zero, creates a max with the
value of Infinite. The for loop for creating ticks then gets stuck in an
infinite loop. This fix resets min and max and creates some fake ticks
for the y-axis if the min and max are not finite numbers.
2017-05-29 12:18:54 +02:00
Cédric Reginster
ee0d0155a5
Refactor to component based style
2017-05-26 15:43:09 +02:00
Cédric Reginster
f484b4c347
Make csv export date time format configurable
...
- Move export csv options to modal dialog
2017-05-26 15:43:09 +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
Torkel Ödegaard
634ee0f9fa
fix: graphg panel logarithmic scale goes blow x-axis, fixes #8244
2017-05-24 11:20:07 +02:00
Torkel Ödegaard
a0b9dcad4d
alert: alerting annotation improvements, fixes #8421
2017-05-22 13:02:49 +02:00
Torkel Ödegaard
ab6740c685
heatmap: Docs and heatmap fixes
2017-05-11 10:19:47 +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
Torkel Ödegaard
456b07b766
annotations: removing wip stuff so I can merge to master
2017-04-18 17:28:39 +02:00
Torkel Ödegaard
fa2a7db657
ux: create annotations
2017-04-14 23:10:56 +02:00
Torkel Ödegaard
03ef1fd758
refactoring: event / annotation handling in graph panel broken out
2017-04-14 22:56:01 +02:00
Torkel Ödegaard
a151de1d37
progess on adding annotations
2017-04-14 14:43:06 +02:00
Torkel Ödegaard
ff426ae9a3
more work on annotations
2017-04-14 12:23:32 +02:00
Torkel Ödegaard
dbe5480edc
create annotations work
2017-04-14 11:41:02 +02:00
Torkel Ödegaard
2fce88ee62
ux: popover forms
2017-04-14 10:18:49 +02:00
Torkel Ödegaard
2f61fc6afe
ux: made progress on popover forms
2017-04-13 18:39:49 +02:00
Alexander Zobnin
17d3970673
graph(create annotation): push one annotation with time from and time to
2017-04-12 21:04:18 +03:00
Alexander Zobnin
8a1c35e1c2
graph(create annotation): refactor, fix two modal after range selection
...
bind create annotation handler directly to plotclick event, not to global graph-click
2017-04-12 20:27:32 +03:00
Torkel Ödegaard
de21be30d2
ux: working on how to show form in popover
2017-04-12 17:28:32 +02:00
Torkel Ödegaard
0156a94a49
annotations: you can now read annoations via manually created annoation query
2017-04-12 15:46:41 +02:00
Alexander Zobnin
232513bb4e
graph(add annotation): refactor
...
pass ctrlKey and metaKey through flot events
2017-04-12 15:26:34 +03:00
Alexander Zobnin
70bca219e3
graph(add annotation): Add keybinding for CTRL key
2017-04-11 10:24:21 +03:00
Alexander Zobnin
362860f687
graph(add annotation): able to select region (start and stop time) #1286
2017-04-10 12:45:08 +03:00
Alexander Zobnin
32d34aed7a
graph: initial Add Annotation flow #1286
2017-04-08 19:44:40 +03:00
Torkel Ödegaard
3b47efe70e
graph: minor change to histogram buckets input field
2017-04-07 10:16:57 +02:00
Alexander Zobnin
7e14797b10
graph: initial histogram support #600 ( #8053 )
...
* graph: initial histogram support #600
* graph histogram mode: add Bars number option
* graph histogram mode: fix X axis ticks calculation
* graph histogram mode: change bar style (align and width)
* refactor(graph): move histogram functions into separate module
* graph histogram mode: rename series to "count"
* graph histogram mode: fix errors if no data
* refactor(graph and heatmap): move shared code into app/core
* graph: add tests for histogram mode
2017-04-07 10:07:30 +02:00
Torkel Ödegaard
83d864e7e4
fix: graph and fill below to issue, fixes #7916
2017-03-23 14:23:22 +01:00
Daniel Lee
69bec98962
chore: update all grafana.org urls to .com
2017-03-21 15:37:55 +01:00
Daniel Lee
84ef6b9d48
Merge branch 'bigbenhur-autologscale'
...
Closes #5278 and closes #3090
2017-03-13 11:17:45 +01:00
Denis Doria
891df21969
Small fix for the Y-Max/Y-Min inputs on Axes ( #7811 )
2017-03-13 09:32:36 +01:00
Daniel Lee
e19b48840f
graph: merge fixes for #5278
...
This is an old PR so had some problems after merging in master.
- Fix for min and max that were not getting passed into the
applyLogScale function
- Fix for when min/max were undefined rather than null
- Fix for decimal ticks, as this PR populates the ticks itself then
it also needs to calculate the number of decimal places too. Flot
was showing the wrong number of decimal places sometimes otherwise
on the y-axis.
2017-03-10 18:46:36 +01:00
Daniel Lee
28cf229707
Merge branch 'autologscale' of git://github.com/bigbenhur/grafana into bigbenhur-autologscale
2017-03-10 11:57:00 +01:00
Patric Kanngießer
3735a1ace7
remember scroll position ( https://github.com/grafana/grafana/issues/7680 ) ( #7728 )
2017-03-07 08:19:34 +01:00