-
1 Dec 2011 2:51 AM #1
Unanswered: Draw a gauge with "stacked" values
Unanswered: 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
-
1 Dec 2011 11:34 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,684
- Vote Rating
- 435
- Answers
- 3111
Not really a gague chart... more of a pie chart only half of it.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
14 Dec 2011 8:39 AM #3
Hi,
Of course, you're right ! I was confused because of the needle ...
I send the "half pie" I made.
Thank you
-
2 Jan 2013 3:09 AM #4
Stacked gauge chart
Stacked gauge chart
Hey,
Can I ask you have to accomplish this?
I am also looking for gauge chart with multiple series.
I tried to incorporate KPI gauge chart extension available in EXT-JS but not succeeded
It would be great help if you guide/suggest.
Thanks in advance.
-
24 Apr 2013 1:59 AM #5
@Cangot: Hi, I'm using ExtJS 4.1, can you please help me to understand how did you accomplish this semi pie chart with a needle. I have rendered a pie chart with a donut but not able to find out how to draw a semi pie chart and a needle.
Can you please assist with some sample code ?
Regards,
Rohit
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote