Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Chart doesn't zoom in/out when dragging vertical (y) axis

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Chart doesn't zoom in/out when dragging vertical (y) axis

    I don't know but already about one month, that after applying strategies on chart, i cant resize the Y axis:


    it shows "F" button when I try to shrink the Y axis, but actually the chart doesnt zoom(shrink) in/out .
    Are there some generic reasons/solution related to this problem?

    #2
    Hello ttodua,

    There is nothing generic I could think of, from the video nothing sticks out as what would be the cause of that.

    Do you see any errors in the log or trace files from the time since you noticed it stopped working?

    The only observation I could make from the given details is that something applied to the chart or platform could have potentially affected the chart adversely causing it to fail or stop working in some way.

    There are also ways to programatically control the scale, if you have items which control the scale that may be related.



    I look forward to being of further assistance.



    Comment


      #3
      fwiw, I encountered this issue myself in the latest NT 8; somehow it appears that it occurs due to bad OnCalculateMinMax from an indicator. The workspace save file contains NaN for these ScaleMax values and even removing all the indicators from the chart does not fix this. Editing the xml, did however result in the chart being vertically scalable again.

      Code:
      BROKEN.xml: <FixedScaleMaxSerialize>NaN</FixedScaleMaxSerialize>
      BROKEN.xml: <FixedScaleMinSerialize>NaN</FixedScaleMinSerialize>

      What is strange, however is crafting a broken indicator to set MinValue or MaxValue to Double.NaN results in a console error

      Code:
       Error on calling 'CalculateMinMax' method on bar 119: The calculation results in unrenderable values.
      So it is not clear to me under what conditions this occurs.

      Additionally, if the indicator returns Double.MinValue / MaxValue by accident, this causes the chart to go "out to lunch" presumably trying to allocate a huge drawing buffer or something.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, Today, 05:17 AM
      0 responses
      20 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      119 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      63 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      41 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      45 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X