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
5d9c3d59
Commit
5d9c3d59
authored
Apr 09, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(graph): fixed issue with y-axis labels overlapping with the yaxis, fixes #4626
parent
ed62822d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
CHANGELOG.md
+1
-0
public/app/plugins/panel/graph/graph.js
+4
-2
No files found.
CHANGELOG.md
View file @
5d9c3d59
...
...
@@ -9,6 +9,7 @@
*
**App Config**
: Fixed app config issue showing content of other app config, fixes
[
#4575
](
https://github.com/grafana/grafana/issues/4575
)
*
**Graph Panel**
: Fixed legend option max not updating, fixes
[
#4601
](
https://github.com/grafana/grafana/issues/4601
)
*
**Graph Panel**
: Fixed issue where newly added graph panels shared same axes config, fixes
[
#4582
](
https://github.com/grafana/grafana/issues/4582
)
*
**Graph Panel**
: Fixed issue with axis labels overlapping Y-axis, fixes
[
#4626
](
https://github.com/grafana/grafana/issues/4626
)
# 3.0.0-beta2 (2016-04-04)
...
...
public/app/plugins/panel/graph/graph.js
View file @
5d9c3d59
...
...
@@ -151,8 +151,10 @@ function (angular, $, moment, _, kbn, GraphTooltip) {
}
function
processOffsetHook
(
plot
,
gridMargin
)
{
if
(
panel
.
yaxis
)
{
gridMargin
.
left
=
20
;
}
if
(
panel
.
rightYAxisLabel
)
{
gridMargin
.
right
=
20
;
}
var
left
=
panel
.
yaxes
[
0
];
var
right
=
panel
.
yaxes
[
1
];
if
(
left
.
show
&&
left
.
label
)
{
gridMargin
.
left
=
20
;
}
if
(
right
.
show
&&
right
.
label
)
{
gridMargin
.
right
=
20
;
}
}
// Function for rendering panel
...
...
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