Lena Posted September 15, 2015 Posted September 15, 2015 Hi.My question is in the picture. Is it possible?Thank you. 1 Quote
Sherzod Posted September 17, 2015 Posted September 17, 2015 Hi, There is one solution, but for some reason, sometimes not working properly, try ...: UniChart1 -> ClientEvents -> ExtEvents [Ext.chart.Chart] function chart.beforerender function chart.beforerender(sender, eOpts) { sender.series.items.forEach(function(item){ item.tips = { trackMouse: true, //width: 580, //height: 170, renderer: function(storeItem, item) { this.setTitle("" + storeItem.get('LL')); } } }) } source: http://dev.sencha.com/deploy/ext-4.0.1/examples/charts/TipsChart.html Best regards. Quote
Lena Posted September 30, 2015 Author Posted September 30, 2015 Hi. If chart empty: In the new version 1206 when I hover the mouse on the origin I see an empty value. Is it possible removed? Thanks. Quote
Sherzod Posted September 30, 2015 Posted September 30, 2015 Hi, Try: function chart.beforerender(sender, eOpts) { sender.series.items.forEach(function(item){ item.tips = { trackMouse: true, //width: 580, //height: 170, renderer: function(storeItem, item) { this.setTitle("" + storeItem.get('LL')); this.update; return; }, listeners: { beforeshow: { fn: function (tip) { return tip.layout.owner.title != ""; } } } } }) } Best regards. Quote
Lena Posted September 30, 2015 Author Posted September 30, 2015 It works perfectly. Thank you very much! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.