Jump to content
Software FX Community

looking for info on COD_* constants


User (Legacy)
 Share

Recommended Posts

I have searched both the programmer guid help file as well as the 

general help file, and I can't seem to find any information on the

COD_* constants used for the OpenDataEx and CloseData examples.

for example, I was trying to find the order of the last two parameters,

using # of points, and # of series. The only way I could find out

any information as to what to pass for those two parameters, was in (one

of ) the example files.

I searched for constants, cod_, and other relatively obvious search

parameters, and I kept getting back to the OpenDataEx method, which has

an example there, but not using the other constants. I also found in

the ChartFX.h file this list:

// OpenData and CloseData Actions

COD_ALLOCHIDDEN = 0x8000,

COD_SCROLLLEGEND = 0x4000,

COD_NOINVALIDATE = 0x2000,

COD_SMOOTH = 0x1000,

COD_REMOVE = 0x0800,

COD_ADDPOINTS = 0x0400,

COD_INSERTPOINTS = 0x0040,

COD_REALTIMESCROLL = 0x0300, // INCLUDES COD_REALTIME

COD_REALTIME = 0x0100,

COD_RESETMINMAX = 0x0080,

//Number of series/points

COD_UNKNOWN = -1,

COD_UNCHANGE = 0,

of which I'm curious as to what they do, as one or more of these may

help me make a choice in how to operate on the data, etc etc

thanks!

michael

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