Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8772955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T18:10:01+00:00 2026-06-13T18:10:01+00:00

I have been trying to create pie chart using rally sdk with the following

  • 0

I have been trying to create pie chart using rally sdk with the following piece of code:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Pie Chart Example</title>
 <meta name="Name" content="Component Example: Pie Chart" />
 <meta name="Version" content="1.32" />
 <meta name="Vendor" content="Rally Software" />
 <script type="text/javascript" src="/apps/1.32/sdk.js"></script>
 <script type="text/javascript">

 function showPie() {

   var rallyDataSource = new rally.sdk.data.RallyDataSource('__WORKSPACE_OID__',
                           '__PROJECT_OID__',
                           '__PROJECT_SCOPING_UP__',
                           '__PROJECT_SCOPING_DOWN__');
   var pieConfig = {
        type : "TestCaseResult",
       attribute: "Verdict",
        query: 'TestSet.Name="Alpha"'
     };
   var pieChart = new rally.sdk.ui.PieChart(pieConfig, rallyDataSource);
   pieChart.display("pieChartDiv");
 }

 rally.addOnLoad(showPie);
 </script>
</head>
<body>
   <div id="pieChartDiv" style="height:225px; width:250px"></div>
</body>
</html> 

This isn’t working. it says “no data” in place of the pie chart. But if I remove the following line…

query: 'TestSet.Name="Alpha"'

…then i see the piechart but that’s for all testcaseresults in the project. I need to create pie chart for testcaseresults from a specific testset only. How do I accomplish that? Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T18:10:03+00:00Added an answer on June 13, 2026 at 6:10 pm

    If you’re using the example from the developer portal as a starter it’s using an old version of the SDK (1.23) where the query attribute was not supported. I was able to get your code to work correctly once I upgraded to the latest (1.32). I’ll get that example updated so nobody else runs into this same problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been trying to create a ListView which I can sort using drag
I have been trying to create an observable tweeter feed using tweetsharp with the
I have been trying to create an XML using the simplexml library (v2.6.2) http://simple.sourceforge.net/home.php
I have been trying to create rotating object using jQuery and without any other
I have been trying to create a HTML E-mail, which is just one image
I'm new here. I have been trying to create a video capture app using
i have been trying to create a vertical bar chart with a d3 fisheye
I have been trying to create some dynamic Xaml. I have the following c#
I have been trying to create a page using views that will list down
I have been trying to create a code like this: If you show 'us.gif'

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.