Project

General

Profile

Bug #6876

Gradeboook main charts have two 0 in the Y axis

Added by Hubert Borderiou over 6 years ago. Updated over 6 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
Francis Gonzales
Category:
Gradebook / Evaluaciones
Target version:
Start date:
18/12/2013
Due date:
% Done:

70%

Estimated time:
Spent time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

Hi,

this bug follow https://support.chamilo.org/issues/6062

There is 2 0 in the Y-axis of the stats icon (flat view) in the top action bar (not the flat view of a category)

And there is twice the number of the Y-axis, same for 1, and 2
If we are between teh two 1 Y-axis, what is the number ? 1,5 ? 0,5 ?


Files

6876_1.png (20.9 KB) 6876_1.png Daniel Barreto, 11/04/2014 21:14

Associated revisions

Revision 5dc7678a (diff)
Added by Daniel Barreto over 6 years ago

Add 1 decimal to scale -refs #6876

Revision 80ccacc4
Added by Yannick Warnier over 6 years ago

Merge pull request #190 from danbarretodev/6876

Fix Bug -refs #6876

Revision 3c633e5e (diff)
Added by Daniel Barreto over 6 years ago

Update drawBarGraph() to draw also the value -refs #6876

Revision 01cd280f (diff)
Added by Daniel Barreto over 6 years ago

Update font properties to bigger size before call drawBarGraph -refs #6876

Revision b8f5189e
Added by Yannick Warnier over 6 years ago

Merge pull request #261 from danbarretodev/6876

Fix display issue in gradebook bar charts - refs #6876

Revision 0d5d25fe (diff)
Added by Francis Gonzales over 6 years ago

Code format - refs #6876

Revision 9f139c4d (diff)
Added by Francis Gonzales over 6 years ago

Code format - refs #6876

Revision d37c9d1e (diff)
Added by Francis Gonzales over 6 years ago

Code format - refs #6876

Revision 95de2a6d (diff)
Added by Francis Gonzales over 6 years ago

Code format - refs #6876

Revision 043c0db1 (diff)
Added by Francis Gonzales over 6 years ago

Validate some undefined variables - refs #6876

Revision 8e905670 (diff)
Added by Francis Gonzales over 6 years ago

Order to show the results correctly - refs #6876

Revision 8d5db145 (diff)
Added by Francis Gonzales over 6 years ago

Avoid the warnings and when the max is integer show in the axis only integer values - refs #6876

History

#1

Updated by Yannick Warnier over 6 years ago

  • Status changed from New to Assigned
  • Assignee set to Daniel Barreto

Good point (your last question). I think if we just change the scale to show one decimal point, we should be alright...
There's quite a lot of config to get to that graphic, though, so don't hesitate to ask me, Daniel.

#2

Updated by Daniel Barreto over 6 years ago

  • Status changed from Assigned to Needs testing
  • % Done changed from 0 to 70

Add 1 decimal to the precision of scale.
Done in:
https://github.com/chamilo/chamilo-lms/pull/190

#3

Updated by Julio Montoya over 6 years ago

  • Status changed from Needs testing to Needs more info
  • Assignee changed from Daniel Barreto to Hubert Borderiou

Hi Hubert, the fix works for you?

#4

Updated by Hubert Borderiou over 6 years ago

Hi, doesn't work for me :(

#5

Updated by Julio Montoya over 6 years ago

  • Status changed from Needs more info to Assigned
  • Assignee changed from Hubert Borderiou to Daniel Barreto
#6

Updated by Daniel Barreto over 6 years ago

Update drawBarGraph() to draw the value of the bar graphs
Update display_graph_by_resource() to increase font size before draw bar graph

Done in PR #261

https://github.com/chamilo/chamilo-lms/pull/261

Here is a picture

#7

Updated by Daniel Barreto over 6 years ago

  • Status changed from Assigned to Needs testing
  • Assignee deleted (Daniel Barreto)
#8

Updated by Yannick Warnier over 6 years ago

  • Assignee set to Francis Gonzales

This one simply needs a quick review

#9

Updated by Francis Gonzales over 6 years ago

  • Status changed from Needs testing to Bug resolved

This is working corretly.
I sent another commit about this task:
https://github.com/chamilo/chamilo-lms/pull/265
This commit avoid some php warning messages about undefined variables, format some files, put an order when show, add and edit gradebook results and finally when the max Y axis is integer Y axis is going to show only integers.

Also available in: Atom PDF