Jump to content

Trends with autoscaling


Recommended Posts

Hi!,

I try make some progres with following problem. I need to display 2 curves on one trend window (Visilogic, Vision 1210) and I want to rescale y axis once for a while to fit data inside

For example: I have two curves, both can change form 0 to 1200, operator need to see both curves but on y axis he need to see only 200 points (from 0 to 200, then from 100 to 300 etc.)

I created some logic to find present max and min value from both data and use it as an input integer (M|) for trend ymin and ymax.

The problem is: after trends refresh and resize y axis, first curve displays correct but second act like crazy. Goes up or down. It behave like it works on history axis.

Im asking for help, maybe someone resolve this problem before.

Link to comment
Share on other sites

  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...