Muhammad Idris Posted November 27, 2023 Share Posted November 27, 2023 How do I ensure that the last value of the line chart is not cut off? I saw in the demo it was also cut Quote Link to comment Share on other sites More sharing options...
Muhammad Idris Posted November 27, 2023 Author Share Posted November 27, 2023 and I use this for number formats but not for line charts. I've changed this position : line 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...
Sherzod Posted November 28, 2023 Share Posted November 28, 2023 6 hours ago, Muhammad Idris said: Hello, This post may help you: Quote Link to comment Share on other sites More sharing options...
Muhammad Idris Posted November 29, 2023 Author Share Posted November 29, 2023 On 11/28/2023 at 7:45 AM, Sherzod said: Hello, This post may help you: thankyou Sherzod, and I use this for number formats but not for line charts. I've changed this position : line 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...
Muhammad Idris Posted November 29, 2023 Author Share Posted November 29, 2023 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 29, 2023 Share Posted November 29, 2023 So, what is your case, issue, maybe I misunderstood? Make a simple testcase if possible, I will try to check. Quote Link to comment Share on other sites More sharing options...
Muhammad Idris Posted December 1, 2023 Author Share Posted December 1, 2023 On 11/29/2023 at 4:51 PM, Sherzod said: So, what is your case, issue, maybe I misunderstood? Make a simple testcase if possible, I will try to check. ChartDemo.zip Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 1, 2023 Share Posted December 1, 2023 Once again, 12 minutes ago, Muhammad Idris said: On 11/29/2023 at 2:51 PM, Sherzod said: maybe I misunderstood What should I pay attention to, what needs to be done? Quote Link to comment Share on other sites More sharing options...
Muhammad Idris Posted December 1, 2023 Author Share Posted December 1, 2023 19 minutes ago, Sherzod said: Once again, What should I pay attention to, what needs to be done? 400,0 becomes 400 200,0 becomes 200 0,0 becomes 0 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.