Update vis
This commit is contained in:
@ -23,10 +23,8 @@ $(function() {
|
||||
groups = new vis.DataSet(buildChartGroups());
|
||||
graph = new vis.Graph2d(document.getElementById('graph'), dataset, groups, {
|
||||
dataAxis: {
|
||||
customRange: {
|
||||
left: {
|
||||
min: 0
|
||||
}
|
||||
left: {
|
||||
range: {min: 0}
|
||||
},
|
||||
showMinorLabels: false
|
||||
},
|
||||
|
@ -29,22 +29,21 @@ $(document).ready(function () {
|
||||
groups = new vis.DataSet(buildChartGroups());
|
||||
graph = new vis.Graph2d(document.getElementById(containerId), dataset, groups, {
|
||||
dataAxis: {
|
||||
customRange: {
|
||||
left: {
|
||||
min: 0
|
||||
},
|
||||
right: {
|
||||
min: 0
|
||||
}
|
||||
left: {
|
||||
range: {min: 0}
|
||||
},
|
||||
showMinorLabels: true
|
||||
right: {
|
||||
range: {min: 0}
|
||||
},
|
||||
showMinorLabels: true,
|
||||
alignZeros: true
|
||||
},
|
||||
drawPoints: {
|
||||
style: 'circle'
|
||||
},
|
||||
legend: true,
|
||||
start: $('#from-date')[0].value,
|
||||
end: $('#to-date')[0].value
|
||||
start: $('#from-date')[0].value || 0,
|
||||
end: $('#to-date')[0].value || 0
|
||||
});
|
||||
};
|
||||
|
||||
|
@ -30,15 +30,14 @@ $(document).ready(function () {
|
||||
groups = new vis.DataSet(buildChartGroups());
|
||||
graph = new vis.Graph2d(document.getElementById(containerId), dataset, groups, {
|
||||
dataAxis: {
|
||||
customRange: {
|
||||
left: {
|
||||
min: 0
|
||||
},
|
||||
right: {
|
||||
min: 0
|
||||
}
|
||||
left: {
|
||||
range: {min: 0}
|
||||
},
|
||||
showMinorLabels: true
|
||||
right: {
|
||||
range: {min: 0}
|
||||
},
|
||||
showMinorLabels: true,
|
||||
alignZeros: true
|
||||
},
|
||||
drawPoints: {
|
||||
style: 'circle'
|
||||
|
41
public/javascripts/vis.min.js
vendored
41
public/javascripts/vis.min.js
vendored
File diff suppressed because one or more lines are too long
2
public/stylesheets/vis.min.css
vendored
2
public/stylesheets/vis.min.css
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user