extjs-chart

Stock chart in ExtJS 4

荒凉一梦 提交于 2019-12-19 09:24:51
问题 How can I draw an stock chart or a line chart with hundreds points? I disabled animation in regular line chart, but not successful and still too heavy and slow. 回答1: I've recently written a blog post on creating stock charts in Ext JS 4 - http://www.scottlogic.co.uk/2011/12/ext-js-4-stock-charts/. It uses a couple of hundred points and performs fine in modern browsers and isn't too bad in IE7-8. This said however, even after messing with the Ext JS build system, the minimum Ext build required

How to use HTML tags in a Chart Legend?

寵の児 提交于 2019-12-12 01:04:02
问题 How can use HTML tags in a chart legend while using title to apply custom legend text? If we apply something like this title:['Your<b>New</b><br />Label'] the tags are just written as plain text. Ext.application({ name: 'Fiddle', launch: function () { var store = Ext.create('Ext.data.JsonStore', { fields: ['name', 'data', 'data2'], data: [{ 'name': 'metric one', 'data': 10, 'data2': 2 }, { 'name': 'metric two', 'data': 27, 'data2': 5 }] }); Ext.create('Ext.chart.Chart', { renderTo: Ext