-
27 Feb 2011 12:49 AM #1
[FIXED] Chart - Line - Numeric Axes - problem
[FIXED] Chart - Line - Numeric Axes - problem
With ext-4.0-pr2 no dots and lines are plotted for
Code:Ext.require('Ext.chart.*'); Ext.require(['Ext.Window', 'Ext.fx.target.Sprite', 'Ext.layout.container.Fit']); Ext.onReady(function () { Ext.regModel('Plot', { fields: [ {name: 'x', type: 'float'}, {name: 'y', type: 'float'} ] }); var store = new Ext.data.Store({ model: 'Plot', data : [ {x:10.1, y:6.0}, {x:11.4, y:2.0}, {x:11.6, y:4.0}, {x:12.0, y:2.0}, {x:29.8, y:0.0} ] }); var win = Ext.create('Ext.Window', { width: 1600, height: 1000, hidden: false, maximizable: true, renderTo: Ext.getBody(), layout: 'fit', items: { xtype: 'chart', store: store, axes: [{ type: 'Numeric', position: 'left', minorUnit: 0.1, fields: [ 'y'] }, { type: 'Numeric', position: 'bottom', fields: ['x'] }], series: [{ type: 'line', axis: 'left', xField: 'x', yField: 'y' } ] } }); });
When changing the data to
dots and lines are plotted.Code:data : [ {x:0.1, y:6.0}, {x:1.4, y:2.0}, {x:1.6, y:4.0}, {x:2.0, y:2.0}, {x:9.8, y:0.0} ]
Any hints?
-
28 Feb 2011 8:10 AM #2Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,659
- Vote Rating
- 14
We're checking into this.
-
7 Mar 2011 2:17 PM #3
Hi,
Thanks for the info. I just checked with Chrome and Firefox both data sets and everything seems to be working fine. Could you provide more information about on which OS / Browser you're running the example (and if your problem persists)?
Thanks,
-
16 Mar 2011 12:57 AM #4
problems with Numeric X-axis
problems with Numeric X-axis
I'm having a similar problem with Numeric X-Axis. I tried the example above and also found that the chart shows not line data on Chrome and Firefox. And similarly, If i used the alternate data set, it works.
I've also tried using a 'int' data type for x-axis and removed the decimals from the data set and I get strange results.
-
16 Mar 2011 1:26 AM #5
problem solved
problem solved
I updated from pr2 to pr4 and all good now.
cheers
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[FIXED] Line chart: tips do not toggle with series
By keltnerj in forum Ext:BugsReplies: 2Last Post: 3 Mar 2011, 5:55 PM -
[OPEN] [CLOSED]Chart Numeric Axes label customization
By margozzi in forum Ext:BugsReplies: 2Last Post: 24 Feb 2011, 11:02 AM -
Chart with 2 axes
By newbie20110112 in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 12 Jan 2011, 1:58 PM -
Chart object with 2 Y-axes on different scales
By jtpacheco in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 7 Jul 2010, 7:41 AM -
Setting the Line Chart Numeric Axis Range
By GoneIn20Seconds in forum Ext 3.x: Help & DiscussionReplies: 4Last Post: 2 Apr 2010, 8:13 AM


Reply With Quote