Time as x-axis produces wrong labels

Welcome to our Forums Product Development Bug reports Time as x-axis produces wrong labels

Viewing 10 posts - 1 through 10 (of 11 total)
  • Author
    Posts
  • #5651
    kourosh kalayeh
    Participant

      Hi,

      I am trying to produce graphs where x-axis is time.  I  want to have a padding on my x-axis so the x-axis does not start from zero.  To do so, I include a small negative number (like -0.02) in my x-axis.  But doing so messes up my x-labels, it adds a weird 6 to all the labels (see the screenshots).  I was wondering if this is a bug or I am missing something.

      Thanks,
      Kourosh

      Graph without including negative number in x-axis;

      wo_including_negative_number

       

      Graph after including -0.02 in the x-axis;

      w_including_negative_number

      #5653
      dgteam
      Moderator

        Hi Kourosh,

        Thanks for submitting. This is strange behavior for the time axis. We were able to replicate this behavior using the Fixed day format.  Still looking at what is happening and working on a solution.

         

        #5654
        kourosh kalayeh
        Participant

          Great, thank you.

          Kourosh

          #5679
          dgteam
          Moderator

            Just wanted to let you this will be fixed in our next beta.  Should be out tomorrow.

            #5681
            kourosh kalayeh
            Participant

              Perfect, thanks.

              Kourosh

              #5690
              kourosh kalayeh
              Participant

                Hi,

                So I downloaded the beta today but the issue is still there.  Is it implemented yet?

                The reason that I am trying to add negative number to my x-axis is to have padding on left side of the x-axis (see this post).  It would be nice to have this padding option explicitly so we can use it in a more straight forward manner without the need to change the x-axis.

                Thanks
                Kourosh

                #5693
                david
                Moderator

                  Just uploaded a new beta

                  #5695
                  kourosh kalayeh
                  Participant

                    Hi,

                    Thanks for the quick response. I installed the new beta but the issue is still there (see the screenshot).  I think what is happening is that my x-axis is delta t not absolute time of the day and when I include negative number into my x-axis it treats 0 as 12.  That is why I think having the ability to control padding around 0 explicitly would be the most straight forward solution.

                    Thanks,
                    Kourosh

                    Screen Shot 2021-01-15 at 9.29.49 AM

                    #5760
                    kourosh kalayeh
                    Participant

                      Hi,

                      I was wondering if you have any update on this.

                      Thanks,
                      Kourosh

                      #5786
                      dgteam
                      Moderator

                        In the next beta (which should be loaded later today), try setting the padding to 5% or 10%. It should add padding to both sides when using a date/time axis.  This will work without having to add any negative number to the include box.

                        PaddingDates

                        Since the date has the underlying number representation, the zero point in the number line of Jan 1 1970, was triggering rules that really don’t make sense for dates.

                         

                      Viewing 10 posts - 1 through 10 (of 11 total)
                      • You must be logged in to reply to this topic.

                      Welcome to our Forums Product Development Bug reports Time as x-axis produces wrong labels