-
24 Dec 2012 4:44 AM #1
[4.2b] Chart Axis length and width doesn't work
[4.2b] Chart Axis length and width doesn't work
REQUIRED INFORMATION
Ext version tested:- Ext 4.2 beta
- Chrome
- IE9
- <!DOCTYPE html>
- The length and width settings of the Chart Axis appears to be not working.
- Just run the sample
- Any effect of the length and width settings
- I can't see any difference with those settings and without
- Actually, I am trying to shift "Monday" to the right. Not 100% sure what exactly I should use - length or width.
Code:<!DOCTYPE html> <html> <head> <title>Chart axis length and width</title> <link rel="stylesheet" href="../resources/css/ext-all.css" /> <script src="../ext-all-debug.js"></script> <script> Ext.onReady(function () { Ext.create(Ext.chart.Chart, { renderTo: Ext.getBody(), height: 400, width: 400, axes: [{ type: "Category", position: "bottom", title: "Day", fields: ["day"], length: 100, width: 100 }, { type: "Numeric", position: "left", title: "Y", fields: ["y"] }], series: [{ type: "line", title: "Chart", xField: "day", yField: "y" }], store: { fields: [{ name: "day" }, { name: "y" }], data: [{ day: "Monday", y: 0 }, { day: "Tuesday", y: 50 }] } }); }); </script> </head> <body> </body> </html>
-
26 Dec 2012 8:21 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,121
- Vote Rating
- 453
Thanks for the report! I have opened a bug in our bug tracker.
You found a bug! We've classified it as
EXTJSIV-8113
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.


Reply With Quote