How to change the interval between tick lables in an axis in plot lines? #524
                  
                    
                      GaganKaranth
                    
                  
                
                  started this conversation in
                General
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
While checking in the demo plot provided by default, in realtime plot the interval between each tick label in X-axis was 1 second

And in my code I get the interval is for every 50 seconds

This is the abstract code
And this is the metricformatter to label X-axis
As you can see in the above function I want to convert the values at every 60 seconds to minutes and display it, but the "value" I get in the formatter function is in multiples of 50, I checked it buy printing out the values inside function.
I don't even know why I'm getting the values in multiple of 50s, is it possible to get in multiples of 60s or all values if it matters?
So that the tick label would be like 1 min, 2min ..... and so on
Beta Was this translation helpful? Give feedback.
All reactions