show_numbers(self.data) on Pie Charts are broken

Bug #1490787 reported by Diana Whitten
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Expired
Undecided
Unassigned

Bug Description

show_numbers(self.data) in horizon/static/horizon/js/horizon.d3piechart.js obviously doesn't work as intended any longer. If you turn this on, It prints: [object Object] on top of the Pie Chart. o.O

Revision history for this message
Justin Pomeroy (jpomero) wrote :

I set the floating IP quota to -1 to make it unlimited and then allocated a floating IP. The chart correctly shows the number 1 instead of the pie graph. Is there some other way to make the numbers show instead of the graph?

Revision history for this message
Diana Whitten (hurgleburgler) wrote :

What do you mean by some other way? Is this the only use case for show_numbers?

Revision history for this message
Ciaran O Tuathail (ciaran-otuathail) wrote :

As per Justin's comment it seems to work fine for me.
The numbers should only be displayed when there isn't a limit on the resource. What scenario did it you have that it printed o.0 to the Pie Chart?

Revision history for this message
Rob Cresswell (robcresswell-deactivatedaccount) wrote :

I can't recreate this; could you give more information?

Changed in horizon:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Dashboard (Horizon) because there has been no activity for 60 days.]

Changed in horizon:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.