The following issues were fixed in Graph Visualiser:

1) Allow the user to set the row limit and chart line width.
2) Zoom should only be applied to X-axis, not both.
3) On clicking the 'Generate' button, the chart should return to its original zoom level.
4) Negative values are not displayed.

refs #7485
This commit is contained in:
Akshay Joshi
2022-06-23 14:52:11 +05:30
parent 1b9d219988
commit 2556771c32
12 changed files with 60 additions and 11 deletions

View File

@@ -47,7 +47,6 @@ const defaultOptions = {
elements: {
line: {
tension: 0,
borderWidth: 2,
fill: false,
},
},
@@ -66,7 +65,6 @@ const defaultOptions = {
},
},
y: {
min: 0,
ticks: {
callback: function(label) {
if (Math.floor(label) === label) {