Modify

Opened 11 years ago

Closed 11 years ago

#11255 closed defect (invalid)

Charts are only showing some some results

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

Description

Hello,

I have a couple of charts that only show two columns of the results set. Here is my markup

[[TicketChart(type = bars, x_axis = test_depth, query = test_depth="0|1|3|4|5", title = Feature Test Depth)]]

This yields this chart, which only shows results in the 1 and 3 column.

When I run the query manually I get these counts.

||= Test Depth =||= Count =||
|| 0 || [[TicketQuery(test_depth=0, count)]] ||
|| 1 || [[TicketQuery(test_depth=1, count)]] ||
|| 2 || [[TicketQuery(test_depth=2, count)]] ||
|| 3 || [[TicketQuery(test_depth=3, count)]] ||
|| 4 || [[TicketQuery(test_depth=4, count)]] ||
|| 5 || [[TicketQuery(test_depth=5, count)]] ||

I have another chart with the same problem that uses this markup

[[TicketChart(type = bars, x_axis = sub_quality, query = sub_quality="0|meh|quesy|adderall", title = Feature Subjective Quality)]]

Attachments (2)

testdepthchart.png (10.6 KB) - added by Dan Harlacher 11 years ago.
realresults.png (8.9 KB) - added by Dan Harlacher 11 years ago.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by Dan Harlacher

Attachment: testdepthchart.png added

Changed 11 years ago by Dan Harlacher

Attachment: realresults.png added

comment:1 Changed 11 years ago by Dan Harlacher

A side note, when I change the query to use more than one parameter, using the & I get no results.

comment:2 Changed 11 years ago by Dan Harlacher

Resolution: invalid
Status: newclosed

Sorry, my bad. I removed the quotes and they started to work as expected.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain aviram.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.