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
0016189f
Unverified
Commit
0016189f
authored
Oct 07, 2019
by
Torkel Ödegaard
Committed by
GitHub
Oct 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Graph: Switching to series mode should re-render graph (#19623)
parent
3e603cd8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
public/app/plugins/panel/graph/axes_editor.ts
+5
-4
No files found.
public/app/plugins/panel/graph/axes_editor.ts
View file @
0016189f
import
{
getValueFormats
}
from
'@grafana/ui'
;
import
{
GraphCtrl
}
from
'./module'
;
export
class
AxesEditorCtrl
{
panel
:
any
;
panelCtrl
:
any
;
panelCtrl
:
GraphCtrl
;
unitFormats
:
any
;
logScales
:
any
;
xAxisModes
:
any
;
...
...
@@ -11,7 +12,7 @@ export class AxesEditorCtrl {
/** @ngInject */
constructor
(
private
$scope
:
any
)
{
this
.
panelCtrl
=
$scope
.
ctrl
;
this
.
panelCtrl
=
$scope
.
ctrl
as
GraphCtrl
;
this
.
panel
=
this
.
panelCtrl
.
panel
;
this
.
$scope
.
ctrl
=
this
;
...
...
@@ -59,11 +60,11 @@ export class AxesEditorCtrl {
xAxisModeChanged
()
{
this
.
panelCtrl
.
processor
.
setPanelDefaultsForNewXAxisMode
();
this
.
panelCtrl
.
onDataReceived
(
this
.
panelCtrl
.
dataList
);
this
.
panelCtrl
.
onData
Frames
Received
(
this
.
panelCtrl
.
dataList
);
}
xAxisValueChanged
()
{
this
.
panelCtrl
.
onDataReceived
(
this
.
panelCtrl
.
dataList
);
this
.
panelCtrl
.
onData
Frames
Received
(
this
.
panelCtrl
.
dataList
);
}
}
...
...
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