Opened 5 years ago

Closed 5 years ago

#11256 closed defect (invalid)

Chart is empty

Reported by: Dan Harlacher 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 Dan Harlacher 5 years ago.

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by Dan Harlacher

Attachment: ticketsbyowner.png added

comment:1 Changed 5 years ago by Dan Harlacher

Resolution: invalid
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain aviram.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.