Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Mini zoom chart does not display data

    Hi,
    I'm using SmartGWTPro 4.0p-20140221.

    I noticed that when I plot time series data with negative values on y axis, the mini chart displayed at the bottom does not display the time series lines. It works fine with the data has positive values on y axis.

    Is there anything I have to do to get the time series lines displayed in mini zoom chart?

    Thanks.

    #2
    Could you clarify what you mean by "time series lines"?

    Comment


      #3
      What I meat by "time series lines" is the lines that are displayed for each series on a chart. The mini chart also shows lines for each series. I noticed when Y axis has negative values the mini chart does not display series lines. It is blank.

      For time series line chart, do I have to provide data sorted in chronological order?

      Please see attached screenshot.
      Thanks.
      Attached Files
      Last edited by kirkpa; 5 Mar 2014, 11:26. Reason: Attaching screen shot

      Comment


        #4
        We don't have a test case from you, but one possible cause for not seeing the lines is that you might have set logScale for this chart but then included both positive and negative values (which can't work with log scaling).

        In this case, the main chart would render successfully if the zoomed area happened to not contain a mix of positive and negative values, but the mini chart would not.

        We've fixed that issue so your setting will be ignored by both areas of the chart - you can get this in tomorrow's build.

        If that doesn't correct the problem, we'll need a test case we can run.

        Comment


          #5
          Oh, and on your other question - yes you do need to provide data in chronological order when using labelCollapseMode "numeric" or "time".

          Comment


            #6
            Thanks for the response.
            Is the fix done in 4.0 branch or 4.1? We're using 4.0 version and we don't plan to upgrade to 4.1 anytime soon.

            I verified that I'm not calling method to set logScale on the chart. From the API doc by default logScale is off.

            Comment


              #7
              The fix was applied to all affected branches.

              If this doesn't fix your issue, we will need a test case that reproduces it.

              You should plan a migration to 4.1 as soon as possible. Since 4.1 is not a paid upgrade, 4.0 will soon stop receiving fixes other than security patches.

              Comment


                #8
                Hi,
                After taking the new build the problem of time series lines not displayed in mini zoom chart for negative Y axis values was still there. I tried setting setLogScale(false) in mini zoom chart properties and that did the trick.

                The documentation says log scale is OFF by default, but looks like it is not for mini zoom chart.

                Thanks,
                Kiran

                Comment


                  #9
                  OK, as we mentioned previously, at this point we will need a test case that reproduces the issue.

                  Comment

                  Working...
                  X