mirror of
https://github.com/morrisjs/morris.js.git
synced 2024-11-10 21:36:34 +01:00
initialize click
Bar and Line graph click handler initialize to function(){}
This commit is contained in:
parent
566d6fb3e9
commit
ea4ba1228c
@ -577,7 +577,8 @@
|
|||||||
xLabelFormat: null,
|
xLabelFormat: null,
|
||||||
xLabelMargin: 50,
|
xLabelMargin: 50,
|
||||||
continuousLine: true,
|
continuousLine: true,
|
||||||
hideHover: false
|
hideHover: false,
|
||||||
|
click:function(){}
|
||||||
};
|
};
|
||||||
|
|
||||||
Line.prototype.calc = function() {
|
Line.prototype.calc = function() {
|
||||||
@ -1147,7 +1148,8 @@
|
|||||||
barSizeRatio: 0.75,
|
barSizeRatio: 0.75,
|
||||||
barGap: 3,
|
barGap: 3,
|
||||||
barColors: ['#0b62a4', '#7a92a3', '#4da74d', '#afd8f8', '#edc240', '#cb4b4b', '#9440ed'],
|
barColors: ['#0b62a4', '#7a92a3', '#4da74d', '#afd8f8', '#edc240', '#cb4b4b', '#9440ed'],
|
||||||
xLabelMargin: 50
|
xLabelMargin: 50,
|
||||||
|
click:function(){}
|
||||||
};
|
};
|
||||||
|
|
||||||
Bar.prototype.calc = function() {
|
Bar.prototype.calc = function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user