Jump to content
Software FX Community

Zooming from one date to another date on X-Axis ?


User (Legacy)
 Share

Recommended Posts

I included two DateTimePickers on my Delphi Form. These return the date as 

DateTime Values (Julian).

ChartFX works directly with this DateTime formatting when populating the

X-Axis points.

X-Axis is set to DateTime and the X-Axis shows the Date and Time fine when

running the program.

Now I want to zoom into the X-Axis from one Date till another Date.

I get these Date values with the two DateTimePickers.

This is how I pass it to the Chart but unfortunately this code doesn't do

anything.

ChartFX1.Axis[AXIS_X].SetScrollView(DateTimePickerFrom.DateTime,

DateTimePickerTo.DateTime);

Does anyone knows what I am doing wrong here?

Thanks.

M.Wasbauer

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