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
28dba4fd
Commit
28dba4fd
authored
Oct 28, 2015
by
Evgeny
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix pie-bar problem
parent
42d96f4d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
arc.js
src/arc.js
+0
-6
core.js
src/core.js
+1
-0
No files found.
src/arc.js
View file @
28dba4fd
...
...
@@ -31,9 +31,6 @@ c3_chart_internal_fn.updateAngle = function (d) {
found
=
false
,
index
=
0
,
gMin
=
config
.
gauge_min
,
gMax
=
config
.
gauge_max
,
gTic
,
gValue
;
$$
.
pie
(
$$
.
filterTargetsToShow
(
$$
.
data
.
targets
)).
forEach
(
function
(
t
)
{
if
(
!
t
||
!
d
){
return
;
}
if
(
!
found
&&
t
.
data
.
id
===
d
.
data
.
id
)
{
found
=
true
;
d
=
t
;
...
...
@@ -41,9 +38,6 @@ c3_chart_internal_fn.updateAngle = function (d) {
}
index
++
;
});
if
(
!
d
){
return
;
}
if
(
isNaN
(
d
.
endAngle
))
{
d
.
endAngle
=
d
.
startAngle
;
}
...
...
src/core.js
View file @
28dba4fd
...
...
@@ -304,6 +304,7 @@ c3_chart_internal_fn.initWithData = function (data) {
// export element of the chart
$$
.
api
.
element
=
$$
.
selectChart
.
node
();
$$
.
updateAndRedraw
();
};
c3_chart_internal_fn
.
smoothLines
=
function
(
el
,
type
)
{
...
...
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