#11256 closed defect (invalid)

Chart is empty

Reported by: ononedan Owned by: aviram
Priority: normal Component: TicketChartsMacro
Severity: normal Keywords:
Cc: Trac Release: 1.0


I have a chart that doesn't show any results and I can't figure out why. First here is an example that does work for me.

[[TicketChart(type = stacked_bars, key = type, x_axis = owner, query = status="accepted|assigned|new|reopened", title = Open Tickets by Owner, height = 600, width = 1200)]]

This yields this chart, showing me open tickets per owner, stacked by type.

Then when I try basically the same markup but looking for open tickets by product stacked by milestone and I get an empty chart.

[[TicketChart(type = stacked_bars, key = milestone, x_axis = product, query = type="Bug"&status="accepted|assigned|new|reopened", title = Bugs by Product and Milestone, height = 400, width = 900)]]

When I run this query manually I get lots of results. I have tried removing the status from the query and it doesn't change anything.

Attachments (1)

ticketsbyowner.png (69.5 KB) - added by ononedan 14 months ago.

Download all attachments as: .zip

Change History (2)

Changed 14 months ago by ononedan

comment:1 Changed 14 months ago by ononedan

  • Resolution set to invalid
  • Status changed from new to closed

Oops, my bad. I removed the quotes from my query and they started to work properly.

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.