Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
64b27be5
Commit
64b27be5
authored
Oct 29, 2015
by
Lex Berezhny
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
maxWidth -> maxIntrinsicWidth
parent
9153e7bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
base.dart
packages/playfair/lib/src/base.dart
+2
-2
No files found.
packages/playfair/lib/src/base.dart
View file @
64b27be5
...
@@ -171,7 +171,7 @@ class ChartPainter {
...
@@ -171,7 +171,7 @@ class ChartPainter {
..
maxWidth
=
_rect
.
width
..
maxWidth
=
_rect
.
width
..
layout
();
..
layout
();
_horizontalGridlines
.
add
(
gridline
);
_horizontalGridlines
.
add
(
gridline
);
yScaleWidth
=
math
.
max
(
yScaleWidth
,
gridline
.
labelPainter
.
maxWidth
);
yScaleWidth
=
math
.
max
(
yScaleWidth
,
gridline
.
labelPainter
.
max
Intrinsic
Width
);
}
}
yScaleWidth
+=
kScaleMargin
;
yScaleWidth
+=
kScaleMargin
;
...
@@ -218,7 +218,7 @@ class ChartPainter {
...
@@ -218,7 +218,7 @@ class ChartPainter {
..
maxWidth
=
markerRect
.
width
..
maxWidth
=
markerRect
.
width
..
layout
();
..
layout
();
_indicator
.
labelPosition
=
new
Point
(
_indicator
.
labelPosition
=
new
Point
(
((
_indicator
.
start
.
x
+
_indicator
.
end
.
x
)
/
2.0
)
-
_indicator
.
labelPainter
.
maxWidth
/
2.0
,
((
_indicator
.
start
.
x
+
_indicator
.
end
.
x
)
/
2.0
)
-
_indicator
.
labelPainter
.
max
Intrinsic
Width
/
2.0
,
_indicator
.
start
.
y
-
_indicator
.
labelPainter
.
size
.
height
-
kIndicatorMargin
_indicator
.
start
.
y
-
_indicator
.
labelPainter
.
size
.
height
-
kIndicatorMargin
);
);
}
}
...
...
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