mirror of
https://github.com/morrisjs/morris.js.git
synced 2024-11-10 21:36:34 +01:00
add missing index
This commit is contained in:
parent
c613aeb988
commit
cdfe8ba62d
@ -204,7 +204,7 @@ class Morris.Line extends Morris.Grid
|
||||
_drawLineFor: (index) ->
|
||||
path = @paths[index]
|
||||
if path isnt null
|
||||
@drawLinePath path, @colorFor(null, index, 'line')
|
||||
@drawLinePath path, @colorFor(null, index, 'line'), index
|
||||
|
||||
# create a path for a data series
|
||||
#
|
||||
|
@ -925,7 +925,7 @@
|
||||
var path;
|
||||
path = this.paths[index];
|
||||
if (path !== null) {
|
||||
return this.drawLinePath(path, this.colorFor(null, index, 'line'));
|
||||
return this.drawLinePath(path, this.colorFor(null, index, 'line'), index);
|
||||
}
|
||||
};
|
||||
|
||||
|
2
morris.min.js
vendored
2
morris.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user