-
6 Jul 2012 6:48 AM #1
Unanswered: How to add margins to line chart
Unanswered: How to add margins to line chart
To anyone trying to add a left and right margin in a line chart in order to see the first and last dots (markers) entirely..
Go see http://dev.sencha.com/deploy/touch-c...examples/Line/ where the left pictures are cut!
Add this to your scripts:
Ext.override(Ext.chart.series.Series, {
getGutters: function() {
return [10, 10];
}
});
This code override the function that is used to calculate the chart gutters.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote