Api2.0p5とチャートを見てください。
スループットチャートのバリエーションを探しています。基本的には...
- 下部全体で過去12か月
- チャートの左側の合計数
- ストーリーと欠陥数の積み上げ列
- ストーリーポイントの場合はスパインライン、ポイントの場合はセカンダリy軸
したがって、現在すべての番号がハードコーディングされていることを除いて、これまでのところ、ラリーアプリでこれらすべてを機能させています。この情報をチャートに正しく取り込むにはどうすればよいですか?
お店の使用例を見ましたが、風変わりで正直なところ、どこで見たのかわからないので複製してみました。
コードは以下のとおりです。誰かがアイデアや考えを持っているなら、私はそれをいただければ幸いです。
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="240" />
<title>Throughput Chart</title>
<script type="text/javascript" src="https://rally1.rallydev.com/apps/2.0p5/sdk.js?debug=true"></script>
<script type="text/javascript">
Rally.onReady(function () {
Ext.create('Ext.Container', {
items: [
{
xtype: 'rallychart',
height: 400,
series: [{
name: 'Defect Count',
data: [2, 2, 3, 2, 1, 4, 2, 3, 5, 3, 5, 4]
}, {
name: 'Story Count',
data: [3, 4, 4, 2, 5, 3, 4, 5, 6, 3, 4, 8]
}, {
name: 'Story Points',
color: '#89A54E',
type: 'spline',
yAxis: 1,
data: [55, 34, 50, 31, 44, 61, 55, 22, 50, 48, 34, 44]
}],
chartConfig: {
chart: {
type: 'column'
},
title: {
text: 'Kanban State Counts',
align: 'center'
},
xAxis: {
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
},
yAxis: [{
title: {
text: 'Count'
},
stackLabels: {
enabled: true,
style: {
fontWeight: 'bold',
}
}
},
{
opposite: true,
title: {
text: 'Story Points'
}
}],
}
}
],
renderTo: Ext.getBody().dom
});
});
</script>
<style type="text/css">
</style>
</head>
<body>
</body>
</html>