Making a chart stop at the current iteration

Follow

Comments

1 comment

  • Avatar
    Joseph M Zenevitch

    I seem to have figured out a way to do this. I just changed things slightly:


    {{
      data-series-chart
        conditions: 'Release' = (Current Release) AND 'Type' = 'Defect'
        cumulative: false
        x-labels-start:
        x-labels-end: (Current Iteration)
        x-labels-step:
        x-labels-conditions: Type = Iteration
        x-title:  Iteration
        y-title:  Number of Defects
        chart-height: 400
        chart-width: 600
        legend-max-width: 200
        show-start-label: true
        series:
        - label: Opened
          color: red
          data: SELECT 'Defect Reported in Iteration', COUNT(*) WHERE 'Defect Reported in Iteration' IS NOT NULL and 'Defect Status' IS NOT NULL
        - label: Resolved
          color: green
          data: SELECT 'Defect Closed in Iteration', COUNT(*) WHERE 'Defect Closed in Iteration' IS NOT NULL
    }}

Please sign in to leave a comment.