Googlechart prototype: Difference between revisions

From Yocto Project
Jump to navigationJump to search
(Created page with "<html> <head> <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script> <script type="text/javascript"> google.charts.load('curre...")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<html>
{| class="wikitable"
  <head>
!colspan="6"|Shopping List
    <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
|-
    <script type="text/javascript">
|rowspan="2"|Bread & Butter
      google.charts.load('current', {'packages':['table']});
|Pie
      google.charts.setOnLoadCallback(drawTable);
|Buns
|Danish
|colspan="2"|Croissant
|-
|Cheese
|colspan="2"|Ice cream
|Butter
|Yogurt
|}


      function drawTable() {
        var data = new google.visualization.DataTable();
        data.addColumn('string', 'Name');
        data.addColumn('number', 'Salary');
        data.addColumn('boolean', 'Full Time Employee');
        data.addRows([
          ['Mike',  {v: 10000, f: '$10,000'}, true],
          ['Jim',  {v:8000,  f: '$8,000'},  false],
          ['Alice', {v: 12500, f: '$12,500'}, true],
          ['Bob',  {v: 7000,  f: '$7,000'},  true]
        ]);


        var table = new google.visualization.Table(document.getElementById('table_div'));
==============================================================================================================
Test Report (Count of passed, failed, skipped group by test_component, test_configuration)
==============================================================================================================
--------------------------------------------------------------------------------------------------------------
test_component          | test_configuration        | passed    | failed    | skipped
--------------------------------------------------------------------------------------------------------------
manual/testresults.json | manual_sdk_20181213140200 | 1          | 0          | 0
None                    | manual_sdk_20181213140200 | 1          | 0          | 0
--------------------------------------------------------------------------------------------------------------


        table.draw(data, {showRowNumber: true, width: '100%', height: '100%'});
==============================================================================================================
      }
Test Report (Percent of passed, failed, skipped group by test_component, test_configuration)
    </script>
==============================================================================================================
   </head>
--------------------------------------------------------------------------------------------------------------
  <body>
test_component          | test_configuration        | passed_%  | failed_%   | skipped_%
     <div id="table_div"></div>
--------------------------------------------------------------------------------------------------------------
  </body>
manual/testresults.json | manual_sdk_20181213140200 | 100.00     | 0.00      | 0.00
</html>
None                    | manual_sdk_20181213140200 | 100.00    | 0.00      | 0.00
--------------------------------------------------------------------------------------------------------------

Latest revision as of 06:24, 13 December 2018

Shopping List
Bread & Butter Pie Buns Danish Croissant
Cheese Ice cream Butter Yogurt


==================================================================================================

Test Report (Count of passed, failed, skipped group by test_component, test_configuration)

==================================================================================================

test_component | test_configuration | passed | failed | skipped


manual/testresults.json | manual_sdk_20181213140200 | 1 | 0 | 0 None | manual_sdk_20181213140200 | 1 | 0 | 0


==================================================================================================

Test Report (Percent of passed, failed, skipped group by test_component, test_configuration)

==================================================================================================

test_component | test_configuration | passed_% | failed_% | skipped_%


manual/testresults.json | manual_sdk_20181213140200 | 100.00 | 0.00 | 0.00 None | manual_sdk_20181213140200 | 100.00 | 0.00 | 0.00