Jump to content
Software FX Community

Problems in handling a floating point number.


User (Legacy)
 Share

Recommended Posts

Hi, 

There seems to be problems in handling a floating point number.

This code make ChartFX freeze.

Private Sub Form_Load()

ChartFX1.Gallery = LINES

ChartFX1.Axis(AXIS_Y).AutoScale = True

ChartFX1.Axis(AXIS_Y).ForceZero = False

ChartFX1.OpenDataEx COD_VALUES, 2, 1

ChartFX1.Series(0).YAxis = AXIS_Y

ChartFX1.Series(1).YAxis = AXIS_Y

ChartFX1.Series(0).Yvalue(0) = 1E+16

ChartFX1.Series(1).Yvalue(0) = 1E+16 + 10

ChartFX1.CloseData COD_VALUES

ChartFX1.RecalcScale

End Sub

I'm using cfx4032.ocx (Ver. 5.0.14.5), AnnotateX.dll (Ver. 1.0.32.1) and

sfxbar.dll (Ver. 1.0.23.0) on WindowsXP-SP2

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.

 Share

×
×
  • Create New...