Jump to content
Software FX Community

Scale problem + series


User (Legacy)
 Share

Recommended Posts

Hi everyone,

I have some problem to adjust X and Y scale of my graph. If I have data only

on X from 30 to 44, the graph doesn't display from 30 to 44 but from 0 to 50

for example even if I use the ReCalcScale() method. Does anyone have this

problem too and know how to solve it ? (I'm using the dll with Visual C++

6.0)

Another question, is there a way to plot a graph dynamically without knowing

the number of series to plot ? I explain myself, I read a custom file and

store it in a matrix then plot rows of the matrix but the matrix size

depends on the file. I use OpenDataEx() method but I don't see any option

like COD_UNKNOWN for the series.

Last question, where and how can I intercept internal commands to override

the file->open and file->save method of CHARTFX toolbar ?

Thank for your response,

Ren

Link to comment
Share on other sites

The default for all axis is ForceZero = True, which forces the Min to be

Zero even if your values are all greater than zero. This is done because the

majority of charts are this way.

To eliminate this behavior you can simply do:

ChartFX1.Axis(AXIS_X).ForceZero = False

The 44 becoming 50 is the result of a rounding to produce "nice" numbers,

after doing the line above, this rounding will no longer occur.

--

FP

Software FX, Inc.

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