I tried the samething to the to but it didnot work for me and also I have another question for you, Instead of visualising the pass and failure % of the test suite in the , Can we visualise the number of the tests passed and failed in the chart?

var data = ${requestsSummary!"{}"};
var dataset = [
    {
        "label" : "FAILED",
        "data" : data.KoPercent,
        "color" : "#FF6347"
    },
    {
        "label" : "OK",
        "data" : data.OkPercent,
        "color" : "#9ACD32"
    }];

pie chart results



Source link https://sqa.stackexchange.com/questions/28744/---how-to-change-ko-to-failed-in-pie-chart-of-

LEAVE A REPLY

Please enter your comment!
Please enter your name here