Browse Source

Improved precision on chart axes.

master
Christian P. MOMON 2 years ago
parent
commit
357276dcc0
  1. 3
      src/org/april/agirstatool/core/pages/chartLineView.xhtml
  2. 3
      src/org/april/agirstatool/core/pages/chartLineView2.xhtml

3
src/org/april/agirstatool/core/pages/chartLineView.xhtml

@ -67,7 +67,8 @@ var myChart = new Chart(ctx,
ticks:
{
beginAtZero: false,
suggestedMax: 10
suggestedMax: 10,
precision: 0
}
}]
}

3
src/org/april/agirstatool/core/pages/chartLineView2.xhtml

@ -57,7 +57,8 @@ var myChart = new Chart(ctx,
ticks:
{
beginAtZero: false,
suggestedMax: 10
suggestedMax: 10,
precision: 0
}
}]
}

Loading…
Cancel
Save