extjs-gpl
Version:
GPL licensed version of Sencha Ext JS
18 lines (15 loc) • 549 B
JavaScript
Ext.define('KitchenSink.view.charts.line.SplineController', {
extend: 'Ext.app.ViewController',
alias: 'controller.line-spline',
onAxisLabelRender: function(axis, label, layoutContext) {
return Ext.util.Format.number(label, '0.00');
},
onPreview: function () {
if (Ext.isIE8) {
Ext.Msg.alert('Unsupported Operation', 'This operation requires a newer version of Internet Explorer.');
return;
}
var chart = this.lookupReference('chart');
chart.preview();
}
});