araujoadanr Posted November 21, 2023 Share Posted November 21, 2023 Anyone know, please helpme is a Gauge. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 22, 2023 Share Posted November 22, 2023 Hello, I'll try to check. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 22, 2023 Share Posted November 22, 2023 16 hours ago, adan200 said: Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 22, 2023 Share Posted November 22, 2023 function chart.beforeInit(sender, config) { config.axes = { type: 'numeric', position: 'gauge', majorTickSteps: 5, renderer: function(axis, label, layoutContext) { return Ext.util.Format.number(label, "#") } } } Quote Link to comment Share on other sites More sharing options...
araujoadanr Posted November 26, 2023 Author Share Posted November 26, 2023 thank you very much.. You are a genius. Quote Link to comment Share on other sites More sharing options...
Tokay Posted November 28, 2023 Share Posted November 28, 2023 On 11/22/2023 at 2:47 PM, Sherzod said: function chart.beforeInit(sender, config) { config.axes = { type: 'numeric', position: 'gauge', majorTickSteps: 5, renderer: function(axis, label, layoutContext) { return Ext.util.Format.number(label, "#") } } } It's strange, but I have different events. What's wrong? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 28, 2023 Share Posted November 28, 2023 ClientEvents.ExtEvents You need ClientEvents.UniEvents. 1 Quote Link to comment Share on other sites More sharing options...
Tokay Posted November 29, 2023 Share Posted November 29, 2023 BTW in our case better solution is config.axes.renderer = function(axis, label, layoutContext) { return Ext.util.Format.number(label, "#") } Quote Link to comment Share on other sites More sharing options...
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.