Skip to content

Instantly share code, notes, and snippets.

@philogb
Created October 6, 2011 00:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save philogb/1266196 to your computer and use it in GitHub Desktop.
Save philogb/1266196 to your computer and use it in GitHub Desktop.
new Ext.chart.Spark({
store: store1,
renderTo: 'glucose-chart',
series: [{
type: 'line',
xField: 'name',
yField: 'glucose',
fill: true,
style: {
fill: '#777'
}
}]
});
new Ext.chart.Spark({
store: store1,
renderTo: 'respiration-chart',
series: [{
type: 'line',
xField: 'name',
yField: 'respiration',
style: {
fill: '#777'
}
}]
});
new Ext.chart.Spark({
store: store1,
renderTo: 'temperature-chart',
series: [{
type: 'column',
xField: 'name',
yField: 'temperature'
}]
});
new Ext.chart.Spark({
store: store1,
renderTo: 'WBC-chart',
series: [{
type: 'area',
xField: 'name',
yField: 'WBC'
}]
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment