PDA

View Full Version : Facing issue with sencha touch chart



praveen.pandey
3 Nov 2011, 1:37 AM
Hi ,
I am new to sencha touch charts . I want to display a chart in the panel
{
xtype: 'panel',
id: 'panel2',
title: '<font size=2>Graph</size>',
bodyStyle: "padding: 8px; background-color: white;",
height: 200,
width : 200,
disabled: false
}
I have three values which will be coming from three variables dynamically and i want to display a pie chart inside the panel based on those three values. But I am not sure about how to do this.Please help .Thanks in advance .

mitchellsimoens
3 Nov 2011, 5:48 AM
Charts aren't fully baked to work with ST2 but have you tried to follow this example (using ST 1.1.1)?

http://dev.sencha.com/deploy/touch-charts-1.0.0/examples/Pie/

hallikpapa
4 Nov 2011, 1:02 PM
@mitchellsimoens,

Is there a roadmap for integrating touch charts with ST2?

mitchellsimoens
4 Nov 2011, 1:20 PM
@mitchellsimoens,

Is there a roadmap for integrating touch charts with ST2?

Nothing pubic >:) It will happen tho... the charts are too awesome not to have them

praveen.pandey
6 Nov 2011, 10:28 PM
:-/:-/
Hi ,
I tried these examples ... but I am not getting to form chart on the basis of data i am receving .
I am getting the following values
"totalNoOfAlerts":11,"totalNoOfNotifications":0,"noOfActionsInPending":0

In my response ... after calling the service . I need to generate the chart on basis of these values and display in my panel ... I am using sencha touch 1.1
Thanks & Regards ,
Praveen Pandey

Jamie Avins
14 Nov 2011, 11:10 AM
Touch Charts are being updated and will be ready at or near the release of Touch 2.