Modify

#11255 closed defect (invalid)

Charts are only showing some some results

Reported by: ononedan 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 ononedan 12 months ago.
realresults.png (8.9 KB) - added by ononedan 12 months ago.

Download all attachments as: .zip

Change History (4)

Changed 12 months ago by ononedan

Changed 12 months ago by ononedan

comment:1 Changed 12 months ago by ononedan

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

comment:2 Changed 12 months ago by ononedan

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

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

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from aviram. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.