專案

一般

配置概況

工作單 #199 » P9801008-Overall Risk Prediction Proportion.json

marlboro chu, 2025-06-30 02:03

 
{
"result" : {
"id" : 598,
"orgId" : 1,
"folderId" : 136,
"folderUid" : "bemeqa2prz7k0d",
"uid" : "demer3l46a8lcd",
"name" : "P9801008-Overall Risk Prediction Proportion",
"kind" : 1,
"type" : "piechart",
"description" : "",
"model" : {
"datasource" : {
"type" : "elasticsearch",
"uid" : "f45b49c9-ba56-43c8-b278-a87adffdb57c"
},
"description" : "",
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
},
"custom" : {
"hideFrom" : {
"legend" : false,
"tooltip" : false,
"viz" : false
}
},
"mappings" : [ ],
"unit" : "locale"
},
"overrides" : [ {
"matcher" : {
"id" : "byName",
"options" : "mid"
},
"properties" : [ {
"id" : "color",
"value" : {
"fixedColor" : "yellow",
"mode" : "shades"
}
} ]
}, {
"matcher" : {
"id" : "byName",
"options" : "low"
},
"properties" : [ {
"id" : "color",
"value" : {
"fixedColor" : "green",
"mode" : "fixed"
}
} ]
}, {
"matcher" : {
"id" : "byName",
"options" : "high"
},
"properties" : [ {
"id" : "color",
"value" : {
"fixedColor" : "dark-red",
"mode" : "fixed"
}
} ]
}, {
"matcher" : {
"id" : "byName",
"options" : "01"
},
"properties" : [ {
"id" : "color",
"value" : {
"fixedColor" : "green",
"mode" : "fixed"
}
} ]
}, {
"matcher" : {
"id" : "byName",
"options" : "02"
},
"properties" : [ {
"id" : "color",
"value" : {
"fixedColor" : "yellow",
"mode" : "fixed"
}
} ]
}, {
"matcher" : {
"id" : "byName",
"options" : "03"
},
"properties" : [ {
"id" : "color",
"value" : {
"fixedColor" : "dark-red",
"mode" : "fixed"
}
} ]
} ]
},
"gridPos" : {
"h" : 9,
"w" : 7,
"x" : 17,
"y" : 1
},
"id" : 9801008,
"options" : {
"displayLabels" : [ "name", "percent" ],
"legend" : {
"displayMode" : "list",
"placement" : "bottom",
"showLegend" : true
},
"pieType" : "pie",
"reduceOptions" : {
"calcs" : [ "sum" ],
"fields" : "",
"values" : false
},
"tooltip" : {
"mode" : "multi",
"sort" : "none"
}
},
"pluginVersion" : "11.4.0",
"targets" : [ {
"alias" : "",
"bucketAggs" : [ {
"field" : "resultInfo__decisionCode",
"id" : "2",
"settings" : {
"min_doc_count" : "1",
"missing" : "No Response",
"order" : "desc",
"orderBy" : "1",
"size" : "0"
},
"type" : "terms"
}, {
"field" : "create_datetime",
"id" : "3",
"settings" : {
"interval" : "1y",
"min_doc_count" : "0",
"timeZone" : "Asia/Taipei",
"trimEdges" : "0"
},
"type" : "date_histogram"
} ],
"datasource" : {
"type" : "elasticsearch",
"uid" : "f45b49c9-ba56-43c8-b278-a87adffdb57c"
},
"metrics" : [ {
"id" : "1",
"type" : "count"
} ],
"query" : "${decision_query:raw}",
"refId" : "A",
"timeField" : "create_datetime"
} ],
"title" : "08. Risk Prediction Overview",
"transformations" : [ {
"id" : "sortBy",
"options" : {
"fields" : { },
"sort" : [ {
"desc" : true,
"field" : "high"
} ]
}
}, {
"id" : "joinByField",
"options" : { }
}, {
"id" : "organize",
"options" : {
"excludeByName" : { },
"includeByName" : { },
"indexByName" : {
"01" : 1,
"02" : 2,
"03" : 3,
"No Response" : 4,
"Time" : 0
},
"renameByName" : {
"01" : "low",
"02" : "mid",
"03" : "high"
}
}
} ],
"type" : "piechart"
},
"version" : 17,
"meta" : {
"folderName" : "R98-Library",
"folderUid" : "bemeqa2prz7k0d",
"connectedDashboards" : 1,
"created" : "2025-05-20T09:25:08+08:00",
"updated" : "2025-05-26T16:21:49+08:00",
"createdBy" : {
"avatarUrl" : "/avatar/ce6412d58e966caaa26cac12eb99734b",
"id" : 1,
"name" : "admin"
},
"updatedBy" : {
"avatarUrl" : "/avatar/ce6412d58e966caaa26cac12eb99734b",
"id" : 1,
"name" : "admin"
}
}
}
}
(14-14/30)