Jump to content
Software FX Community

Offset and gain


templar

Recommended Posts

I'm currently evaluating Chart FX 7 for windows forms.

I'm trying to plot multiple DISCRETE series on one pane. The problem is that if I plot them all on the same pane then they will all overlap and it is impossible to see anything, because all of the discrete series consist of 0's and 1's. What I would like to do is plot each STEP series one above the other. This means for each series I would like to be able to set the OFFSET and a GAIN. 

 I tried the "Stacked" property but that does not really work.

 

for example:

Y-Series 1:  0, 0, 1, 1, 0, 1, 0, 0, 1, 0

Y-Series 2:  1, 1, 0, 0,1, 0, 1, 0, 1, 1

 Y-Series 3: 0, 1, 0, 0, 0, 0, 1, 0, 1, 0

 

I would like to plot each one above the other. I was looking for a gain and offset value that I could set so that

Yscaled = (Yactual * Gain) + Offset

 

I can make it work if I scale each value myself, but then the mouseover tooltip will no longer show the original value (0 or 1) but it then shows the scaled value. I need something that is built into the chart engine so that it can scale according to the offset and gain, but still display the correct tooltip value.

 

Thanks,

 

Oliver

Link to comment
Share on other sites

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...