Draw a gauge with "stacked" values
Hi,
I want to draw a gauge chart with 5 slices, and a needle.
Code:
var myStore = new Ext.data.Store({
fields: ['price'],
data : [ {price: 50}, {price : 6}, {price : 20}, {price : 1} ]
});
Code:
var myChart = { xtype: 'chart', store: myStore ,
axes: [{
type: 'gauge',
position: 'gauge',
minimum: 0,
maximum: 100
}],
series: [{
type: 'gauge',
angleField: 'price',
needle:true
}
]
What I want is a gauge with 5 slices (my 4 values + empty slice), like the "stacked" attribute with bar chart.
Is it possible ?
Thank you