Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
c3-closed
Project
Project
Details
Activity
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
charts
c3-closed
Commits
1d722724
Commit
1d722724
authored
Dec 09, 2015
by
Evgeny
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix legend and text sizes
parent
bc7234a5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
c3.js
c3.js
+3
-2
axis.js
src/axis.js
+2
-1
legend.js
src/legend.js
+1
-1
No files found.
c3.js
View file @
1d722724
...
...
@@ -4166,7 +4166,7 @@
var
hasFocused
=
$$
.
legend
.
selectAll
(
'.'
+
CLASS
.
legendItemFocused
).
size
();
var
texts
,
rects
,
tiles
,
background
;
var
nodeOffset
=
typeof
process
===
'undefined'
?
1
:
3
;
var
nodeOffset
=
typeof
process
===
'undefined'
?
1
:
5
;
options
=
options
||
{};
withTransition
=
getOption
(
options
,
"withTransition"
,
true
);
...
...
@@ -4674,7 +4674,8 @@
};
c3_chart_internal_fn
.
getMaxTickWidth
=
function
()
{
return
10
;
var
$$
=
this
;
return
$$
.
config
.
normalized
?
15
:
10
;
};
c3_chart_internal_fn
.
updateAxisLabels
=
function
(
withTransition
)
{
...
...
src/axis.js
View file @
1d722724
...
...
@@ -279,7 +279,8 @@ c3_chart_internal_fn.rotateTickText = function (axis, transition, rotate) {
};
c3_chart_internal_fn
.
getMaxTickWidth
=
function
()
{
return
10
;
var
$$
=
this
;
return
$$
.
config
.
normalized
?
15
:
10
;
};
c3_chart_internal_fn
.
updateAxisLabels
=
function
(
withTransition
)
{
...
...
src/legend.js
View file @
1d722724
...
...
@@ -125,7 +125,7 @@ c3_chart_internal_fn.updateLegend = function (targetIds, options, transitions) {
var
hasFocused
=
$$
.
legend
.
selectAll
(
'.'
+
CLASS
.
legendItemFocused
).
size
();
var
texts
,
rects
,
tiles
,
background
;
var
nodeOffset
=
typeof
process
===
'undefined'
?
1
:
3
;
var
nodeOffset
=
typeof
process
===
'undefined'
?
1
:
5
;
options
=
options
||
{};
withTransition
=
getOption
(
options
,
"withTransition"
,
true
);
...
...
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