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
5c11d8fc
Commit
5c11d8fc
authored
Nov 08, 2014
by
Masayuki Tanaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix point.show when redraw - #666 #681
parent
0533d5bf
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
2 deletions
+8
-2
c3.js
c3.js
+4
-1
c3.min.js
c3.min.js
+0
-0
core.js
src/core.js
+3
-0
shape.line.js
src/shape.line.js
+1
-1
No files found.
c3.js
View file @
5c11d8fc
...
...
@@ -697,6 +697,9 @@
c3_chart_internal_fn
.
initialOpacity
=
function
(
d
)
{
return
d
.
value
!==
null
&&
this
.
withoutFadeIn
[
d
.
id
]
?
1
:
0
;
};
c3_chart_internal_fn
.
initialOpacityForCircle
=
function
(
d
)
{
return
d
.
value
!==
null
&&
this
.
withoutFadeIn
[
d
.
id
]
?
this
.
opacityForCircle
(
d
)
:
0
;
};
c3_chart_internal_fn
.
opacityForCircle
=
function
(
d
)
{
return
isValue
(
d
.
value
)
&&
this
.
config
.
point_show
?
(
this
.
isScatterType
(
d
)
?
0.5
:
1
)
:
0
;
};
...
...
@@ -2901,7 +2904,7 @@
.
attr
(
"r"
,
$$
.
pointR
.
bind
(
$$
))
.
style
(
"fill"
,
$$
.
color
);
$$
.
mainCircle
.
style
(
"opacity"
,
$$
.
initialOpacity
.
bind
(
$$
));
.
style
(
"opacity"
,
$$
.
initialOpacity
ForCircle
.
bind
(
$$
));
$$
.
mainCircle
.
exit
().
remove
();
};
c3_chart_internal_fn
.
addTransitionForCircle
=
function
(
transitions
,
cx
,
cy
)
{
...
...
c3.min.js
View file @
5c11d8fc
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/core.js
View file @
5c11d8fc
...
...
@@ -692,6 +692,9 @@ c3_chart_internal_fn.getTranslate = function (target) {
c3_chart_internal_fn
.
initialOpacity
=
function
(
d
)
{
return
d
.
value
!==
null
&&
this
.
withoutFadeIn
[
d
.
id
]
?
1
:
0
;
};
c3_chart_internal_fn
.
initialOpacityForCircle
=
function
(
d
)
{
return
d
.
value
!==
null
&&
this
.
withoutFadeIn
[
d
.
id
]
?
this
.
opacityForCircle
(
d
)
:
0
;
};
c3_chart_internal_fn
.
opacityForCircle
=
function
(
d
)
{
return
isValue
(
d
.
value
)
&&
this
.
config
.
point_show
?
(
this
.
isScatterType
(
d
)
?
0.5
:
1
)
:
0
;
};
...
...
src/shape.line.js
View file @
5c11d8fc
...
...
@@ -289,7 +289,7 @@ c3_chart_internal_fn.redrawCircle = function () {
.
attr
(
"r"
,
$$
.
pointR
.
bind
(
$$
))
.
style
(
"fill"
,
$$
.
color
);
$$
.
mainCircle
.
style
(
"opacity"
,
$$
.
initialOpacity
.
bind
(
$$
));
.
style
(
"opacity"
,
$$
.
initialOpacity
ForCircle
.
bind
(
$$
));
$$
.
mainCircle
.
exit
().
remove
();
};
c3_chart_internal_fn
.
addTransitionForCircle
=
function
(
transitions
,
cx
,
cy
)
{
...
...
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